endigma / unocss-preset-radix

A preset for UnoCSS to let you use Radix color palette
https://endigma.github.io/unocss-preset-radix/
MIT License
32 stars 6 forks source link

Add option to extend the colours instead of replacing them #7

Closed Zheoni closed 1 year ago

Zheoni commented 1 year ago

I want to use the default theme colours alonside with radix colours.

I have tried to extend the theme manually, but those colours are also replaced, so I can't even add a custom ones (or I don't know how to do it).

endigma commented 1 year ago

I do this intentionally, it helps keep colors on-palette in larger projects. I can add a toggle if you think it would be useful.

Zheoni commented 1 year ago

I know it's intentionally, but, for example, many people need a brand colour and the would have no way to add it to their theme.

So yes, I think a toggle would be useful.

endigma commented 1 year ago

Implemented as of d334546.

Zheoni commented 1 year ago

Thank you so much! 😄