Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force Light不生效,永远是Dark模式 #481

Open
Aaronwang81 opened this issue Feb 2, 2024 · 6 comments
Open

Force Light不生效,永远是Dark模式 #481

Aaronwang81 opened this issue Feb 2, 2024 · 6 comments

Comments

@Aaronwang81
Copy link

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
@animusastralis
Copy link

I can confirm - changing settings doesn't change the color scheme from dark to light.

@leepentium
Copy link

I can confirm also - changing settings doesn't change the color scheme from dark to light.

1 similar comment
@hf-lab
Copy link

hf-lab commented Feb 27, 2024

I can confirm also - changing settings doesn't change the color scheme from dark to light.

@Aaronwang81
Copy link
Author

貌似找到原因了,如果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?

@xhcnb
Copy link

xhcnb commented May 10, 2024

/www/luci-static/argon/css/dark.css
备份然后清空这个css文件, 就可以强制浅色了

@EWinner1
Copy link

我有一些测试结果可以参考,
版本 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

  1. 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.
  2. The system theme is bright color, everything is normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants