Update argon.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-10-01 15:12:23 +08:00
1 parent db6c3b9725
commit 7df672b2b9
1 file changed
-12
-12
View File
@@ -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 @@