@warmio/design 1.8.0 → 1.9.1

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
@@ -14,8 +14,8 @@ import { Button, ButtonLink } from '@warmio/design/button';
14
14
  import { Logo, WarmLogoIcon } from '@warmio/design/logo';
15
15
  ```
16
16
 
17
- The product typefaces are JetBrains Mono for default UI and Merriweather for
18
- headings (`h1`–`h6`). Do not add a third family.
17
+ The product UI uses Inter from Google Fonts. JetBrains Mono remains for
18
+ numbers, code, and measurements. The interface uses regular (400) and medium (500) weights.
19
19
 
20
20
  `--accent-solid` / `--accent-solid-text` are the chromatic accent for links,
21
21
  badges, and highlights. They derive from `--brand-accent-solid` in `themes.css`.
@@ -25,10 +25,10 @@ Package ships `components.css` (token-only styles for the primitives) and `dist/
25
25
 
26
26
  ## Releases
27
27
 
28
- The next version, `1.8.0`, adds Fluid-derived surface-only Button press feedback.
29
- The label, hit target, and layout stay fixed. Reduced motion removes surface travel.
30
- The implementation uses native CSS and adds no JavaScript dependency.
31
- Upstream attribution is in `LICENSES/fluid-functionalism.txt`.
28
+ The next version, `1.9.1`, updates the light default button shadow and white-to-gray gradient.
29
+ Version `1.9.0` switches shared UI type to Inter, keeps JetBrains Mono
30
+ for numbers and code, and adds the closed type-size tokens. The previous `1.8.0`
31
+ release added Fluid-derived surface-only Button press feedback.
32
32
 
33
33
  Bump this `package.json` version for additive tokens (incl. motion/surface), fonts,
34
34
  spacing, or primitive changes. Follow the exact sequence in
package/components.css CHANGED
@@ -73,6 +73,17 @@
73
73
  width: var(--button-width-full);
74
74
  }
75
75
 
