@webmate-studio/builder 0.2.74 → 0.2.75

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.74",
3
+ "version": "0.2.75",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio Component Builder",
6
6
  "keywords": [
@@ -681,7 +681,12 @@ export function generateTailwindV4Theme(tokens) {
681
681
 
682
682
  // Text color (not responsive)
683
683
  if (style.textColor) {
684
- lines.push(` --text-${kebabName}-color: var(--color-${style.textColor});`);
684
+ // Convert textColor to kebab-case (textBase -> text-base)
685
+ const colorKebab = style.textColor
686
+ .replace(/([A-Z])/g, '-$1')
687
+ .toLowerCase()
688
+ .replace(/^-/, '');
689
+ lines.push(` --text-${kebabName}-color: var(--color-${colorKebab});`);
685
690
  }
686
691
  }
687
692
  }