@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 +1 -1
- package/src/design-tokens.js +6 -1
package/package.json
CHANGED
package/src/design-tokens.js
CHANGED
|
@@ -681,7 +681,12 @@ export function generateTailwindV4Theme(tokens) {
|
|
|
681
681
|
|
|
682
682
|
// Text color (not responsive)
|
|
683
683
|
if (style.textColor) {
|
|
684
|
-
|
|
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
|
}
|