-
|
In tailwind 3 you could do something like this to configure text and background colors separately: theme: {
extend: {
backgroundColor: {
primary: '#fff'
},
textColor: {
primary: '#000'
}
}
}Is it possible to do that with the new css configuration? The goal being that the |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Nov 17, 2025
Replies: 2 comments 1 reply
-
|
Yep: @theme {
--background-color-primary: #fff;
--text-color-primary: #000;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
numso
-
|
Related: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep:
Also see this exhaustive list of all namespaces available.