Closed steakscience closed 1 year ago
However, it looks like if you extend (ie extend = true), radix colors will not work
UnoCSS will try to be too clever and text-gray8
will use the default preset's gray-800 instead of radix's gray8
I don't know of a way to get rid of the conflicting colors, the use case for this was another user who wanted their own theme to be preserved I think. If this is important to you I can look back into modifying the object more surgically.
Personally, I ended up manually adding radix colors into my own theme to avoid this issue.
Not sure either what the best solution is. I can close this issue.
Hi,
The docs say extend defaults to true. In the code, it defaults to false:
https://github.com/endigma/unocss-preset-radix/blob/b9d809f9737883f9c93df364a1f2c87d04dbe873/src/index.ts#L32-L36