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

Scale ruby, iris and jade missing #15

Closed silveltman closed 1 year ago

silveltman commented 1 year ago

Don't know if it's just the types, or the package, but I get the following error:

Type '"jade"' is not assignable to type '"gray" | "mauve" | "slate" | "sage" | "olive" | "sand" | "tomato" | "red" | "crimson" | "pink" | "plum" | "purple" | "violet" | "indigo" | "blue" | "cyan" | "teal" | "green" | "grass" | ... 8 more ... | "sky"'

Get the same error for ruby and iris

endigma commented 1 year ago

Are these new colors? The list is hardcoded here so if radix updates it has to be updated as well. I'll get to this at some point and would accept a PR if you want it faster.

silveltman commented 1 year ago

Looking at the commits in the radix colors repo (https://github.com/radix-ui/colors) they seem to have been added about a month ago.

endigma commented 1 year ago

Fixed in #16, not released yet.