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 |
||
|---|---|---|
| .. | ||
| README.md | ||
| config.json | ||
| element-plus-theme-switch.md | ||
| tree-default-value.md | ||
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