mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 06:25:13 +08:00
Update argon.patch
This commit is contained in:
1 parent
db6c3b9725
commit
7df672b2b9
1 file changed
-12
@@ -27,18 +27,6 @@
|
||||
|
||||
o = s.option(form.ListValue, 'mode', _('Theme mode'));
|
||||
|
||||
--- a/luci-theme-argon/ucode/template/themes/argon/header_login.ut
|
||||
+++ b/luci-theme-argon/ucode/template/themes/argon/header_login.ut
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
-%}
|
||||
<!DOCTYPE html>
|
||||
-<html lang="{{ dispatcher.lang }}">
|
||||
+<html lang="{{ dispatcher.lang }}"{% 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 }) %}
|
||||
|
||||
--- a/luci-theme-argon/ucode/template/themes/argon/header.ut
|
||||
+++ b/luci-theme-argon/ucode/template/themes/argon/header.ut
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
Reference in new issue
Block a user