mirror of
https://github.com/wekan/wekan.git
synced 2026-11-08 03:22:32 -05:00
WeKan buttons hardcoded their colors, so a Member Settings → Change color theme override never reached most of them (customTheme.css only themed `button[type=submit].primary`, not plain `button.primary`, and the global button base was solid black). Now the global button base and the primary buttons in client/components/forms/forms.css use `var(--theme-accent, <original>)`, and the admin action buttons (settingBody.css) and People-panel buttons (peopleBody.css, incl. ext-box / add-remove-team / unlock-all) do the same. The fallback keeps the default look identical, but once the user picks a theme accent, the buttons across the app follow it. Guarded in tests/buttonThemeColors.test.cjs. Thanks to xet7 !