@webmate-studio/builder 0.2.70 → 0.2.71

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webmate-studio/builder",
3
- "version": "0.2.70",
3
+ "version": "0.2.71",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio Component Builder",
6
6
  "keywords": [
@@ -651,6 +651,11 @@ export function generateTailwindV4Theme(tokens) {
651
651
  lines.push(` --text-${kebabName}-letter-spacing: ${style.letterSpacing};`);
652
652
  }
653
653
  }
654
+
655
+ // Text color (not responsive)
656
+ if (style.textColor) {
657
+ lines.push(` --text-${kebabName}-color: var(--color-${style.textColor});`);
658
+ }
654
659
  }
655
660
  }
656
661
 
@@ -766,6 +771,9 @@ body {
766
771
  if (style.textTransform) {
767
772
  globalStyles += `\n text-transform: var(--text-${kebabName}-text-transform);`;
768
773
  }
774
+ if (style.textColor) {
775
+ globalStyles += `\n color: var(--text-${kebabName}-color);`;
776
+ }
769
777
  globalStyles += `\n}`;
770
778
  }
771
779
  }