We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f714479 commit d7a0208Copy full SHA for d7a0208
src/index.ts
@@ -20,7 +20,11 @@ const formatTokens = (
20
}
21
22
if (cur.attributes.category === type || type === 'all') {
23
- if (isVariables) {
+ /**
24
+ * Make sure screens values are not using CSS variables as
25
+ * CSS @media queries do not support CSS variables
26
+ */
27
+ if (isVariables && cur.attributes.category !== 'screens') {
28
acc[Object.values(cur.attributes).join('.')] = prefix
29
? `var(--${addHyphen(prefix) + cur.name})`
30
: `var(--${cur.name})`
0 commit comments