Update argon.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-10-09 03:20:50 +08:00
1 parent ee77b0ea87
commit 733c0af0f2
1 file changed
-12
-12
View File
@@ -28,15 +28,3 @@
<head>
{% include("themes/" + theme + "/head_meta", { hostname: hostname, node: node, bar_color: bar_color, media: media }) %}
--- a/luci-theme-argon/ucode/template/themes/noobwrt/header.ut
+++ b/luci-theme-argon/ucode/template/themes/noobwrt/header.ut
@@ -43,7 +43,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>
<meta charset="utf-8">