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

几处小的显示bug。 #537

Open
Fddh2012 opened this issue Dec 10, 2024 · 8 comments
Open

几处小的显示bug。 #537

Fddh2012 opened this issue Dec 10, 2024 · 8 comments

Comments

@Fddh2012
Copy link

固件版本:
ImmortalWrt 23.05.4 r28061-399f9a1db3 / LuCI openwrt-23.05 branch git-24.314.43925-4431ab0
主题:
ArgonTheme v2.3.1
设置插件:
luci-app-argon-config

bug1:
系统为暗色时,手动设置亮色模式,登录界面正确切换,主界面仍然为暗色。
系统为亮色时,一切正常,可手动切换。

bug2:
亮色主题时,设置插件保存设置时出现的进度弹窗,仍然为luci-theme-material的主题色[#5397c9]

@jerrykuku
Copy link
Owner

bug1:
已经修复。

bug2:
我在源码中未搜到这个颜色。

@Fddh2012
Copy link
Author

bug1: 已经修复。

bug2: 我在源码中未搜到这个颜色。

image

@sbwml
Copy link

sbwml commented Dec 23, 2024

亮色主题时,设置插件保存设置时出现的进度弹窗,仍然为luci-theme-material的主题色[#5397c9]

其实你希望它变成主色调还是说让它变成特定的一种颜色?

image

@sbwml
Copy link

sbwml commented Dec 23, 2024

如果你是想让它跟随主色调,那么你只需要增加一个背景色:

--- a/less/cascade.less
+++ b/less/cascade.less
@@ -979,6 +979,7 @@ div[style="width:100%;height:300px;border:1px solid #000;background:#fff"] {
 
 .notice {
   background-color: #11cdef !important;
+  background-color: var(--primary) !important;
   color: #fff;
 }

如果你是想设定成特定的颜色,则把 var(--primary) 改成你希望的颜色,如 道奇蓝#1E90FF

@Fddh2012
Copy link
Author

如果你是想让它跟随主色调,那么你只需要增加一个背景色:

--- a/less/cascade.less
+++ b/less/cascade.less
@@ -979,6 +979,7 @@ div[style="width:100%;height:300px;border:1px solid #000;background:#fff"] {
 
 .notice {
   background-color: #11cdef !important;
+  background-color: var(--primary) !important;
   color: #fff;
 }

如果你是想设定成特定的颜色,则把 var(--primary) 改成你希望的颜色,如 道奇蓝#1E90FF

应该是跟随主题吧?

@sbwml
Copy link

sbwml commented Dec 23, 2024

应该是跟随主题吧?

那就直接按照我上面的 diff 去改就能实现你要的效果。

@Fddh2012
Copy link
Author

应该是跟随主题吧?

那就直接按照我上面的 diff 去改就能实现你要的效果。

但是我不是自编译的啊,,,也的确不知道应该去修改什么地方。

@sbwml
Copy link

sbwml commented Dec 24, 2024 via email

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

3 participants