Inline Style variables - V7 #4418
Closed
rodeyseijkens
started this conversation in
Feedback
Replies: 2 comments 3 replies
-
Override styles instead of CSS variables: .root {
&:hover {
background: red;
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
-
So for people having the same question, I ended up setting a custom variant in the themes object and set the var directly there. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I started to tinker with v7, I wondered if there was a way to better handle style overwrites in a css-module.
Because of the inline-style variables I can't easily overwite for example the
--button-hover
.Also because the
.mantine-c33yiTy:hover:not([data-loading]):not(:disabled):not([data-disabled])
css specificity is a pain in the ass to overwrite.Beta Was this translation helpful? Give feedback.
All reactions