Replies: 3 comments 8 replies
-
Hey! This blog post explains how we use variables like this in some detail: https://adamwathan.me/composing-the-uncomposable-with-css-variables/ |
Beta Was this translation helpful? Give feedback.
3 replies
-
Same issue. These variables took up so much space that I had to scroll down several times to find the target CSS |
Beta Was this translation helpful? Give feedback.
1 reply
-
The real question is why on your tailwind website and doc (that seems to use tailwind) you don't have those floody |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, I was bored and found this set of css variables(as shown) introduced after import tailwindcss by postcss. What is their purpose and can I hide these variables?
Yesterday crswll answer me: They're mostly used for composing properties. What do you mean by "hide" exactly? Just not see them in devtools or do you want them stripped from the output?
And now I have new questions:
Because of the *, these css cariables are attached to all classes, causing me to be distracted by a huge list of identical css variables when I look at css properties in chrome devtools. So I'd like to hide theme in chrome devtools, or just remove theme on output(if they won't paly a critical role).
By the way, what is "composing properties", are there some example, are there examples of situations in which these variables would be used.
Beta Was this translation helpful? Give feedback.
All reactions