mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-05 01:44:16 +08:00
Update argon.patch
This commit is contained in:
1 parent
b4edb648cd
commit
76f10c2a74
1 file changed
+6
-6
@@ -17,14 +17,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
--- a/luci-theme-argon/ucode/template/themes/argon/header.ut
|
||||
+++ b/luci-theme-argon/ucode/template/themes/argon/header.ut
|
||||
@@ -47,7 +47,7 @@
|
||||
--- 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 }}">
|
||||
+<html lang="{{ dispatcher.lang }}"{% if (mode == 'dark'): %} data-darkmode="true"{% elif (mode == 'light'): %} data-darkmode="false"{% endif %}>
|
||||
-<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>
|
||||
{% include("themes/" + theme + "/head_meta", { hostname: hostname, node: node, bar_color: bar_color, media: media }) %}
|
||||
{% if (!is_login): %}
|
||||
Reference in new issue
Block a user