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 4a48e5e commit 6c3aadaCopy full SHA for 6c3aada
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