admin-vben/packages/effects/layouts
Akuria f55b18ffd7
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
..
src fix: update primary color when toggling dark/light mode with custom theme (#7909) 2026-05-16 10:42:35 +08:00
package.json chore: release 5.7.0 2026-03-14 09:14:23 +08:00
tsconfig.json feat: Feature/pro docs (#70) 2024-07-28 14:29:05 +08:00