@webmate-studio/builder 0.2.122 → 0.2.124
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 -10
package/package.json
CHANGED
package/src/design-tokens.js
CHANGED
|
@@ -811,12 +811,10 @@ export function generateTailwindV4Theme(tokens) {
|
|
|
811
811
|
lines.push(` --radius: ${tokens.borderRadius};`);
|
|
812
812
|
}
|
|
813
813
|
|
|
814
|
-
// Container widths
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
}
|
|
819
|
-
}
|
|
814
|
+
// Container widths — NICHT als --container-* ausgeben!
|
|
815
|
+
// In Tailwind v4 steuern --container-* die max-w-* Klassen (z.B. --container-2xl = max-w-2xl).
|
|
816
|
+
// Die Werte hier sind Breakpoints (640px, 1536px), nicht max-width-Werte (42rem, 56rem).
|
|
817
|
+
// Breakpoints werden separat als --breakpoint-* ausgegeben.
|
|
820
818
|
|
|
821
819
|
// Breakpoints
|
|
822
820
|
if (tokens.breakpoints) {
|
|
@@ -1221,10 +1219,8 @@ export function generateCSSFromTokens(tokens) {
|
|
|
1221
1219
|
lines.push(` --tracking-${key}: ${value};`);
|
|
1222
1220
|
}
|
|
1223
1221
|
|
|
1224
|
-
// Container
|
|
1225
|
-
|
|
1226
|
-
lines.push(` --container-${key}: ${value};`);
|
|
1227
|
-
}
|
|
1222
|
+
// Container — NICHT als --container-* ausgeben (kollidiert mit Tailwind v4 max-w-*)
|
|
1223
|
+
// Breakpoints werden separat als --breakpoint-* ausgegeben.
|
|
1228
1224
|
|
|
1229
1225
|
// Border Width
|
|
1230
1226
|
if (typeof tokens.borderWidth === 'object' && tokens.borderWidth !== null) {
|