Skip to content

切换主题后hover 颜色设置未跟随主题色调整 #64

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

Closed
luyaozi opened this issue Jul 10, 2024 · 7 comments
Closed

切换主题后hover 颜色设置未跟随主题色调整 #64

luyaozi opened this issue Jul 10, 2024 · 7 comments
Assignees
Labels
question Further information is requested

Comments

@luyaozi
Copy link

luyaozi commented Jul 10, 2024

image

设置主题色显示正常

image
hover后颜色还是原来的

想知道下 类似于 --el-color-primary-light-3 这种在那个文件中配置 或者说 识别的key 是什么 ?

我在setting.vue中设置并没有起效果
setCssVar('--el-color-primary-light-3', hexToRGB(unref(color), 0.3));

@luyaozi
Copy link
Author

luyaozi commented Jul 10, 2024

我看到演示系统中也有这个问题
image

@luyaozi
Copy link
Author

luyaozi commented Jul 10, 2024

用自己的方法解决了这个问题
7c4373d5f1c28d84e44d0087aa906e9a91a4c9d18a19ab05b6daadbf0db9f36eQzpcVXNlcnNcQWRtaW5cQXBwRGF0YVxSb2FtaW5nXERpbmdUYWxrXDUxMjMyMjQ2OF92MlxJbWFnZUZpbGVzXDE3MjA1OTc2NzI4MDZfNTQwQ0UxNDItQjM0Ny00MWRkLTlFNDgtRDRBRjFFQTM2NThBLnBuZw==

还是期待大佬提供一下正确的配置方法

@YunaiV
Copy link
Contributor

YunaiV commented Jul 28, 2024

我测试了下,hover 会变哈。
image

@YunaiV YunaiV self-assigned this Jul 28, 2024
@YunaiV YunaiV added the question Further information is requested label Jul 28, 2024
@YunaiV YunaiV closed this as completed Jul 28, 2024
@hqzh
Copy link
Contributor

hqzh commented May 1, 2025

我测试了下,hover 会变哈。 image

幽灵按钮可以生效,但是变变的不会生效 @YunaiV

@hqzh
Copy link
Contributor

hqzh commented May 1, 2025

@YunaiV 我自己处理好了,需要提个pr吗?

@YunaiV
Copy link
Contributor

YunaiV commented May 5, 2025

可以的呀,欢迎!!!

@YunaiV YunaiV reopened this May 5, 2025
@YunaiV YunaiV assigned hqzh and unassigned YunaiV May 5, 2025
@hqzh
Copy link
Contributor

hqzh commented May 8, 2025

可以的呀,欢迎!!!

1613370
@YunaiV

@YunaiV YunaiV closed this as completed in 1613370 May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants