Open jd-solanki opened 5 months ago
CSS's color-mix is now supported by all browsers
Ah, but it still doesn't meet our minimum support criteria -
Chrome >=88
Edge >=88
Safari >=14
Firefox >=78
Opera >=74
In future maybe we can consider switching to those, but for now it's a no go as it cannot be down compiled and will make site unusable for ~10% people in the world.
Is your feature request related to a problem? Please describe.
Hi 👋🏻
While customizing the theme, We have to update lots of CSS var only for changing branch color these roughly includes:
Describe the solution you'd like
CSS's color-mix is now supported by all browsers. Using
color-mix
function will ease the theme customization via single CSS var change instead of changing multiple CSS vars. Even you can go further and useoklch
orhsl
for colors.Describe alternatives you've considered
Overriding all the colors my self 😞
Additional context
https://www.youtube.com/watch?v=6aCsAMgwnjE
Validations