endigma / unocss-preset-radix

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

Plugin breaks regular colors theme settings #19

Closed silveltman closed 10 months ago

silveltman commented 10 months ago

When using this plugin the regular theme.colors does not work anymore.

The following does not work:

    theme: {
      colors: {
        hello: 'red',
      },
    },

When removing the plugin it works instantly

endigma commented 10 months ago

yep, there's some hacky stuff to remove colors added by mini, which conflict. you should write your custom colors into a preset and put it after this one.

silveltman commented 10 months ago

Good to know, thank you!

endigma commented 10 months ago

I don't think there's a way to not do this, but I'll look into it when I get around to a little overhaul I'd like to do.