-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Add support for CSS color-mix() in theme palette #40104
Copy link
Copy link
Closed
Labels
customization: cssDesign CSS customizability.Design CSS customizability.customization: themeHigher level theming customizability.Higher level theming customizability.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.
Metadata
Metadata
Assignees
Labels
customization: cssDesign CSS customizability.Design CSS customizability.customization: themeHigher level theming customizability.Higher level theming customizability.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.
Summary 💡
I wanted to use CSS's
color-mixfunction for my theme palette colors to simplify the process of creating all of the main/light/dark variants. However, it appears that thedecomposeColorfunction doesn't yet support this.Examples 🌈
Motivation 🔦
Allowing us to use the native
color-mixCSS function simplifies the creation of new themes.