@warmio/design 1.7.0 → 1.9.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.
@@ -0,0 +1,24 @@
1
+ Fluid Functionalism
2
+ https://github.com/mickadesign/fluid-functionalism
3
+
4
+ MIT License
5
+
6
+ Copyright (c) 2026 Micka Touillaud
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
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,6 +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.9.0`, switches shared UI type to Inter, keeps JetBrains Mono
29
+ for numbers and code, and adds the closed type-size tokens. The previous `1.8.0`
30
+ release added Fluid-derived surface-only Button press feedback.
31
+
28
32
  Bump this `package.json` version for additive tokens (incl. motion/surface), fonts,
29
33
  spacing, or primitive changes. Follow the exact sequence in
30
34
  [docs/reference/DESIGN_PACKAGE.md](../../docs/reference/DESIGN_PACKAGE.md)
package/components.css CHANGED
@@ -1,11 +1,13 @@
1
- /* @warmio/design components.css - token-only, parity with prior Button/Logo contract.
2
- * Rebuilt from exact UIWarm primitive/button.variants + presentation maps + variant overrides + button-edge recipes.
3
- * Uses only design tokens + data attrs. No literals where tokens exist.
4
- * Motion via --motion-* (aliased); reduced-motion zeros non-essentials.
5
- * All 16 presentations, 6 variants, 4 sizes + full + states produce matching computed geometry/styles.
1
+ /* @warmio/design components.css - Warm Button/Logo recipes.
2
+ * Colors, typography, geometry, and edges remain Warm-owned.
3
+ * Surface-only press feedback adapted from Fluid Functionalism (MIT):
4
+ * https://www.fluidfunctionalism.com/r/base/button.json
5
+ * Native CSS keeps the published primitive free of a motion runtime.
6
6
  */
7
7
 
8
8
  [data-warm-button] {
9
+ position: relative;
10
+ isolation: isolate;
9
11
  /* Strip native button chrome when this stylesheet is used without preflight.
10
12
  * `appearance` is deliberately left at its UA default (matches the
11
13
  * pre-migration PrimitiveButton/buttonVariants recipe, which never applied
@@ -41,6 +43,27 @@
41
43
  /* border handled by variant shadows/tokens; no default regression border */
42
44
  }
43
45
 
46
+ /* Move only the painted surface, never the label or the hit target. Fluid's
47
+ * fixed 1px-per-edge collapse avoids width-dependent scaling of wide buttons.
48
+ * Warm gradients and edge shadows stay on this layer at their original bounds. */
49
+ [data-warm-button]::before {
50
+ content: '';
51
+ position: absolute;
52
+ z-index: -1;
53
+ inset: 0;
54
+ border-radius: inherit;
55
+ background-color: transparent;
56
+ background-image: none;
57
+ background-clip: inherit;
58
+ box-shadow: none;
59
+ pointer-events: none;
60
+ transition-property: var(--button-surface-transition-property);
61
+ transition-duration:
62
+ calc(var(--motion-duration-fast) * 1.8), calc(var(--motion-duration-fast) * 0.8),
63
+ calc(var(--motion-duration-fast) * 1.8);
64
+ transition-timing-function: var(--button-press-easing);
65
+ }
66
+
44
67
  [data-warm-button]:focus-visible {
45
68
  box-shadow: 0 0 0 var(--button-focus-ring)
46
69
  color-mix(in oklab, var(--ring) var(--button-mix-50), transparent);
@@ -50,89 +73,88 @@
50
73
  width: var(--button-width-full);
51
74
  }
52
75
 
53
- /* Active scale + full motion reduce (legacy: active:not-aria-[haspopup]:scale-[0.97] motion-reduce:transition-none motion-reduce:active:scale-100) */
54
- [data-warm-button]:active:not([aria-haspopup]) {
55
- transform: scale(0.97);
76
+ [data-warm-button]:not(:disabled):not([aria-disabled='true']):not(
77
+ [data-variant='arrow']
78
+ ):active::before {
79
+ inset: var(--button-press-inset);
80
+ transition-duration: calc(var(--motion-duration-fast) * 0.8);
56
81
  }
57
82
 
58
83
  @media (prefers-reduced-motion: reduce) {
59
- [data-warm-button] {
84
+ [data-warm-button],
85
+ [data-warm-button]::before {
60
86
  transition: none;
61
87
  }
62
- [data-warm-button]:active:not([aria-haspopup]) {
63
- transform: none;
88
+ [data-warm-button]:not(:disabled):not([aria-disabled='true']):not(
89
+ [data-variant='arrow']
90
+ ):active::before {
91
+ inset: 0;
64
92
  }
65
93
  }
66
94
 
67
95
  /* Variants (from cva + overrides + edge; tokens for color/shadow/radius) */
68
96
  [data-warm-button][data-variant='default'] {
97
+ color: var(--button-primary-foreground);
98
+ }
99
+ [data-warm-button][data-variant='default']::before {
69
100
  background-color: var(--button-primary-bg);
70
101
  background-image: var(--button-primary-gradient);
71
- color: var(--button-primary-foreground);
72
102
  box-shadow: var(--button-primary-shadow);
73
103
  /* no explicit border to avoid regression; shadow provides chrome */
74
104
  }
75
- [data-warm-button][data-variant='default']:hover {
105
+ [data-warm-button][data-variant='default']:hover::before {
76
106
  background-color: var(--button-primary-hover);
77
107
  background-image: var(--button-primary-gradient-hover);
78
108
  }
79
- [data-warm-button][data-variant='default']:active {
109
+ [data-warm-button][data-variant='default']:active::before {
80
110
  background-color: var(--button-primary-active);
81
111
  }
82
112
 
83
113
  [data-warm-button][data-variant='outline'] {
114
+ border-style: none;
115
+ color: var(--background);
116
+ }
117
+ [data-warm-button][data-variant='outline']::before {
84
118
  background-color: var(--background);
119
+ background-image: var(--button-outline-fill-image);
85
120
  box-shadow: var(--button-outline-shadow);
86
- border-style: none;
87
121
  }
88
122
  [data-warm-button][data-variant='outline']:hover {
89
- background-color: var(--muted);
90
- color: var(--foreground);
91
- }
92
- .dark [data-warm-button][data-variant='outline'] {
93
- background-color: var(--warm-surface-raised-dark, var(--input));
94
- box-shadow: var(--button-outline-shadow-inset);
123
+ color: var(--background);
95
124
  }
96
- .dark [data-warm-button][data-variant='outline']:hover {
97
- background-color: var(--warm-surface-raised-hover-dark, var(--muted));
98
- }
99
- [data-warm-button][data-variant='outline']:disabled {
100
- opacity: 1;
125
+ [data-warm-button][data-variant='outline']:hover::before {
101
126
  background-color: var(--muted);
102
- color: var(--muted-foreground);
103
- box-shadow: var(--button-outline-shadow);
127
+ background-image: var(--button-outline-fill-image-hover);
104
128
  }
105
- .dark [data-warm-button][data-variant='outline']:disabled {
106
- background-color: color-mix(in oklab, var(--input) var(--button-mix-20), transparent);
107
- box-shadow: var(--button-outline-shadow-inset);
129
+ [data-warm-button][data-variant='outline']:active::before {
130
+ background-color: var(--muted);
108
131
  }
109
132
 
110
- [data-warm-button][data-variant='ghost'] {
111
- /* `background-color` (not the `background` shorthand): the shorthand
112
- implicitly resets `background-clip` to its initial `border-box`,
113
- diverging from the base recipe's `padding-box` (origin: `bg-clip-padding`
114
- with no resting-state Tailwind `bg-*` utility on ghost). */
133
+ [data-warm-button][data-variant='ghost']::before {
115
134
  background-color: transparent;
116
135
  }
117
136
  [data-warm-button][data-variant='ghost']:hover {
118
- background-color: var(--muted);
119
137
  color: var(--foreground);
120
138
  }
121
- .dark [data-warm-button][data-variant='ghost']:hover {
139
+ [data-warm-button][data-variant='ghost']:hover::before {
140
+ background-color: var(--muted);
141
+ }
142
+ .dark [data-warm-button][data-variant='ghost']:hover::before {
122
143
  background-color: color-mix(in oklab, var(--muted) var(--button-mix-50), transparent);
123
144
  }
124
-
125
145
  [data-warm-button][data-variant='destructive'] {
126
- background-color: color-mix(in oklab, var(--destructive) var(--button-mix-10), transparent);
127
146
  color: var(--destructive);
128
147
  }
129
- [data-warm-button][data-variant='destructive']:hover {
148
+ [data-warm-button][data-variant='destructive']::before {
149
+ background-color: color-mix(in oklab, var(--destructive) var(--button-mix-10), transparent);
150
+ }
151
+ [data-warm-button][data-variant='destructive']:hover::before {
130
152
  background-color: color-mix(in oklab, var(--destructive) var(--button-mix-20), transparent);
131
153
  }
132
- .dark [data-warm-button][data-variant='destructive'] {
154
+ .dark [data-warm-button][data-variant='destructive']::before {
133
155
  background-color: color-mix(in oklab, var(--destructive) var(--button-mix-20), transparent);
134
156
  }
135
- .dark [data-warm-button][data-variant='destructive']:hover {
157
+ .dark [data-warm-button][data-variant='destructive']:hover::before {
136
158
  background-color: color-mix(in oklab, var(--destructive) var(--button-mix-30), transparent);
137
159
  }
138
160
 
@@ -145,11 +167,13 @@
145
167
  presentation. Presentation rules here use `:not([data-explicit-size])`,
146
168
  which raises their specificity above a plain variant selector, so
147
169
  `!important` is required to reproduce that same always-wins order. Box
148
- shadow is deliberately NOT `!important`: promptCategory's own
149
- `shadow-xs` legitimately overrides apple's outline-style shadow (see
150
- the promptCategory rules above), matching origin exactly. */
151
- background-color: var(--apple-button-background) !important;
170
+ shadow is deliberately NOT `!important`: promptCategory's own `shadow-xs`
171
+ legitimately overrides apple's outline-style shadow (see the promptCategory
172
+ rules above), matching origin exactly. */
152
173
  color: var(--apple-button-foreground) !important;
174
+ }
175
+ [data-warm-button][data-variant='apple']::before {
176
+ background-color: var(--apple-button-background) !important;
153
177
  box-shadow: var(--button-outline-shadow);
154
178
  }
155
179
  button[data-warm-button][data-variant='apple'] {
@@ -157,12 +181,14 @@ button[data-warm-button][data-variant='apple'] {
157
181
  background-clip: padding-box;
158
182
  }
159
183
  [data-warm-button][data-variant='apple']:hover {
184
+ color: var(--apple-button-foreground);
185
+ }
186
+ [data-warm-button][data-variant='apple']:hover::before {
160
187
  background-color: color-mix(
161
188
  in oklab,
162
189
  var(--apple-button-hover) var(--button-mix-90),
163
190
  transparent
164
191
  );
165
- color: var(--apple-button-foreground);
166
192
  }
167
193
  [data-warm-button][data-variant='arrow'] {
168
194
  border-width: 0;
@@ -205,7 +231,7 @@ button[data-warm-button][data-variant='apple'] {
205
231
  padding-left: var(--button-padding-x-lg);
206
232
  padding-right: var(--button-padding-x-lg);
207
233
  font-size: var(--button-font-size-jumbo);
208
- font-weight: 700;
234
+ font-weight: 500;
209
235
  line-height: var(--button-line-height-jumbo);
210
236
  gap: var(--button-gap);
211
237
  }
@@ -229,18 +255,6 @@ button[data-warm-button][data-variant='apple'] {
229
255
  height: var(--button-size-xs);
230
256
  padding: var(--button-padding-y-md);
231
257
  }
232
- [data-warm-button][data-presentation='assistantIcon']:not([data-explicit-size]):active:not(
233
- [aria-haspopup]
234
- ) {
235
- transform: scale(0.9);
236
- }
237
- @media (prefers-reduced-motion: reduce) {
238
- [data-warm-button][data-presentation='assistantIcon']:not([data-explicit-size]):active:not(
239
- [aria-haspopup]
240
- ) {
241
- transform: none;
242
- }
243
- }
244
258
  [data-warm-button][data-presentation='assistantRoundIcon']:not([data-explicit-size]) {
245
259
  /* old icon-round 36px */
246
260
  width: var(--button-height-icon);
@@ -264,14 +278,13 @@ button[data-warm-button][data-variant='apple'] {
264
278
  padding-top: var(--button-padding-y-md);
265
279
  padding-bottom: var(--button-padding-y-md);
266
280
  font-size: var(--button-font-size-base);
267
- font-weight: 700;
281
+ font-weight: 500;
268
282
  line-height: var(--button-line-height-base);
269
283
  background-clip: border-box;
270
284
  }
271
285
  [data-warm-button][data-presentation='promptCategory']:not([data-explicit-size]) {
272
286
  height: var(--button-height-default);
273
287
  gap: var(--button-gap);
274
- background-color: var(--background);
275
288
  padding-left: var(--button-padding-x);
276
289
  padding-right: var(--button-padding-x);
277
290
  font-size: var(--button-font-size);
@@ -279,11 +292,14 @@ button[data-warm-button][data-variant='apple'] {
279
292
  color: var(--foreground);
280
293
  transition-property: var(--button-transition-property-colors);
281
294
  }
295
+ [data-warm-button][data-presentation='promptCategory']:not([data-explicit-size])::before {
296
+ background-color: var(--background);
297
+ }
282
298
  /* legacy's `getButtonEdgeClassName` applies `shadow-xs!` (Tailwind's `!`
283
299
  important modifier) to every `default`-variant promptCategory button
284
300
  regardless of explicit/implicit sizing, overriding the default variant's
285
301
  own gradient shadow unconditionally; mirror that with `!important` here. */
286
- [data-warm-button][data-presentation='promptCategory'][data-variant='default'] {
302
+ [data-warm-button][data-presentation='promptCategory'][data-variant='default']::before {
287
303
  box-shadow: var(--shadow-xs) !important;
288
304
  }
289
305
  /* buttonPresentationClasses.promptCategory's own (non-!important) `shadow-xs`
@@ -293,10 +309,10 @@ button[data-warm-button][data-variant='apple'] {
293
309
  default is already covered, unconditionally, by the rule above. */
294
310
  [data-warm-button][data-presentation='promptCategory']:not([data-explicit-size]):not(
295
311
  [data-variant='arrow']
296
- ) {
312
+ )::before {
297
313
  box-shadow: var(--shadow-xs) !important;
298
314
  }
299
- [data-warm-button][data-presentation='promptCategory']:hover {
315
+ [data-warm-button][data-presentation='promptCategory']:hover::before {
300
316
  background-color: var(--muted);
301
317
  }
302
318
  [data-warm-button][data-presentation='promptOption']:not([data-explicit-size]) {
@@ -313,9 +329,11 @@ button[data-warm-button][data-variant='apple'] {
313
329
  background-clip: border-box;
314
330
  }
315
331
  [data-warm-button][data-presentation='sidebarIcon']:hover {
316
- background-color: var(--sidebar-accent);
317
332
  color: var(--sidebar-accent-foreground);
318
333
  }
334
+ [data-warm-button][data-presentation='sidebarIcon']:hover::before {
335
+ background-color: var(--sidebar-accent);
336
+ }
319
337
  [data-warm-button][data-presentation='tableHeader']:not([data-explicit-size]) {
320
338
  height: auto;
321
339
  min-height: 0;
@@ -332,9 +350,11 @@ button[data-warm-button][data-variant='apple'] {
332
350
  color: var(--muted-foreground);
333
351
  }
334
352
  [data-warm-button][data-presentation='tableHeader']:hover {
335
- background-color: transparent;
336
353
  color: var(--foreground);
337
354
  }
355
+ [data-warm-button][data-presentation='tableHeader']:hover::before {
356
+ background-color: transparent;
357
+ }
338
358
  [data-warm-button][data-presentation='touch']:not([data-explicit-size]) {
339
359
  min-height: var(--button-min-height-touch);
340
360
  }
@@ -352,7 +372,7 @@ button[data-warm-button][data-variant='apple'] {
352
372
  font-size: var(--button-font-size);
353
373
  font-weight: 400;
354
374
  }
355
- [data-warm-button][data-presentation='threadNew']:hover {
375
+ [data-warm-button][data-presentation='threadNew']:hover::before {
356
376
  background-color: var(--muted);
357
377
  }
358
378
  [data-warm-button][data-presentation='compact']:not([data-explicit-size]) {
@@ -400,9 +420,6 @@ button[data-warm-button][data-variant='apple'] {
400
420
  height: auto;
401
421
  padding: 0;
402
422
  gap: var(--button-gap);
403
- background-color: transparent;
404
- background-image: none;
405
- box-shadow: none;
406
423
  border-radius: 0;
407
424
  color: var(--foreground);
408
425
  font-size: var(--button-font-size-base);
@@ -414,7 +431,12 @@ button[data-warm-button][data-variant='apple'] {
414
431
  icon-only arrow buttons measure 16/20px tall matching their glyph, never
415
432
  the 24px text strut). */
416
433
  line-height: var(--button-line-height-base);
417
- font-weight: 700;
434
+ font-weight: 500;
435
+ }
436
+ [data-warm-button][data-variant='arrow'][data-variant='arrow']::before {
437
+ background-color: transparent;
438
+ background-image: none;
439
+ box-shadow: none;
418
440
  }
419
441
 
420
442
  /* SVG rules (from cva) */
@@ -473,19 +495,19 @@ button[data-warm-button][data-variant='apple'] {
473
495
  box-shadow: 0 0 0 var(--button-focus-ring)
474
496
  color-mix(in oklab, var(--destructive) var(--button-mix-40), transparent);
475
497
  }
476
- [data-warm-button][data-variant='ghost'][aria-expanded='true'],
477
- [data-warm-button][data-variant='outline'][aria-expanded='true'] {
478
- background-color: var(--muted);
498
+ [data-warm-button][data-variant='ghost'][aria-expanded='true'] {
479
499
  color: var(--foreground);
480
500
  }
501
+ [data-warm-button][data-variant='ghost'][aria-expanded='true']::before {
502
+ background-color: var(--muted);
503
+ }
481
504
 
482
505
  /* Disabled base + variant overrides (keep full shadow/border for some) */
483
506
  [data-warm-button]:disabled {
484
507
  pointer-events: none;
485
508
  opacity: 0.5;
486
509
  }
487
- [data-warm-button][data-variant='apple']:disabled,
488
- [data-warm-button][data-variant='outline']:disabled {
510
+ [data-warm-button][data-variant='apple']:disabled {
489
511
  opacity: 1;
490
512
  }
491
513
 
@@ -497,7 +519,7 @@ button[data-warm-button][data-variant='apple'] {
497
519
  }
498
520
  [data-warm-logo] > span {
499
521
  font-size: var(--logo-font-size);
500
- font-weight: 700;
522
+ font-weight: 500;
501
523
  letter-spacing: var(--logo-letter-spacing);
502
524
  }
503
525
  svg[data-warm-logo] {
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.7.0",
3
+ "version": "1.9.0",
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);
@@ -58,18 +58,25 @@
58
58
  SURFACES — From brand-neutral
59
59
  Backgrounds, cards, borders - subtle tinted neutrals.
60
60
  ══════════════════════════════════════════════════════════════════════════ */
61
- --background: oklch(1 0 0);
62
- --foreground: oklch(0.147 0 0);
63
- --card: oklch(1 0 0);
64
- --card-gradient-start: oklch(1 0 0);
61
+ --background: rgba(230, 230, 230, 1);
62
+ --foreground: #292929;
63
+ --card: rgba(240, 240, 240, 1);
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
 
@@ -100,7 +107,7 @@
100
107
  /* ══════════════════════════════════════════════════════════════════════════
101
108
  SIDEBAR — Transparent to show body texture
102
109
  ══════════════════════════════════════════════════════════════════════════ */
103
- --sidebar: oklch(0.986 0 0);
110
+ --sidebar: rgba(230, 230, 230, 1);
104
111
  --sidebar-foreground: var(--foreground);
105
112
  --sidebar-primary: var(--primary);
106
113
  --sidebar-primary-foreground: var(--primary-foreground);
@@ -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;
@@ -227,6 +234,8 @@
227
234
  --motion-distance-sm: 0.25rem;
228
235
  --motion-distance-md: 0.5rem;
229
236
  --motion-distance-lg: 1rem;
237
+ --button-press-inset: 1px;
238
+ --button-press-easing: cubic-bezier(0.23, 1, 0.32, 1);
230
239
 
231
240
  /* Aliases keep one scale; legacy names resolve to motion; chart uses slow (nonessential scale) */
232
241
  --transition-fast: var(--motion-duration-fast);
@@ -239,34 +248,24 @@
239
248
  --button-padding-y-md: 0.5rem;
240
249
  --button-padding-x-lg: 1.75rem;
241
250
  --button-padding-y-lg: 0.75rem;
242
- --button-font-size: 0.875rem;
251
+ --button-font-size: var(--type-size-body);
243
252
  --button-gap: 0.5rem;
244
253
  --default-button-gradient-start: oklch(1 0 0);
245
254
  --default-button-gradient-end: oklch(0.92 0 0);
246
255
  --default-button-active: oklch(0.91 0 0);
247
- --button-primary-bg: var(--primary);
248
- --button-primary-foreground: var(--primary-foreground);
249
- --button-primary-border: oklch(0 0 0 / 0.18);
250
- --button-primary-hover: oklch(from var(--primary) calc(l + 0.08) c h);
251
- --button-primary-active: oklch(from var(--primary) calc(l - 0.04) c h);
256
+ --button-primary-bg: oklch(0.99 0 0);
257
+ --button-primary-foreground: oklch(0.17 0 0);
258
+ --button-primary-border: oklch(1 0 0 / 0.18);
259
+ --button-primary-hover: oklch(1 0 0);
260
+ --button-primary-active: oklch(0.94 0 0);
252
261
  --button-primary-shadow:
253
- 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,
254
- 0 1px 2px rgb(0 0 0 / 0.18);
255
- --button-outline-shadow: 0 0 0 1px var(--border), 0 1px 2px rgb(0 0 0 / 0.18);
256
- --button-primary-gradient: linear-gradient(
257
- to bottom,
258
- #46453e 0%,
259
- #383731 28%,
260
- #292824 64%,
261
- #1d1c19 100%
262
- );
263
- --button-primary-gradient-hover: linear-gradient(
264
- to bottom,
265
- #4f4e48 0%,
266
- #42413b 28%,
267
- #34332f 64%,
268
- #282724 100%
269
- );
262
+ inset 0 1px 0 rgb(255 255 255), 0 0 0 1px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.1);
263
+ --button-outline-shadow: none;
264
+ /* Outline uses the neutral dark button gradient in light mode. */
265
+ --button-outline-fill-image: linear-gradient(to bottom, #4d4d4d 0%, #333333 100%);
266
+ --button-outline-fill-image-hover: linear-gradient(to bottom, #4d4d4d 0%, #333333 100%);
267
+ --button-primary-gradient: linear-gradient(to bottom, #f2f2f2 0%, #e6e6e6 100%);
268
+ --button-primary-gradient-hover: linear-gradient(to bottom, #f2f2f2 0%, #e6e6e6 100%);
270
269
  --apple-button-background: var(--foreground);
271
270
  --apple-button-foreground: var(--background);
272
271
  --apple-button-hover: var(--apple-button-background);
@@ -281,12 +280,12 @@
281
280
  --button-min-height-touch: 2.75rem;
282
281
  --button-min-height-option: 4rem;
283
282
  --button-padding-x: 1.25rem;
284
- --button-font-size-base: 1rem;
285
- --button-font-size-jumbo: 1.125rem;
286
- --button-line-height-base: 1.5rem;
287
- --button-line-height: 1.25rem;
288
- --button-line-height-jumbo: 1.75rem;
289
- --button-line-height-hero: 1.5rem;
283
+ --button-font-size-base: var(--type-size-body);
284
+ --button-font-size-jumbo: var(--type-size-body);
285
+ --button-line-height-base: 1.25;
286
+ --button-line-height: 1.25;
287
+ --button-line-height-jumbo: 1.25;
288
+ --button-line-height-hero: 1.25;
290
289
  --button-icon-size: 1rem;
291
290
  --button-icon-size-jumbo: 1.25rem;
292
291
  --button-icon-size-xs: 0.75rem;
@@ -300,10 +299,11 @@
300
299
  --logo-size-default: 1.75rem;
301
300
  --logo-size-feature: 2rem;
302
301
  --logo-size-hero: 3.5rem;
303
- --logo-font-size: 0.875rem;
302
+ --logo-font-size: var(--type-size-body);
304
303
  --logo-letter-spacing: 0.025em;
305
304
  --logo-gap: 0.5rem;
306
305
  --button-transition-property: color, background-color, box-shadow, border-color, transform;
306
+ --button-surface-transition-property: inset, background-color, box-shadow;
307
307
  --button-transition-property-colors:
308
308
  color, background-color, border-color, outline-color, text-decoration-color, fill, stroke,
309
309
  --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
@@ -318,7 +318,6 @@
318
318
  --button-mix-50: 50%;
319
319
  --button-mix-90: 90%;
320
320
  --radius-full: 33554400px;
321
- --button-outline-shadow-inset: inset 0 1px 0 rgb(255 255 255 / 0.1);
322
321
 
323
322
  /* Form Specific */
324
323
  --input-height: 2.25rem;
@@ -357,8 +356,8 @@
357
356
  --radius-lg: 0.75rem;
358
357
  --radius-xl: 1rem;
359
358
 
360
- /* Interactive element radius — applied to buttons and form inputs */
361
- --radius-interactive: 0.25rem;
359
+ /* Buttons, inputs, and CTA controls use a pill radius. */
360
+ --radius-interactive: var(--radius-full);
362
361
 
363
362
  /* Page Layout */
364
363
  --page-padding-mobile: 0.5rem;
@@ -401,12 +400,13 @@
401
400
  .dark {
402
401
  /* ─── Surfaces (dark backgrounds from neutral) ─── */
403
402
  --background: lab(7.31616 0.094689 -0.345469);
404
- --foreground: oklch(0.915 0 0);
403
+ --foreground: #f5f5f5;
405
404
  --card: lab(10.7293 0.100255 -0.363475);
406
405
  --card-gradient-start: oklch(0.325 0 0);
407
406
  --card-foreground: var(--foreground);
408
407
  --muted: var(--card);
409
- --muted-foreground: oklch(0.795 0 0 / 0.6);
408
+ --muted-foreground: #c2c2c2;
409
+ --tertiary-foreground: #8f8f8f;
410
410
  --border: oklch(0.385 0 0);
411
411
 
412
412
  /* Alternating section backgrounds - notably darker for visual distinction */
@@ -435,32 +435,20 @@
435
435
  --default-button-gradient-start: oklch(0.4 0 0);
436
436
  --default-button-gradient-end: oklch(0.3 0 0);
437
437
  --default-button-active: oklch(0.15 0 0);
438
- --button-primary-bg: oklch(0.99 0 0);
439
- --button-primary-foreground: oklch(0.17 0 0);
440
- --button-primary-border: oklch(1 0 0 / 0.18);
441
- --button-primary-hover: oklch(1 0 0);
442
- --button-primary-active: oklch(0.94 0 0);
443
- --button-primary-shadow:
444
- 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);
445
- --button-outline-shadow: 0 0 0 1px var(--border), 0 2px 3px rgb(0 0 0 / 0.28);
446
- --button-primary-gradient: linear-gradient(
447
- to bottom,
448
- #ffffff 0%,
449
- #f8f7f4 28%,
450
- #f0eee9 64%,
451
- #e4e1db 100%
452
- );
453
- --button-primary-gradient-hover: linear-gradient(
454
- to bottom,
455
- #f2f2f2 0%,
456
- #ecebe8 28%,
457
- #e4e2dd 64%,
458
- #d9d6d0 100%
459
- );
438
+ --button-primary-bg: var(--primary);
439
+ --button-primary-foreground: oklch(1 0 0);
440
+ --button-primary-border: oklch(0 0 0 / 0.18);
441
+ --button-primary-hover: oklch(from var(--primary) calc(l + 0.08) c h);
442
+ --button-primary-active: oklch(from var(--primary) calc(l - 0.04) c h);
443
+ --button-primary-shadow: inset 0 1px 0 #808080;
444
+ --button-outline-shadow: inset 0 1px 0 rgb(255 255 255);
445
+ --button-outline-fill-image: linear-gradient(to bottom, #f2f2f2 0%, #e6e6e6 100%);
446
+ --button-outline-fill-image-hover: linear-gradient(to bottom, #f2f2f2 0%, #e6e6e6 100%);
447
+ --button-primary-gradient: linear-gradient(to bottom, #4d4d4d 0%, #333333 100%);
448
+ --button-primary-gradient-hover: linear-gradient(to bottom, #4d4d4d 0%, #333333 100%);
460
449
  --apple-button-background: oklch(0 0 0);
461
450
  --apple-button-foreground: oklch(1 0 0);
462
451
  --apple-button-hover: var(--apple-button-background);
463
- --button-outline-shadow-inset: inset 0 1px 0 rgb(255 255 255 / 0.1);
464
452
 
465
453
  /* Sidebar = solid dark surface */
466
454
  --sidebar: var(--background);
@@ -514,10 +502,6 @@
514
502
  --info-bg-subtle: oklch(0.2 0.02 250);
515
503
  --info-bg-muted: oklch(0.25 0.04 250);
516
504
  --info-border: oklch(0.35 0.05 250);
517
-
518
- /* ─── Effects (dark mode) ─── */
519
- --overlay-subtle: rgb(0 0 0 / 0.2);
520
- --shadow-card-edge-tight: rgb(0 0 0 / 0.26);
521
505
  --overlay-light: rgb(0 0 0 / 0.3);
522
506
  --overlay-medium: rgb(0 0 0 / 0.4);
523
507
  --overlay-strong: rgb(0 0 0 / 0.5);
@@ -554,12 +538,12 @@
554
538
  ════════════════════════════════════════════════════════════════════════════ */
555
539
  .light {
556
540
  /* ─── Surfaces (light backgrounds from neutral) ─── */
557
- --background: oklch(0.99 0 0);
541
+ --background: rgba(230, 230, 230, 1);
558
542
  --foreground: oklch(0.35 0 0);
559
- --card: oklch(0.998 0 0);
560
- --card-gradient-start: oklch(1 0 0);
561
- --card-foreground: var(--foreground);
543
+ --card: rgba(240, 240, 240, 1);
544
+ --card-gradient-start: rgba(240, 240, 240, 1);
562
545
  --muted: oklch(0.917 0 0);
546
+ --sidebar: rgba(230, 230, 230, 1);
563
547
  --muted-foreground: oklch(0.532 0 0 / 0.8);
564
548
  --border: oklch(0.852 0 0);
565
549
 
@@ -583,22 +567,21 @@
583
567
  --default-button-gradient-end: oklch(0.92 0 0);
584
568
  --default-button-active: oklch(0.91 0 0);
585
569
  --button-primary-shadow:
586
- 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,
587
- 0 1px 2px rgb(0 0 0 / 0.18);
570
+ 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);
588
571
  --button-outline-shadow: 0 0 0 1px var(--border), 0 1px 2px rgb(0 0 0 / 0.18);
589
572
  --button-primary-gradient: linear-gradient(
590
573
  to bottom,
591
- #46453e 0%,
592
- #383731 28%,
593
- #292824 64%,
594
- #1d1c19 100%
574
+ #ffffff 0%,
575
+ #f8f7f4 28%,
576
+ #f0eee9 64%,
577
+ #e4e1db 100%
595
578
  );
596
579
  --button-primary-gradient-hover: linear-gradient(
597
580
  to bottom,
598
- #4f4e48 0%,
599
- #42413b 28%,
600
- #34332f 64%,
601
- #282724 100%
581
+ #f2f2f2 0%,
582
+ #ecebe8 28%,
583
+ #e4e2dd 64%,
584
+ #d9d6d0 100%
602
585
  );
603
586
 
604
587
  /* Charts */
@@ -694,6 +677,7 @@
694
677
  --color-secondary-foreground: var(--secondary-foreground);
695
678
  --color-muted: var(--muted);
696
679
  --color-muted-foreground: var(--muted-foreground);
680
+ --color-tertiary-foreground: var(--tertiary-foreground);
697
681
  --color-accent: var(--accent);
698
682
  --color-accent-foreground: var(--accent-foreground);
699
683
  --color-accent-solid: var(--accent-solid);
@@ -796,5 +780,19 @@
796
780
  --shadow-lg: var(--shadow-lg);
797
781
  --shadow-xl: var(--shadow-xl);
798
782
  --shadow-2xl: var(--shadow-2xl);
799
- --shadow-card-edge: var(--shadow-border);
783
+ --shadow-card-edge:
784
+ var(--shadow-border), inset 0 1px rgba(255, 255, 255, 1), inset 1px 0 rgba(255, 255, 255, 0.5),
785
+ inset -1px 0 rgba(255, 255, 255, 0.5);
786
+ }
787
+
788
+ /* Dark cards use an outer highlight instead of the light inset highlight. */
789
+ .dark {
790
+ --shadow-card-edge:
791
+ var(--shadow-border), 0 1px rgba(255, 255, 255, 0.2), 1px 0 rgba(255, 255, 255, 0.1),
792
+ -1px 0 rgba(255, 255, 255, 0.1);
793
+ }
794
+
795
+ /* Dark cards use one simple outer edge highlight. */
796
+ .dark .shadow-card-edge {
797
+ --tw-shadow: 0 -1px 0 #333;
800
798
  }
@@ -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.