Skip to content
Discussion options

You must be logged in to vote

Hey! For places where CSS variables don't work sense, we still have the theme function. You'd use it like var in that case:

@media screen and (min-width: --theme(--breakpoint-lg)) {
      padding: --spacing(12);
  }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robbiedavey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants