mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-13 20:08:05 +08:00
31 lines
850 B
Diff
31 lines
850 B
Diff
--- a/luci-app-argon-config/root/usr/share/luci/menu.d/luci-app-argon-config.json
|
|
+++ b/luci-app-argon-config/root/usr/share/luci/menu.d/luci-app-argon-config.json
|
|
@@ -8,7 +8,14 @@
|
|
},
|
|
"depends": {
|
|
"acl": [ "luci-app-argon-config" ],
|
|
- "uci": { "argon": true }
|
|
+ "uci": {
|
|
+ "argon": true,
|
|
+ "luci": {
|
|
+ "main": {
|
|
+ "mediaurlbase": "/luci-static/argon"
|
|
+ }
|
|
+ }
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
|
|
--- a/luci-theme-argon/ucode/template/themes/argon/head.ut
|
|
+++ b/luci-theme-argon/ucode/template/themes/argon/head.ut
|
|
@@ -67,7 +67,7 @@
|
|
|
|
-%}
|
|
<!DOCTYPE html>
|
|
-<html lang="{{ dispatcher.lang }}" data-argon-mode="{{ mode }}">
|
|
+<html lang="{{ dispatcher.lang }}" data-argon-mode="{{ mode }}" {% if (mode == 'dark'): %} data-darkmode="true"{% elif (mode == 'light'): %} data-darkmode="false"{% endif %}>
|
|
|
|
<head>
|
|
{% if (!is_login): %}
|