@zeyolabs/ui 2026.11.35 → 2026.11.37

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 +2 -2
  2. package/typography.css +6 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeyolabs/ui",
3
- "version": "2026.11.35",
3
+ "version": "2026.11.37",
4
4
  "description": "Shared Svelte 5 components, form fields and design tokens for SvelteKit 3 apps.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -154,7 +154,7 @@
154
154
  "devDependencies": {
155
155
  "@eslint/compat": "2.1.1",
156
156
  "@eslint/js": "10.0.1",
157
- "@zeyolabs/kit": "2026.11.35",
157
+ "@zeyolabs/kit": "2026.11.37",
158
158
  "@sveltejs/kit": "3.2.0",
159
159
  "@types/flickity": "2.2.12",
160
160
  "eslint": "10.15.0",
package/typography.css CHANGED
@@ -1,5 +1,6 @@
1
1
  /* Body size reads --text-base so a storefront can set a larger base than the dense 13px
2
- dashboard default. */
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). */
3
4
  /* ─── Typography tokens — shared across every app (dashboard, admin, marketing) ─────
4
5
  Single source of truth for both font-family and the h1-h6 size/weight/line-height/
5
6
  letter-spacing scale, so no app duplicates or drifts from another. A component's own
@@ -126,24 +127,24 @@
126
127
  }
127
128
 
128
129
  .xs {
129
- font-size: 11px;
130
+ font-size: var(--type-xs, 11px);
130
131
  letter-spacing: 0.01em;
131
132
  line-height: 1.6;
132
133
  }
133
134
 
134
135
  .sm {
135
- font-size: 11px;
136
+ font-size: var(--type-sm, 11px);
136
137
  letter-spacing: 0;
137
138
  line-height: 1.55;
138
139
  }
139
140
 
140
141
  .lg {
141
- font-size: 15px;
142
+ font-size: var(--type-lg, 15px);
142
143
  line-height: 1.5;
143
144
  }
144
145
 
145
146
  .xl {
146
- font-size: 18px;
147
+ font-size: var(--type-xl, 18px);
147
148
  line-height: 1.4;
148
149
  }
149
150