Skip to content

Responsive for custom utility classes #16851

Answered by wongjn
CDTdenisP asked this question in Help
Discussion options

You must be logged in to vote

Use a CSS rule to change the values of the CSS variable(s). We can use @variant to reference the md breakpoint:

@theme {
  …
}

@layer theme {
  :root {
    @variant md {
      --text-heading-1: …;
    }
  }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CDTdenisP
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