@zeyolabs/ui 2026.11.38 → 2026.11.39

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/typography.css +9 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeyolabs/ui",
3
- "version": "2026.11.38",
3
+ "version": "2026.11.39",
4
4
  "description": "Shared Svelte 5 components, form fields and design tokens for SvelteKit 3 apps.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
package/typography.css CHANGED
@@ -1,6 +1,6 @@
1
- /* Body size reads --text-base so a storefront can set a larger base than the dense 13px
2
- dashboard default; --type-xs, --type-sm, --type-lg and --type-xl set the Text/Span sizes around
3
- it (defaults 11/11/15/18px, the dashboard scale). */
1
+ /* Body size is --text-base: 13px here (the dense dashboard default, replacing Tailwind's 1rem),
2
+ and a storefront sets a larger one on :root. --type-xs, --type-sm, --type-lg and --type-xl set
3
+ the Text/Span sizes around it (defaults 11/11/15/18px, the dashboard scale). */
4
4
  /* ─── Typography tokens — shared across every app (dashboard, admin, marketing) ─────
5
5
  Single source of truth for both font-family and the h1-h6 size/weight/line-height/
6
6
  letter-spacing scale, so no app duplicates or drifts from another. A component's own
@@ -8,6 +8,10 @@
8
8
  wins for any heading that needs a bespoke size — this scale is only the default.
9
9
  Requires the consuming app.html to load Geist and Geist Mono via Google Fonts (see app.html
10
10
  in any app) — every app on the same font-delivery pipeline, same font-family name. */
11
+ @theme {
12
+ --text-base: 13px;
13
+ }
14
+
11
15
  @theme inline {
12
16
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
13
17
  --font-heading: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
@@ -17,7 +21,7 @@
17
21
  @layer base {
18
22
  body {
19
23
  font-family: var(--font-sans);
20
- font-size: var(--text-base, 13px);
24
+ font-size: var(--text-base);
21
25
  font-weight: 400;
22
26
  letter-spacing: -0.01em;
23
27
  line-height: 1.5;
@@ -120,7 +124,7 @@
120
124
 
121
125
  /* Body size, semibold: card and panel headings in dense pages. */
122
126
  .title-xs {
123
- font-size: var(--text-base, 13px);
127
+ font-size: var(--text-base);
124
128
  font-weight: 600;
125
129
  line-height: 1.5;
126
130
  letter-spacing: 0;