Skip to content

Is there a way to define colors differently for different utilities? #16665

Answered by wongjn
SamBallantyne asked this question in Help
Discussion options

You must be logged in to vote

There is a way in CSS:

@theme {
  --text-color-main: rgb(51, 67, 82); /* text-main */
  --border-color-main: rgb(237, 241, 245); /* border-main */
}

Replies: 1 comment 2 replies

Comment options

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

@wongjn
Comment options

wongjn Feb 19, 2025
Collaborator

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