admin-vben/.changeset
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
..
README.md chore: init project 2024-05-19 21:20:42 +08:00
config.json feat: Feature/pro docs (#70) 2024-07-28 14:29:05 +08:00
element-plus-theme-switch.md fix: update primary color when toggling dark/light mode with custom theme (#7909) 2026-05-16 10:42:35 +08:00
tree-default-value.md fix: preserve tree default value when treeData starts empty (#7908) 2026-05-16 10:41:42 +08:00

README.md

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation