luci-theme-argon
luci-theme-argon copied to clipboard
Force Light不生效,永远是Dark模式
Describe the bug 有两台OP,一台21.02,一台23.05,安装了argon 2.3.1和 argon-config 0.9,在设置中强制改为ForceLight,不生效,永远是Dark,确认配置文件已成功保存,其他配置也是生效的。而且在登录界面是生效的,登录后就无效了。 To Reproduce
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Openwrt (please complete the following information):
- Versiosn: 21.02 23.05
- Theme : argon
- Version 2.3.1
I can confirm - changing settings doesn't change the color scheme from dark to light.
I can confirm also - changing settings doesn't change the color scheme from dark to light.
I can confirm also - changing settings doesn't change the color scheme from dark to light.
貌似找到原因了,如果Mac系统中设置为深色模式,在Argon中,无论怎么设置,都是深色。 但如果在Mac中设置为自动,则Argon中的强制亮色就会生效。 其他设置还未测试,是不是沿用了某些系统配置项? It seems that I have found the reason. If the system is set to dark mode in Mac, Argon will always be in dark mode regardless of the settings. However, if the system is set to automatic in Mac, the forced light mode in Argon will take effect. Other settings have not been tested yet. Does it follow some system configuration items?
/www/luci-static/argon/css/dark.css 备份然后清空这个css文件, 就可以强制浅色了
我有一些测试结果可以参考, 版本 Windows 11 专业版 版本 23H2 操作系统版本 22631.3593 1.系统主题暗色,强制亮色无法实现。切换系统主题至亮色时,argon主题变为亮色。系统主题切换回暗色,主题变为暗色。 2.系统主题亮色,一切正常。
I have some test results to refer to that Version Windows 11 Professional Version 23H2 Operating system version 22631.3593
- The system theme is dark, forcing bright colors is not possible. When switching the system theme to bright colors, the argon theme changes to bright colors. Switching the system theme back to dark, the theme changes to dark.
- The system theme is bright color, everything is normal.