unocss-preset-radix icon indicating copy to clipboard operation
unocss-preset-radix copied to clipboard

black / white as 0 value

Open silveltman opened this issue 1 year ago • 4 comments

I really like the addition of hue-fg. I would also like a 0 (zero) value, which would be the same for all palettes; white is light mode, black in dark mode.

silveltman avatar Jan 09 '24 15:01 silveltman

This is a pretty trivial PR if you want to add it yourself, I'd accept it

endigma avatar Jan 09 '24 18:01 endigma

Sorry for the late response. I tried it, but I can't quiet grasp your code unfortunately

silveltman avatar Feb 03 '24 23:02 silveltman

You are gonna want to add it to genCSS for adding the variable to the light/dark selectors and either generateColors or just manually adding the entry into the theme.colors bit of index.ts.

The codebase is a bit of a mess, I plan to clean it up soon.

endigma avatar Feb 03 '24 23:02 endigma

Kindly let me know when you do, I can take another try then

silveltman avatar Mar 02 '24 15:03 silveltman