tokka 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/index.js +2 -0
- package/package.json +1 -1
package/compiler/index.js
CHANGED
|
@@ -398,6 +398,8 @@ function generateCSSForMode(tokens, mode, options = {}) {
|
|
|
398
398
|
value = token.resolvedModes[mode];
|
|
399
399
|
} else if (token.modes?.[mode]) {
|
|
400
400
|
value = token.modes[mode];
|
|
401
|
+
} else if (token.value) {
|
|
402
|
+
value = token.value;
|
|
401
403
|
}
|
|
402
404
|
if (value === void 0) continue;
|
|
403
405
|
if (token.type === "color") {
|