Skip to content

Scoping theme variables to utilities #17400

Answered by wongjn
scottbedard asked this question in Help
Discussion options

You must be logged in to vote

There are undocumented property-specifc namespaces that you can use, i.e:

Property namespace
background-color --background-color-[name]
color --text-color-[name]
border-color --border-color-[name]

Search through the source code for others.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@scottbedard
Comment options

@wongjn
Comment options

wongjn Mar 26, 2025
Collaborator

@scottbedard
Comment options

Answer selected by scottbedard
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