@ferrlabs/ui-foundation 5.9.0 → 5.10.0

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/README.md CHANGED
@@ -22,8 +22,8 @@ is the default editorial look.
22
22
  | `data-style` | Radii (control / card / modal) | Font | `--control-height` |
23
23
  | ------------ | ------------------------------ | -------- | ------------------ |
24
24
  | (none) | 4px / 8px / 12px | Fraunces | 40px |
25
- | `precision` | 2px / 4px / 6px | Inter | 28px |
26
- | `soft` | 8px / 12px / 16px | Inter | 36px |
25
+ | `precision` | 2px / 4px / 6px | Geist | 28px |
26
+ | `soft` | 8px / 12px / 16px | Geist | 36px |
27
27
 
28
28
  `--control-height` is the `md` height of buttons, inputs, selects, search fields,
29
29
  multi-selects and submit buttons. `sm` and `lg` are 8px below and above it. Buttons
@@ -82,4 +82,4 @@ should target `@ferrlabs/ui-foundation` directly.
82
82
 
83
83
  Licensed under either of [Apache-2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT), at your option.
84
84
 
85
- The Fraunces, DM Mono and Inter fonts are not covered by this license. They are pulled in through the `@fontsource/fraunces`, `@fontsource/dm-mono` and `@fontsource/inter` dependencies and stay under the SIL Open Font License 1.1, whose text ships in each of those packages.
85
+ The Fraunces, DM Mono and Geist fonts are not covered by this license. They are pulled in through the `@fontsource/fraunces`, `@fontsource/dm-mono` and `@fontsource/geist-sans` dependencies and stay under the SIL Open Font License 1.1, whose text ships in each of those packages.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "dependencies": {
6
6
  "@fontsource/dm-mono": "^5.0.0",
7
7
  "@fontsource/fraunces": "^5.0.0",
8
- "@fontsource/inter": "^5.3.0"
8
+ "@fontsource/geist-sans": "^5.3.0"
9
9
  },
10
10
  "description": "Framework-agnostic FerrLabs design foundation: SVG icons, base CSS + fonts, Tailwind preset tokens. Consumed by @ferrlabs/ui-ng and by the Astro sites directly.",
11
11
  "devDependencies": {
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "type": "module",
57
57
  "types": "./dist/index.d.ts",
58
- "version": "5.9.0",
58
+ "version": "5.10.0",
59
59
  "scripts": {
60
60
  "build": "tsc",
61
61
  "typecheck": "tsc --noEmit"
@@ -27,9 +27,9 @@
27
27
  @import '@fontsource/fraunces/900.css';
28
28
  @import '@fontsource/dm-mono/400.css';
29
29
  @import '@fontsource/dm-mono/500.css';
30
- @import '@fontsource/inter/400.css';
31
- @import '@fontsource/inter/500.css';
32
- @import '@fontsource/inter/700.css';
30
+ @import '@fontsource/geist-sans/400.css';
31
+ @import '@fontsource/geist-sans/500.css';
32
+ @import '@fontsource/geist-sans/700.css';
33
33
 
34
34
  /* 2. Tailwind v4 — consumers do NOT @import this themselves. */
35
35
  @import 'tailwindcss';
@@ -91,6 +91,10 @@
91
91
  body {
92
92
  font-feature-settings: 'ss01', 'ss02';
93
93
  }
94
+ html[data-style='precision'] body,
95
+ html[data-style='soft'] body {
96
+ font-feature-settings: normal;
97
+ }
94
98
  ::selection {
95
99
  background: var(--color-ink);
96
100
  color: var(--color-paper);
@@ -149,8 +149,8 @@ html[data-style='precision'] {
149
149
  --radius-control: 2px;
150
150
  --radius-card: 4px;
151
151
  --radius-modal: 6px;
152
- --font-sans: 'Inter', system-ui, sans-serif;
153
- --font-display: 'Inter', system-ui, sans-serif;
152
+ --font-sans: 'Geist Sans', system-ui, sans-serif;
153
+ --font-display: 'Geist Sans', system-ui, sans-serif;
154
154
  --control-height: 28px;
155
155
  }
156
156
 
@@ -158,7 +158,7 @@ html[data-style='soft'] {
158
158
  --radius-control: 8px;
159
159
  --radius-card: 12px;
160
160
  --radius-modal: 16px;
161
- --font-sans: 'Inter', system-ui, sans-serif;
162
- --font-display: 'Inter', system-ui, sans-serif;
161
+ --font-sans: 'Geist Sans', system-ui, sans-serif;
162
+ --font-display: 'Geist Sans', system-ui, sans-serif;
163
163
  --control-height: 36px;
164
164
  }