Update argon.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-11-18 04:57:34 +08:00
1 parent 1eaec71448
commit 6c62142eb2
1 file changed
-12
-12
View File
@@ -27,15 +27,3 @@
}
}
}
--- 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): %}