Skip to content

In what layer I should put regular CSS variables? #16635

Answered by adamwathan
subproject22 asked this question in Help
Discussion options

You must be logged in to vote

I would put them in @layer theme { ... } but you're right there's unlikely to ever be a functional difference in a real project. But that's my recommendation just to have one less thing to think about 👍

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@spacecat
Comment options

@wongjn
Comment options

wongjn Jul 6, 2025
Collaborator

Answer selected by subproject22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants