Let 'class' override component styles #66
nxy7
started this conversation in
Feature Requests
Replies: 1 comment 4 replies
-
Thank you for checking out the library, I really appreciate you using it! As for overriding styles with classes (such as with tailwind), I don't know how possible that would be as of now. I will explore options on being able to append/prepend styles. However as of now, you could try putting override on the properties you want to change and 'reset' their styles so that tailwind will have a higher specificity. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, first of all - great work. I found out about this project on reddit and im really impressed. Whole library looks very promising.
To my suprise it integrates with tailwind very nicely although you cannot really override default styles with it because they are applied before them. If i'm not mistaken classes on the right are applied first, so maybe just changing order and applying classes after component styling would allow easier workflow with tailwind.
I feel like with this implemented you get the best of both worlds - premade component with super easy styling.
Beta Was this translation helpful? Give feedback.
All reactions