Logo
Explore Help
Register Sign In
lq/lgp-admin-plus
1
0
Fork 0
You've already forked lgp-admin-plus
Code Issues Pull Requests Actions 4 Packages Projects Releases Wiki Activity
Files
d71c81e8ffcb0a33f3e5eebe77024d3eb80d7767
lgp-admin-plus/.changeset/element-plus-theme-switch.md

6 lines
106 B
Markdown
Raw Normal View History

fix: update primary color when toggling dark/light mode with custom theme (#7909) When a custom theme is selected and the user toggles between dark and light mode, the primary color was not being recalculated. This was caused by a guard condition in the builtin theme watcher that skipped updating themeColorPrimary for custom themes during mode changes. Remove the guard so that the primary color is always recalculated from the theme preset when the mode changes, ensuring Element Plus CSS variables stay in sync. Fixes #6615
2026-05-16 10:42:35 +08:00
---
style: apply vsh lint formatting (#7923)
2026-05-19 13:40:13 +08:00
'@vben/layouts': patch
fix: update primary color when toggling dark/light mode with custom theme (#7909) When a custom theme is selected and the user toggles between dark and light mode, the primary color was not being recalculated. This was caused by a guard condition in the builtin theme watcher that skipped updating themeColorPrimary for custom themes during mode changes. Remove the guard so that the primary color is always recalculated from the theme preset when the mode changes, ensuring Element Plus CSS variables stay in sync. Fixes #6615
2026-05-16 10:42:35 +08:00
---
fix: update primary color when toggling dark/light mode with custom theme
Reference in New Issue Copy Permalink
Powered by Gitea Version: 25.5.0 Page: 41ms Template: 2ms
English
English 简体中文 繁體中文(台灣) 繁體中文(香港)
Licenses API