tailwindcss-radix-colors icon indicating copy to clipboard operation
tailwindcss-radix-colors copied to clipboard

Feature request: Aliasing and option to not remove existing colors

Open RyanTT opened this issue 6 months ago • 1 comments

It would be great if it was possible to combine the color palette provided by this plugin but also keep the existing palette that Tailwind ships with by default.

I could imagine this could be achieved by adding a new option removeTailwindColors which does as the name implies. If it is set to true, the behavior is as it currently is. It is set to false, the only colors to be removed are the ones that are added through this plugin and that have a conflicting name.

Additionally, it would be great if there was an option to give aliases to color palettes. This way one could alias a color palette, include that custom alias in the include array and, if removeTailwindColors is also set to false, essentially cherry pick Radix colors to use under an alias name that does not conflict with Tailwind.

RyanTT avatar Aug 06 '24 17:08 RyanTT