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.
2 parents 836ff3f + 6c3aada commit 4d91125Copy full SHA for 4d91125
src/index.ts
@@ -21,11 +21,11 @@ const formatTokens = (
21
22
if (cur.attributes.category === type || type === 'all') {
23
if (isVariables) {
24
- acc[cur.path.join('.')] = prefix
+ acc[Object.values(cur.attributes).join('.')] = prefix
25
? `var(--${addHyphen(prefix) + cur.name})`
26
: `var(--${cur.name})`
27
} else {
28
- acc[cur.path.join('.')] = cur.value
+ acc[Object.values(cur.attributes).join('.')] = cur.value
29
}
30
31
0 commit comments