Can we have component specific CSS classes that are base on the style and state of the component? #2048
royeradames
started this conversation in
Ideas
Replies: 1 comment
-
I agree there should be more css variables added into this library |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example due to the sl-button not having distict css variables for default and active we cannot use css variables to completly customize the styles. Now we have to break how css is being render and we have to overwrite it completely with our solution. When in this case we just wanted some light alterations.
Image if we had a local variable just for button that for
Instead of
We had:
We would be able to add our custom design with just css variables for most cases.
Beta Was this translation helpful? Give feedback.
All reactions