Replies: 1 comment 1 reply
-
I can imagine that @theme is just for creating the variable itself and overriding this needs to be done outside of @theme. @theme {
--margin-block-container: --spacing(4);
}
:root {
@media (width >= theme(--breakpoint-md)) {
--margin-block-container: --spacing(8);
}
} |
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
-
We normally create responsive variables. This is not possible in V4.
Error:
@themeblocks must only contain custom properties or
@Keyframes.
Beta Was this translation helpful? Give feedback.
All reactions