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 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") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokka",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "A shadcn-compatible UI foundation with a real token system and optional Figma exports",
6
6
  "bin": "./dist/index.js",