@webmate-studio/builder 0.2.104 → 0.2.106
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 +14 -2
package/package.json
CHANGED
package/src/design-tokens.js
CHANGED
|
@@ -684,6 +684,9 @@ export function generateTailwindV4Theme(tokens) {
|
|
|
684
684
|
if (tokens.typography.fontFamily.mono) {
|
|
685
685
|
lines.push(` --font-mono: ${tokens.typography.fontFamily.mono};`);
|
|
686
686
|
}
|
|
687
|
+
if (tokens.typography.fontFamily.accent) {
|
|
688
|
+
lines.push(` --font-accent: ${tokens.typography.fontFamily.accent};`);
|
|
689
|
+
}
|
|
687
690
|
}
|
|
688
691
|
|
|
689
692
|
// Typography - Base values
|
|
@@ -1433,15 +1436,24 @@ export function generateCSSFromTokens(tokens) {
|
|
|
1433
1436
|
|
|
1434
1437
|
// Paragraphs
|
|
1435
1438
|
lines.push('.prose p {');
|
|
1436
|
-
lines.push(' margin-top: 1rem;');
|
|
1437
1439
|
lines.push(' margin-bottom: 1rem;');
|
|
1438
1440
|
lines.push('}');
|
|
1441
|
+
lines.push('.prose p + p {');
|
|
1442
|
+
lines.push(' margin-top: 1rem;');
|
|
1443
|
+
lines.push('}');
|
|
1439
1444
|
|
|
1440
1445
|
// Lists
|
|
1441
|
-
lines.push('.prose ul
|
|
1446
|
+
lines.push('.prose ul {');
|
|
1447
|
+
lines.push(' margin-top: 1rem;');
|
|
1448
|
+
lines.push(' margin-bottom: 1rem;');
|
|
1449
|
+
lines.push(' padding-left: 1.5rem;');
|
|
1450
|
+
lines.push(' list-style-type: disc;');
|
|
1451
|
+
lines.push('}');
|
|
1452
|
+
lines.push('.prose ol {');
|
|
1442
1453
|
lines.push(' margin-top: 1rem;');
|
|
1443
1454
|
lines.push(' margin-bottom: 1rem;');
|
|
1444
1455
|
lines.push(' padding-left: 1.5rem;');
|
|
1456
|
+
lines.push(' list-style-type: decimal;');
|
|
1445
1457
|
lines.push('}');
|
|
1446
1458
|
lines.push('.prose li {');
|
|
1447
1459
|
lines.push(' margin-top: 0.25rem;');
|