-
Hi, I am trying to migrate from tailwind to Uno, but facing some unexpected behavior while configuring theme.
Here is my sample HTML:
So if I define blue color to use it with 'bg-primary' class, it should only work with 'bg-primary', but it seems blue color is appled for any class with 'bg-primary' prefix. Ex: 'bg-primary-hover' or 'bg-primary-yourname' I am not sure if this is a bug or expected behavior. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@antfu We are unable to migrate to UnoCSS because of this issue. Any suggestions or workarounds would be highly appreciated. Thank you. |
Beta Was this translation helpful? Give feedback.
try to specify: theme.colors.primary.DEFAULT = 'blue'