From 322ba40c629efec653342b7e0423fb16db812c4d Mon Sep 17 00:00:00 2001 From: Bard <984419930@qq.com> Date: Mon, 13 Feb 2023 02:51:47 +0800 Subject: [PATCH] Update header.htm --- luci-theme-argon/luasrc/view/themes/argon/header.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-theme-argon/luasrc/view/themes/argon/header.htm b/luci-theme-argon/luasrc/view/themes/argon/header.htm index c59ef28..9da7d0a 100644 --- a/luci-theme-argon/luasrc/view/themes/argon/header.htm +++ b/luci-theme-argon/luasrc/view/themes/argon/header.htm @@ -91,11 +91,11 @@ let prefersDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches; if (prefersDarkMode) { viewport = document.querySelector("meta[name=theme-color]"); - viewport.setAttribute('content', '#1e1e1e'); + viewport.setAttribute('content', '#06070a'); } <% elseif mode == 'dark' then %> - + <% elseif mode == 'light' then %> <% end -%>