76
+ [data-warm-button]:not(:disabled):not([aria-disabled='true']):hover {
77
+ filter: brightness(var(--button-hover-brightness));
78
+ }
79
+
80
+ [data-slot='toggle-group'][data-appearance='segmented']:has(
81
+ [data-slot='toggle-group-item'][data-pressed]:hover:not(:disabled):not([aria-disabled='true'])
82
+ )
83
+ [data-slot='toggle-group-indicator'] {
84
+ filter: brightness(var(--button-hover-brightness));
85
+ }
86
+
76
87
  [data-warm-button]:not(:disabled):not([aria-disabled='true']):not(
77
88
  [data-variant='arrow']
78
89
  ):active::before {
@@ -112,39 +123,27 @@
112
123
 
113
124
  [data-warm-button][data-variant='outline'] {
114
125
  border-style: none;
126
+ color: var(--background);
115
127
  }
116
128
  [data-warm-button][data-variant='outline']::before {
117
129
  background-color: var(--background);
130
+ background-image: var(--button-outline-fill-image);
118
131
  box-shadow: var(--button-outline-shadow);
119
132
  }
120
133
  [data-warm-button][data-variant='outline']:hover {
121
- color: var(--foreground);
134
+ color: var(--background);
122
135
  }
123
136
  [data-warm-button][data-variant='outline']:hover::before {
124
137
  background-color: var(--muted);
138
+ background-image: var(--button-outline-fill-image-hover);
125
139
  }
126
- .dark [data-warm-button][data-variant='outline']::before {
127
- background-color: var(--warm-surface-raised-dark, var(--input));
128
- box-shadow: var(--button-outline-shadow-inset);
129
- }
130
- .dark [data-warm-button][data-variant='outline']:hover::before {
131
- background-color: var(--warm-surface-raised-hover-dark, var(--muted));
132
- }
133
- [data-warm-button][data-variant='outline']:disabled {
134
- opacity: 1;
135
- color: var(--muted-foreground);
136
- }
137
- [data-warm-button][data-variant='outline']:disabled::before {
140
+ [data-warm-button][data-variant='outline']:active::before {
138
141
  background-color: var(--muted);
139
- box-shadow: var(--button-outline-shadow);
140
- }
141
- .dark [data-warm-button][data-variant='outline']:disabled::before {
142
- background-color: color-mix(in oklab, var(--input) var(--button-mix-20), transparent);
143
- box-shadow: var(--button-outline-shadow-inset);
144
142
  }
145
143
 
146
144
  [data-warm-button][data-variant='ghost']::before {
147
145
  background-color: transparent;
146
+ box-shadow: var(--button-ghost-shadow);
148
147
  }
149
148
  [data-warm-button][data-variant='ghost']:hover {
150
149
  color: var(--foreground);
@@ -155,7 +154,6 @@
155
154
  .dark [data-warm-button][data-variant='ghost']:hover::before {
156
155
  background-color: color-mix(in oklab, var(--muted) var(--button-mix-50), transparent);
157
156
  }
158
-
159
157
  [data-warm-button][data-variant='destructive'] {
160
158
  color: var(--destructive);
161
159
  }
@@ -173,22 +171,12 @@
173
171
  }
174
172
 
175
173
  [data-warm-button][data-variant='apple'] {
176
- /* `!important` on color/background: legacy's `buttonVariantClasses.apple`
177
- overlay always applies after any presentation overlay in `cn()` order
178
- (e.g. promptCategory's own `bg-background`/`text-foreground`,
179
- sidebarIcon's `text-sidebar-foreground`, tableHeader's
180
- `text-muted-foreground`), so apple's colors always win regardless of
181
- presentation. Presentation rules here use `:not([data-explicit-size])`,
182
- which raises their specificity above a plain variant selector, so
183
- `!important` is required to reproduce that same always-wins order. Box
184
- shadow is deliberately NOT `!important`: promptCategory's own
185
- `shadow-xs` legitimately overrides apple's outline-style shadow (see
186
- the promptCategory rules above), matching origin exactly. */
174
+ /* Apple buttons use one flat color in both themes and never cast a shadow. */
187
175
  color: var(--apple-button-foreground) !important;
188
176
  }
189
177
  [data-warm-button][data-variant='apple']::before {
190
178
  background-color: var(--apple-button-background) !important;
191
- box-shadow: var(--button-outline-shadow);
179
+ box-shadow: none;
192
180
  }
193
181
  button[data-warm-button][data-variant='apple'] {
194
182
  appearance: button;
@@ -198,11 +186,7 @@ button[data-warm-button][data-variant='apple'] {
198
186
  color: var(--apple-button-foreground);
199
187
  }
200
188
  [data-warm-button][data-variant='apple']:hover::before {
201
- background-color: color-mix(
202
- in oklab,
203
- var(--apple-button-hover) var(--button-mix-90),
204
- transparent
205
- );
189
+ background-color: var(--apple-button-background) !important;
206
190
  }
207
191
  [data-warm-button][data-variant='arrow'] {
208
192
  border-width: 0;
@@ -245,7 +229,7 @@ button[data-warm-button][data-variant='apple'] {
245
229
  padding-left: var(--button-padding-x-lg);
246
230
  padding-right: var(--button-padding-x-lg);
247
231
  font-size: var(--button-font-size-jumbo);
248
- font-weight: 700;
232
+ font-weight: 500;
249
233
  line-height: var(--button-line-height-jumbo);
250
234
  gap: var(--button-gap);
251
235
  }
@@ -292,7 +276,7 @@ button[data-warm-button][data-variant='apple'] {
292
276
  padding-top: var(--button-padding-y-md);
293
277
  padding-bottom: var(--button-padding-y-md);
294
278
  font-size: var(--button-font-size-base);
295
- font-weight: 700;
279
+ font-weight: 500;
296
280
  line-height: var(--button-line-height-base);
297
281
  background-clip: border-box;
298
282
  }
@@ -372,6 +356,12 @@ button[data-warm-button][data-variant='apple'] {
372
356
  [data-warm-button][data-presentation='touch']:not([data-explicit-size]) {
373
357
  min-height: var(--button-min-height-touch);
374
358
  }
359
+ [data-warm-button][data-presentation='headerAction']:not([data-explicit-size]) {
360
+ width: auto;
361
+ height: var(--button-size-xs);
362
+ padding-left: var(--button-padding-x-md);
363
+ padding-right: var(--button-padding-x-md);
364
+ }
375
365
  [data-warm-button][data-presentation='threadMore']:not([data-explicit-size]) {
376
366
  width: var(--button-size-xs);
377
367
  height: var(--button-size-xs);
@@ -445,7 +435,7 @@ button[data-warm-button][data-variant='apple'] {
445
435
  icon-only arrow buttons measure 16/20px tall matching their glyph, never
446
436
  the 24px text strut). */
447
437
  line-height: var(--button-line-height-base);
448
- font-weight: 700;
438
+ font-weight: 500;
449
439
  }
450
440
  [data-warm-button][data-variant='arrow'][data-variant='arrow']::before {
451
441
  background-color: transparent;
@@ -509,12 +499,10 @@ button[data-warm-button][data-variant='apple'] {
509
499
  box-shadow: 0 0 0 var(--button-focus-ring)
510
500
  color-mix(in oklab, var(--destructive) var(--button-mix-40), transparent);
511
501
  }
512
- [data-warm-button][data-variant='ghost'][aria-expanded='true'],
513
- [data-warm-button][data-variant='outline'][aria-expanded='true'] {
502
+ [data-warm-button][data-variant='ghost'][aria-expanded='true'] {
514
503
  color: var(--foreground);
515
504
  }
516
- [data-warm-button][data-variant='ghost'][aria-expanded='true']::before,
517
- [data-warm-button][data-variant='outline'][aria-expanded='true']::before {
505
+ [data-warm-button][data-variant='ghost'][aria-expanded='true']::before {
518
506
  background-color: var(--muted);
519
507
  }
520
508
 
@@ -523,8 +511,7 @@ button[data-warm-button][data-variant='apple'] {
523
511
  pointer-events: none;
524
512
  opacity: 0.5;
525
513
  }
526
- [data-warm-button][data-variant='apple']:disabled,
527
- [data-warm-button][data-variant='outline']:disabled {
514
+ [data-warm-button][data-variant='apple']:disabled {
528
515
  opacity: 1;
529
516
  }
530
517
 
@@ -536,7 +523,7 @@ button[data-warm-button][data-variant='apple'] {
536
523
  }
537
524
  [data-warm-logo] > span {
538
525
  font-size: var(--logo-font-size);
539
- font-weight: 700;
526
+ font-weight: 500;
540
527
  letter-spacing: var(--logo-letter-spacing);
541
528
  }
542
529
  svg[data-warm-logo] {
package/dist/button.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export type ButtonPresentation = 'assistantIcon' | 'assistantRoundIcon' | 'default' | 'composerIcon' | 'compact' | 'controlPeer' | 'editPill' | 'hero' | 'menuOption' | 'promptCategory' | 'promptOption' | 'sidebarIcon' | 'tableHeader' | 'threadMore' | 'threadNew' | 'touch';
2
+ export type ButtonPresentation = 'assistantIcon' | 'assistantRoundIcon' | 'composerIcon' | 'default' | 'headerAction' | 'compact' | 'controlPeer' | 'editPill' | 'hero' | 'menuOption' | 'promptCategory' | 'promptOption' | 'sidebarIcon' | 'tableHeader' | 'threadMore' | 'threadNew' | 'touch';
3
3
  export type ButtonVariant = 'default' | 'outline' | 'ghost' | 'destructive' | 'apple' | 'arrow';
4
4
  export type ButtonSize = 'compact' | 'default' | 'jumbo' | 'icon';
5
5
  export type ButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'style'> & {
package/dist/button.js CHANGED
@@ -5,6 +5,7 @@ const presentationToPrivateSize = {
5
5
  assistantRoundIcon: 'icon-round',
6
6
  composerIcon: 'icon-sm',
7
7
  default: 'default',
8
+ headerAction: 'icon-xs',
8
9
  compact: 'sm',
9
10
  controlPeer: 'default',
10
11
  editPill: 'sm',
package/fonts.css CHANGED
@@ -1,10 +1,9 @@
1
1
  /*
2
- * Self-hosted fonts vendored from these exact OFL-1.1 releases:
3
- * @fontsource-variable/jetbrains-mono@5.2.8 and
4
- * @fontsource/merriweather@5.2.11.
2
+ * Inter is the shared Google Fonts UI family.
3
+ * JetBrains Mono remains local for financial values, code, and measurements.
5
4
  */
5
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
6
6
 
7
- /* jetbrains-mono-latin-ext-wght-normal */
8
7
  @font-face {
9
8
  font-family: 'JetBrains Mono';
10
9
  font-style: normal;
@@ -17,7 +16,6 @@
17
16
  U+A720-A7FF;
18
17
  }
19
18
 
20
- /* jetbrains-mono-latin-wght-normal */
21
19
  @font-face {
22
20
  font-family: 'JetBrains Mono';
23
21
  font-style: normal;
@@ -29,7 +27,6 @@
29
27
  U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
30
28
  }
31
29
 
32
- /* jetbrains-mono-latin-ext-wght-italic */
33
30
  @font-face {
34
31
  font-family: 'JetBrains Mono';
35
32
  font-style: italic;
@@ -42,7 +39,6 @@
42
39
  U+A720-A7FF;
43
40
  }
44
41
 
45
- /* jetbrains-mono-latin-wght-italic */
46
42
  @font-face {
47
43
  font-family: 'JetBrains Mono';
48
44
  font-style: italic;
@@ -54,89 +50,14 @@
54
50
  U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
55
51
  }
56
52
 
57
- /* merriweather-latin-ext-400-normal */
58
- @font-face {
59
- font-family: 'Merriweather';
60
- font-style: normal;
61
- font-display: swap;
62
- font-weight: 400;
63
- src: url('./fonts/merriweather-latin-ext-400-normal.woff2') format('woff2');
64
- unicode-range:
65
- U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
66
- U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
67
- U+A720-A7FF;
68
- }
69
-
70
- /* merriweather-latin-400-normal */
71
- @font-face {
72
- font-family: 'Merriweather';
73
- font-style: normal;
74
- font-display: swap;
75
- font-weight: 400;
76
- src: url('./fonts/merriweather-latin-400-normal.woff2') format('woff2');
77
- unicode-range:
78
- U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
79
- U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
80
- }
81
-
82
- /* merriweather-latin-ext-700-normal */
83
- @font-face {
84
- font-family: 'Merriweather';
85
- font-style: normal;
86
- font-display: swap;
87
- font-weight: 700;
88
- src: url('./fonts/merriweather-latin-ext-700-normal.woff2') format('woff2');
89
- unicode-range:
90
- U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
91
- U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
92
- U+A720-A7FF;
93
- }
94
-
95
- /* merriweather-latin-700-normal */
96
- @font-face {
97
- font-family: 'Merriweather';
98
- font-style: normal;
99
- font-display: swap;
100
- font-weight: 700;
101
- src: url('./fonts/merriweather-latin-700-normal.woff2') format('woff2');
102
- unicode-range:
103
- U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
104
- U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
105
- }
106
-
107
- /* merriweather-latin-ext-400-italic */
108
- @font-face {
109
- font-family: 'Merriweather';
110
- font-style: italic;
111
- font-display: swap;
112
- font-weight: 400;
113
- src: url('./fonts/merriweather-latin-ext-400-italic.woff2') format('woff2');
114
- unicode-range:
115
- U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
116
- U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
117
- U+A720-A7FF;
118
- }
119
-
120
- /* merriweather-latin-400-italic */
121
- @font-face {
122
- font-family: 'Merriweather';
123
- font-style: italic;
124
- font-display: swap;
125
- font-weight: 400;
126
- src: url('./fonts/merriweather-latin-400-italic.woff2') format('woff2');
127
- unicode-range:
128
- U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
129
- U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
130
- }
131
-
132
53
  :root {
133
54
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
134
- --font-sans: var(--font-mono);
135
- --font-geist: var(--font-mono);
136
- --font-display: var(--font-mono);
137
- --font-editorial-sans: var(--font-mono);
138
- --font-default: var(--font-mono);
139
- --font-serif: 'Merriweather', ui-serif, Georgia, 'Times New Roman', serif;
140
- --font-marketing-sans: var(--font-serif);
141
- --font-heading: var(--font-serif);
55
+ --font-sans: 'Inter', sans-serif;
56
+ --font-geist: var(--font-sans);
57
+ --font-display: var(--font-sans);
58
+ --font-editorial-sans: var(--font-sans);
59
+ --font-default: var(--font-sans);
60
+ --font-serif: var(--font-sans);
61
+ --font-marketing-sans: var(--font-sans);
62
+ --font-heading: var(--font-sans);
142
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmio/design",
3
- "version": "1.8.0",
3
+ "version": "1.9.1",
4
4
  "description": "Warm's public design contract: CSS tokens and Button/Logo primitives.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -49,7 +49,7 @@
49
49
  "react": "^19.0.0"
50
50
  },
51
51
  "scripts": {
52
- "build": "tsc -p tsconfig.json",
52
+ "build": "tsgo -p tsconfig.json",
53
53
  "pack:check": "node ../../tools/tasks/check-design-package.mjs"
54
54
  }
55
55
  }
package/theme.css CHANGED
@@ -27,8 +27,8 @@
27
27
  PRIMARY — From brand-primary
28
28
  Main identity color for buttons, links, and primary actions.
29
29
  ══════════════════════════════════════════════════════════════════════════ */
30
- --primary: oklch(0.214 0.009 43.1);
31
- --primary-foreground: oklch(0.986 0.002 67.8);
30
+ --primary: #292929;
31
+ --primary-foreground: #fafafa;
32
32
  --ring: oklch(0.714 0.014 41.2);
33
33
  --focus: oklch(0.714 0.014 41.2 / 0.5);
34
34
  --active: oklch(0.214 0.009 43.1 / 0.18);
@@ -59,17 +59,24 @@
59
59
  Backgrounds, cards, borders - subtle tinted neutrals.
60
60
  ══════════════════════════════════════════════════════════════════════════ */
61
61
  --background: rgba(230, 230, 230, 1);
62
- --foreground: oklch(0.147 0 0);
62
+ --foreground: #292929;
63
63
  --card: rgba(240, 240, 240, 1);
64
64
  --card-gradient-start: rgba(240, 240, 240, 1);
65
65
  --card-foreground: var(--foreground);
66
66
  --popover: var(--card);
67
67
  --popover-foreground: var(--foreground);
68
68
  --muted: oklch(0.96 0 0);
69
- --muted-foreground: oklch(0.547 0 0);
69
+ --muted-foreground: #5d5d5d;
70
+ --tertiary-foreground: #9e9e9e;
70
71
  --border: oklch(0.922 0 0);
71
72
  --input: var(--border);
72
73
 
74
+ /* Type scale: caption 12px, label 13px, body 14px, display 24px. */
75
+ --type-size-caption: 0.75rem;
76
+ --type-size-label: 0.8125rem;
77
+ --type-size-body: 0.875rem;
78
+ --type-size-display: 1.5rem;
79
+
73
80
  /* Alternating section backgrounds for marketing pages */
74
81
  --section-alt: oklch(0.986 0 0);
75
82
 
@@ -104,7 +111,7 @@
104
111
  --sidebar-foreground: var(--foreground);
105
112
  --sidebar-primary: var(--primary);
106
113
  --sidebar-primary-foreground: var(--primary-foreground);
107
- --sidebar-accent: oklch(0.96 0 0);
114
+ --sidebar-accent: oklch(1 0 0);
108
115
  --sidebar-accent-foreground: oklch(0.214 0.009 43.1);
109
116
  --sidebar-border: oklch(0.922 0 0);
110
117
  --sidebar-ring: oklch(0.714 0.014 41.2);
@@ -203,9 +210,9 @@
203
210
  NON-COLOR TOKENS (shared across all themes)
204
211
  ══════════════════════════════════════════════════════════════════════════ */
205
212
 
206
- /* Typography — two families in fonts.css: JetBrains Mono default, Merriweather headings.
207
- Role aliases (--font-sans, --font-display, --font-editorial-sans) resolve to mono; marketing/headings use serif. */
208
- --tracking-normal: 0em;
213
+ /* Typography — Inter is the Google-hosted UI family; JetBrains Mono
214
+ remains reserved for values, code, and measurements. */
215
+ --tracking-normal: normal;
209
216
 
210
217
  /* Spacing Scale — --spacing is the Tailwind seed (0.25rem). Product surfaces use 0 / 8px / 16px only; xs/md/xl/2xl below are leftover advertised names, not product steps. */
211
218
  --spacing: 0.25rem;
@@ -229,6 +236,7 @@
229
236
  --motion-distance-lg: 1rem;
230
237
  --button-press-inset: 1px;
231
238
  --button-press-easing: cubic-bezier(0.23, 1, 0.32, 1);
239
+ --button-hover-brightness: 1.1;
232
240
 
233
241
  /* Aliases keep one scale; legacy names resolve to motion; chart uses slow (nonessential scale) */
234
242
  --transition-fast: var(--motion-duration-fast);
@@ -241,34 +249,27 @@
241
249
  --button-padding-y-md: 0.5rem;
242
250
  --button-padding-x-lg: 1.75rem;
243
251
  --button-padding-y-lg: 0.75rem;
244
- --button-font-size: 0.875rem;
252
+ --button-font-size: var(--type-size-body);
245
253
  --button-gap: 0.5rem;
246
- --default-button-gradient-start: oklch(1 0 0);
247
- --default-button-gradient-end: oklch(0.92 0 0);
254
+ --default-button-gradient-start: #fff;
255
+ --default-button-gradient-end: #f2f2f2;
248
256
  --default-button-active: oklch(0.91 0 0);
249
- --button-primary-bg: var(--primary);
250
- --button-primary-foreground: var(--primary-foreground);
251
- --button-primary-border: oklch(0 0 0 / 0.18);
252
- --button-primary-hover: oklch(from var(--primary) calc(l + 0.08) c h);
253
- --button-primary-active: oklch(from var(--primary) calc(l - 0.04) c h);
257
+ --button-primary-bg: oklch(0.99 0 0);
258
+ --button-primary-foreground: oklch(0.17 0 0);
259
+ --button-primary-border: oklch(1 0 0 / 0.18);
260
+ --button-primary-hover: oklch(1 0 0);
261
+ --button-primary-active: oklch(0.94 0 0);
254
262
  --button-primary-shadow:
255
- inset 0 1px 0 rgb(255 255 255 / 0.18), inset 0 -1px 0 rgb(0 0 0 / 0.55), 0 0 0 1px #26251f,
256
- 0 1px 2px rgb(0 0 0 / 0.18);
257
- --button-outline-shadow: 0 0 0 1px var(--border), 0 1px 2px rgb(0 0 0 / 0.18);
258
- --button-primary-gradient: linear-gradient(
259
- to bottom,
260
- #46453e 0%,
261
- #383731 28%,
262
- #292824 64%,
263
- #1d1c19 100%
264
- );
265
- --button-primary-gradient-hover: linear-gradient(
266
- to bottom,
267
- #4f4e48 0%,
268
- #42413b 28%,
269
- #34332f 64%,
270
- #282724 100%
271
- );
263
+ inset 0 -1px 0 rgba(255, 255, 255, 1), 0 0 0 1px rgb(0 0 0 / 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
264
+ --button-outline-shadow: none;
265
+ --button-ghost-shadow:
266
+ inset 0 1px 0 0px rgba(255, 255, 255, 1), 0 1px 0px rgba(0, 0, 0, 0.1),
267
+ 0 1px 2px rgba(0, 0, 0, 0.2);
268
+ /* Outline uses the neutral dark button gradient in light mode. */
269
+ --button-outline-fill-image: linear-gradient(to bottom, #4d4d4d 0%, #333333 100%);
270
+ --button-outline-fill-image-hover: linear-gradient(to bottom, #5a5a5a 0%, #404040 100%);
271
+ --button-primary-gradient: linear-gradient(to bottom, #fff 0%, #f2f2f2 100%);
272
+ --button-primary-gradient-hover: linear-gradient(to bottom, #fafafa 0%, #e0e0e0 100%);
272
273
  --apple-button-background: var(--foreground);
273
274
  --apple-button-foreground: var(--background);
274
275
  --apple-button-hover: var(--apple-button-background);
@@ -283,12 +284,12 @@
283
284
  --button-min-height-touch: 2.75rem;
284
285
  --button-min-height-option: 4rem;
285
286
  --button-padding-x: 1.25rem;
286
- --button-font-size-base: 1rem;
287
- --button-font-size-jumbo: 1.125rem;
288
- --button-line-height-base: 1.5rem;
289
- --button-line-height: 1.25rem;
290
- --button-line-height-jumbo: 1.75rem;
291
- --button-line-height-hero: 1.5rem;
287
+ --button-font-size-base: var(--type-size-body);
288
+ --button-font-size-jumbo: var(--type-size-body);
289
+ --button-line-height-base: 1.25;
290
+ --button-line-height: 1.25;
291
+ --button-line-height-jumbo: 1.25;
292
+ --button-line-height-hero: 1.25;
292
293
  --button-icon-size: 1rem;
293
294
  --button-icon-size-jumbo: 1.25rem;
294
295
  --button-icon-size-xs: 0.75rem;
@@ -302,7 +303,7 @@
302
303
  --logo-size-default: 1.75rem;
303
304
  --logo-size-feature: 2rem;
304
305
  --logo-size-hero: 3.5rem;
305
- --logo-font-size: 0.875rem;
306
+ --logo-font-size: var(--type-size-body);
306
307
  --logo-letter-spacing: 0.025em;
307
308
  --logo-gap: 0.5rem;
308
309
  --button-transition-property: color, background-color, box-shadow, border-color, transform;
@@ -321,7 +322,6 @@
321
322
  --button-mix-50: 50%;
322
323
  --button-mix-90: 90%;
323
324
  --radius-full: 33554400px;
324
- --button-outline-shadow-inset: inset 0 1px 0 rgb(255 255 255 / 0.1);
325
325
 
326
326
  /* Form Specific */
327
327
  --input-height: 2.25rem;
@@ -360,15 +360,15 @@
360
360
  --radius-lg: 0.75rem;
361
361
  --radius-xl: 1rem;
362
362
 
363
- /* Interactive element radius — applied to buttons and form inputs */
364
- --radius-interactive: 0.25rem;
363
+ /* Buttons, inputs, and CTA controls use a pill radius. */
364
+ --radius-interactive: var(--radius-full);
365
365
 
366
366
  /* Page Layout */
367
367
  --page-padding-mobile: 0.5rem;
368
368
  --page-padding-tablet: 1rem;
369
369
  --page-padding-desktop: 1rem;
370
370
  --page-gap: 1rem;
371
- --header-height: 4rem;
371
+ --header-height: 3.25rem;
372
372
 
373
373
  /* Sidebar Dimensions */
374
374
  --sidebar-width: 12.8rem;
@@ -404,12 +404,13 @@
404
404
  .dark {
405
405
  /* ─── Surfaces (dark backgrounds from neutral) ─── */
406
406
  --background: lab(7.31616 0.094689 -0.345469);
407
- --foreground: oklch(0.915 0 0);
407
+ --foreground: #f5f5f5;
408
408
  --card: lab(10.7293 0.100255 -0.363475);
409
409
  --card-gradient-start: oklch(0.325 0 0);
410
410
  --card-foreground: var(--foreground);
411
411
  --muted: var(--card);
412
- --muted-foreground: oklch(0.795 0 0 / 0.6);
412
+ --muted-foreground: #c2c2c2;
413
+ --tertiary-foreground: #8f8f8f;
413
414
  --border: oklch(0.385 0 0);
414
415
 
415
416
  /* Alternating section backgrounds - notably darker for visual distinction */
@@ -438,32 +439,25 @@
438
439
  --default-button-gradient-start: oklch(0.4 0 0);
439
440
  --default-button-gradient-end: oklch(0.3 0 0);
440
441
  --default-button-active: oklch(0.15 0 0);
441
- --button-primary-bg: oklch(0.99 0 0);
442
- --button-primary-foreground: oklch(0.17 0 0);
443
- --button-primary-border: oklch(1 0 0 / 0.18);
444
- --button-primary-hover: oklch(1 0 0);
445
- --button-primary-active: oklch(0.94 0 0);
442
+ --button-primary-bg: var(--primary);
443
+ --button-primary-foreground: oklch(1 0 0);
444
+ --button-primary-border: oklch(0 0 0 / 0.18);
445
+ --button-primary-hover: oklch(from var(--primary) calc(l + 0.08) c h);
446
+ --button-primary-active: oklch(from var(--primary) calc(l - 0.04) c h);
446
447
  --button-primary-shadow:
447
- inset 0 1px 0 rgb(255 255 255), 0 0 0 1px rgb(0 0 0 / 0.42), 0 2px 3px rgb(0 0 0 / 0.28);
448
- --button-outline-shadow: 0 0 0 1px var(--border), 0 2px 3px rgb(0 0 0 / 0.28);
449
- --button-primary-gradient: linear-gradient(
450
- to bottom,
451
- #ffffff 0%,
452
- #f8f7f4 28%,
453
- #f0eee9 64%,
454
- #e4e1db 100%
455
- );
456
- --button-primary-gradient-hover: linear-gradient(
457
- to bottom,
458
- #f2f2f2 0%,
459
- #ecebe8 28%,
460
- #e4e2dd 64%,
461
- #d9d6d0 100%
462
- );
448
+ inset 0 1px 0 #808080, inset 0 -1px rgba(255, 255, 255, 0.1), 0 1px 2px black;
449
+ --button-hover-brightness: 1.2;
450
+ --button-outline-shadow: inset 0 1px 0 rgb(255 255 255);
451
+ --button-ghost-shadow:
452
+ inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.02),
453
+ 0 1px 0 rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.5);
454
+ --button-outline-fill-image: linear-gradient(to bottom, #f2f2f2 0%, #e6e6e6 100%);
455
+ --button-outline-fill-image-hover: linear-gradient(to bottom, #fafafa 0%, #ececec 100%);
456
+ --button-primary-gradient: linear-gradient(to bottom, #4d4d4d 0%, #333333 100%);
457
+ --button-primary-gradient-hover: linear-gradient(to bottom, #5a5a5a 0%, #404040 100%);
463
458
  --apple-button-background: oklch(0 0 0);
464
459
  --apple-button-foreground: oklch(1 0 0);
465
460
  --apple-button-hover: var(--apple-button-background);
466
- --button-outline-shadow-inset: inset 0 1px 0 rgb(255 255 255 / 0.1);
467
461
 
468
462
  /* Sidebar = solid dark surface */
469
463
  --sidebar: var(--background);
@@ -517,10 +511,6 @@
517
511
  --info-bg-subtle: oklch(0.2 0.02 250);
518
512
  --info-bg-muted: oklch(0.25 0.04 250);
519
513
  --info-border: oklch(0.35 0.05 250);
520
-
521
- /* ─── Effects (dark mode) ─── */
522
- --overlay-subtle: rgb(0 0 0 / 0.2);
523
- --shadow-card-edge-tight: rgb(0 0 0 / 0.26);
524
514
  --overlay-light: rgb(0 0 0 / 0.3);
525
515
  --overlay-medium: rgb(0 0 0 / 0.4);
526
516
  --overlay-strong: rgb(0 0 0 / 0.5);
@@ -582,27 +572,17 @@
582
572
  --accent-solid-text: oklch(from var(--brand-accent-solid) calc(l - 0.14) calc(c + 0.02) h);
583
573
 
584
574
  /* Default button gradient (light) */
585
- --default-button-gradient-start: oklch(1 0 0);
586
- --default-button-gradient-end: oklch(0.92 0 0);
575
+ --default-button-gradient-start: #fff;
576
+ --default-button-gradient-end: #f2f2f2;
587
577
  --default-button-active: oklch(0.91 0 0);
588
578
  --button-primary-shadow:
589
- inset 0 1px 0 rgb(255 255 255 / 0.18), inset 0 -1px 0 rgb(0 0 0 / 0.55), 0 0 0 1px #26251f,
590
- 0 1px 2px rgb(0 0 0 / 0.18);
579
+ inset 0 -1px 0 rgba(255, 255, 255, 1), 0 0 0 1px rgb(0 0 0 / 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
591
580
  --button-outline-shadow: 0 0 0 1px var(--border), 0 1px 2px rgb(0 0 0 / 0.18);
592
- --button-primary-gradient: linear-gradient(
593
- to bottom,
594
- #46453e 0%,
595
- #383731 28%,
596
- #292824 64%,
597
- #1d1c19 100%
598
- );
599
- --button-primary-gradient-hover: linear-gradient(
600
- to bottom,
601
- #4f4e48 0%,
602
- #42413b 28%,
603
- #34332f 64%,
604
- #282724 100%
605
- );
581
+ --button-ghost-shadow:
582
+ inset 0 1px 0 0px rgba(255, 255, 255, 1), 0 1px 0px rgba(0, 0, 0, 0.1),
583
+ 0 1px 2px rgba(0, 0, 0, 0.2);
584
+ --button-primary-gradient: linear-gradient(to bottom, #fff 0%, #f2f2f2 100%);
585
+ --button-primary-gradient-hover: linear-gradient(to bottom, #fafafa 0%, #e0e0e0 100%);
606
586
 
607
587
  /* Charts */
608
588
  --chart-1: var(--brand-primary);
@@ -697,6 +677,7 @@
697
677
  --color-secondary-foreground: var(--secondary-foreground);
698
678
  --color-muted: var(--muted);
699
679
  --color-muted-foreground: var(--muted-foreground);
680
+ --color-tertiary-foreground: var(--tertiary-foreground);
700
681
  --color-accent: var(--accent);
701
682
  --color-accent-foreground: var(--accent-foreground);
702
683
  --color-accent-solid: var(--accent-solid);
@@ -1,93 +0,0 @@
1
- Copyright 2024 The Merriweather Project Authors (https://github.com/EbenSorkin/Merriweather4) with Reserved Font Name "Merriweather". Merriweather-Italic[opsz,wdth,wght].ttf: Copyright 2024 The Merriweather Project Authors (https://github.com/EbenSorkin/Merriweather4) with Reserved Font Name "Merriweather".
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- http://scripts.sil.org/OFL
6
-
7
-
8
- -----------------------------------------------------------
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
- -----------------------------------------------------------
11
-
12
- PREAMBLE
13
- The goals of the Open Font License (OFL) are to stimulate worldwide
14
- development of collaborative font projects, to support the font creation
15
- efforts of academic and linguistic communities, and to provide a free and
16
- open framework in which fonts may be shared and improved in partnership
17
- with others.
18
-
19
- The OFL allows the licensed fonts to be used, studied, modified and
20
- redistributed freely as long as they are not sold by themselves. The
21
- fonts, including any derivative works, can be bundled, embedded,
22
- redistributed and/or sold with any software provided that any reserved
23
- names are not used by derivative works. The fonts and derivatives,
24
- however, cannot be released under any other type of license. The
25
- requirement for fonts to remain under this license does not apply
26
- to any document created using the fonts or their derivatives.
27
-
28
- DEFINITIONS
29
- "Font Software" refers to the set of files released by the Copyright
30
- Holder(s) under this license and clearly marked as such. This may
31
- include source files, build scripts and documentation.
32
-
33
- "Reserved Font Name" refers to any names specified as such after the
34
- copyright statement(s).
35
-
36
- "Original Version" refers to the collection of Font Software components as
37
- distributed by the Copyright Holder(s).
38
-
39
- "Modified Version" refers to any derivative made by adding to, deleting,
40
- or substituting -- in part or in whole -- any of the components of the
41
- Original Version, by changing formats or by porting the Font Software to a
42
- new environment.
43
-
44
- "Author" refers to any designer, engineer, programmer, technical
45
- writer or other person who contributed to the Font Software.
46
-
47
- PERMISSION & CONDITIONS
48
- Permission is hereby granted, free of charge, to any person obtaining
49
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
- redistribute, and sell modified and unmodified copies of the Font
51
- Software, subject to the following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components,
54
- in Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the corresponding
65
- Copyright Holder. This restriction only applies to the primary font name as
66
- presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole,
75
- must be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created
78
- using the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
- OTHER DEALINGS IN THE FONT SOFTWARE.