@warmio/design 1.8.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.
- package/README.md +5 -6
- package/components.css +15 -32
- package/fonts.css +11 -90
- package/package.json +2 -2
- package/theme.css +60 -79
- package/LICENSES/merriweather-OFL-1.1.txt +0 -93
- package/fonts/merriweather-latin-400-italic.woff2 +0 -0
- package/fonts/merriweather-latin-400-normal.woff2 +0 -0
- package/fonts/merriweather-latin-700-normal.woff2 +0 -0
- package/fonts/merriweather-latin-ext-400-italic.woff2 +0 -0
- package/fonts/merriweather-latin-ext-400-normal.woff2 +0 -0
- package/fonts/merriweather-latin-ext-700-normal.woff2 +0 -0
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
|
|
18
|
-
|
|
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,9 @@ Package ships `components.css` (token-only styles for the primitives) and `dist/
|
|
|
25
25
|
|
|
26
26
|
## Releases
|
|
27
27
|
|
|
28
|
-
The next version, `1.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Upstream attribution is in `LICENSES/fluid-functionalism.txt`.
|
|
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.
|
|
32
31
|
|
|
33
32
|
Bump this `package.json` version for additive tokens (incl. motion/surface), fonts,
|
|
34
33
|
spacing, or primitive changes. Follow the exact sequence in
|
package/components.css
CHANGED
|
@@ -112,35 +112,22 @@
|
|
|
112
112
|
|
|
113
113
|
[data-warm-button][data-variant='outline'] {
|
|
114
114
|
border-style: none;
|
|
115
|
+
color: var(--background);
|
|
115
116
|
}
|
|
116
117
|
[data-warm-button][data-variant='outline']::before {
|
|
117
118
|
background-color: var(--background);
|
|
119
|
+
background-image: var(--button-outline-fill-image);
|
|
118
120
|
box-shadow: var(--button-outline-shadow);
|
|
119
121
|
}
|
|
120
122
|
[data-warm-button][data-variant='outline']:hover {
|
|
121
|
-
color: var(--
|
|
123
|
+
color: var(--background);
|
|
122
124
|
}
|
|
123
125
|
[data-warm-button][data-variant='outline']:hover::before {
|
|
124
126
|
background-color: var(--muted);
|
|
127
|
+
background-image: var(--button-outline-fill-image-hover);
|
|
125
128
|
}
|
|
126
|
-
|
|
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 {
|
|
129
|
+
[data-warm-button][data-variant='outline']:active::before {
|
|
138
130
|
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
131
|
}
|
|
145
132
|
|
|
146
133
|
[data-warm-button][data-variant='ghost']::before {
|
|
@@ -155,7 +142,6 @@
|
|
|
155
142
|
.dark [data-warm-button][data-variant='ghost']:hover::before {
|
|
156
143
|
background-color: color-mix(in oklab, var(--muted) var(--button-mix-50), transparent);
|
|
157
144
|
}
|
|
158
|
-
|
|
159
145
|
[data-warm-button][data-variant='destructive'] {
|
|
160
146
|
color: var(--destructive);
|
|
161
147
|
}
|
|
@@ -181,9 +167,9 @@
|
|
|
181
167
|
presentation. Presentation rules here use `:not([data-explicit-size])`,
|
|
182
168
|
which raises their specificity above a plain variant selector, so
|
|
183
169
|
`!important` is required to reproduce that same always-wins order. Box
|
|
184
|
-
shadow is deliberately NOT `!important`: promptCategory's own
|
|
185
|
-
|
|
186
|
-
|
|
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. */
|
|
187
173
|
color: var(--apple-button-foreground) !important;
|
|
188
174
|
}
|
|
189
175
|
[data-warm-button][data-variant='apple']::before {
|
|
@@ -245,7 +231,7 @@ button[data-warm-button][data-variant='apple'] {
|
|
|
245
231
|
padding-left: var(--button-padding-x-lg);
|
|
246
232
|
padding-right: var(--button-padding-x-lg);
|
|
247
233
|
font-size: var(--button-font-size-jumbo);
|
|
248
|
-
font-weight:
|
|
234
|
+
font-weight: 500;
|
|
249
235
|
line-height: var(--button-line-height-jumbo);
|
|
250
236
|
gap: var(--button-gap);
|
|
251
237
|
}
|
|
@@ -292,7 +278,7 @@ button[data-warm-button][data-variant='apple'] {
|
|
|
292
278
|
padding-top: var(--button-padding-y-md);
|
|
293
279
|
padding-bottom: var(--button-padding-y-md);
|
|
294
280
|
font-size: var(--button-font-size-base);
|
|
295
|
-
font-weight:
|
|
281
|
+
font-weight: 500;
|
|
296
282
|
line-height: var(--button-line-height-base);
|
|
297
283
|
background-clip: border-box;
|
|
298
284
|
}
|
|
@@ -445,7 +431,7 @@ button[data-warm-button][data-variant='apple'] {
|
|
|
445
431
|
icon-only arrow buttons measure 16/20px tall matching their glyph, never
|
|
446
432
|
the 24px text strut). */
|
|
447
433
|
line-height: var(--button-line-height-base);
|
|
448
|
-
font-weight:
|
|
434
|
+
font-weight: 500;
|
|
449
435
|
}
|
|
450
436
|
[data-warm-button][data-variant='arrow'][data-variant='arrow']::before {
|
|
451
437
|
background-color: transparent;
|
|
@@ -509,12 +495,10 @@ button[data-warm-button][data-variant='apple'] {
|
|
|
509
495
|
box-shadow: 0 0 0 var(--button-focus-ring)
|
|
510
496
|
color-mix(in oklab, var(--destructive) var(--button-mix-40), transparent);
|
|
511
497
|
}
|
|
512
|
-
[data-warm-button][data-variant='ghost'][aria-expanded='true']
|
|
513
|
-
[data-warm-button][data-variant='outline'][aria-expanded='true'] {
|
|
498
|
+
[data-warm-button][data-variant='ghost'][aria-expanded='true'] {
|
|
514
499
|
color: var(--foreground);
|
|
515
500
|
}
|
|
516
|
-
[data-warm-button][data-variant='ghost'][aria-expanded='true']::before
|
|
517
|
-
[data-warm-button][data-variant='outline'][aria-expanded='true']::before {
|
|
501
|
+
[data-warm-button][data-variant='ghost'][aria-expanded='true']::before {
|
|
518
502
|
background-color: var(--muted);
|
|
519
503
|
}
|
|
520
504
|
|
|
@@ -523,8 +507,7 @@ button[data-warm-button][data-variant='apple'] {
|
|
|
523
507
|
pointer-events: none;
|
|
524
508
|
opacity: 0.5;
|
|
525
509
|
}
|
|
526
|
-
[data-warm-button][data-variant='apple']:disabled
|
|
527
|
-
[data-warm-button][data-variant='outline']:disabled {
|
|
510
|
+
[data-warm-button][data-variant='apple']:disabled {
|
|
528
511
|
opacity: 1;
|
|
529
512
|
}
|
|
530
513
|
|
|
@@ -536,7 +519,7 @@ button[data-warm-button][data-variant='apple'] {
|
|
|
536
519
|
}
|
|
537
520
|
[data-warm-logo] > span {
|
|
538
521
|
font-size: var(--logo-font-size);
|
|
539
|
-
font-weight:
|
|
522
|
+
font-weight: 500;
|
|
540
523
|
letter-spacing: var(--logo-letter-spacing);
|
|
541
524
|
}
|
|
542
525
|
svg[data-warm-logo] {
|
package/fonts.css
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
|
-
*
|
|
3
|
-
*
|
|
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:
|
|
135
|
-
--font-geist: var(--font-
|
|
136
|
-
--font-display: var(--font-
|
|
137
|
-
--font-editorial-sans: var(--font-
|
|
138
|
-
--font-default: var(--font-
|
|
139
|
-
--font-serif:
|
|
140
|
-
--font-marketing-sans: var(--font-
|
|
141
|
-
--font-heading: var(--font-
|
|
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.
|
|
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": "
|
|
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:
|
|
31
|
-
--primary-foreground:
|
|
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:
|
|
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:
|
|
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
|
|
|
@@ -203,9 +210,9 @@
|
|
|
203
210
|
NON-COLOR TOKENS (shared across all themes)
|
|
204
211
|
══════════════════════════════════════════════════════════════════════════ */
|
|
205
212
|
|
|
206
|
-
/* Typography —
|
|
207
|
-
|
|
208
|
-
--tracking-normal:
|
|
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;
|
|
@@ -241,34 +248,24 @@
|
|
|
241
248
|
--button-padding-y-md: 0.5rem;
|
|
242
249
|
--button-padding-x-lg: 1.75rem;
|
|
243
250
|
--button-padding-y-lg: 0.75rem;
|
|
244
|
-
--button-font-size:
|
|
251
|
+
--button-font-size: var(--type-size-body);
|
|
245
252
|
--button-gap: 0.5rem;
|
|
246
253
|
--default-button-gradient-start: oklch(1 0 0);
|
|
247
254
|
--default-button-gradient-end: oklch(0.92 0 0);
|
|
248
255
|
--default-button-active: oklch(0.91 0 0);
|
|
249
|
-
--button-primary-bg:
|
|
250
|
-
--button-primary-foreground:
|
|
251
|
-
--button-primary-border: oklch(
|
|
252
|
-
--button-primary-hover: oklch(
|
|
253
|
-
--button-primary-active: oklch(
|
|
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);
|
|
254
261
|
--button-primary-shadow:
|
|
255
|
-
inset 0 1px 0 rgb(255 255 255
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
--button-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
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
|
-
);
|
|
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%);
|
|
272
269
|
--apple-button-background: var(--foreground);
|
|
273
270
|
--apple-button-foreground: var(--background);
|
|
274
271
|
--apple-button-hover: var(--apple-button-background);
|
|
@@ -283,12 +280,12 @@
|
|
|
283
280
|
--button-min-height-touch: 2.75rem;
|
|
284
281
|
--button-min-height-option: 4rem;
|
|
285
282
|
--button-padding-x: 1.25rem;
|
|
286
|
-
--button-font-size-base:
|
|
287
|
-
--button-font-size-jumbo:
|
|
288
|
-
--button-line-height-base: 1.
|
|
289
|
-
--button-line-height: 1.
|
|
290
|
-
--button-line-height-jumbo: 1.
|
|
291
|
-
--button-line-height-hero: 1.
|
|
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;
|
|
292
289
|
--button-icon-size: 1rem;
|
|
293
290
|
--button-icon-size-jumbo: 1.25rem;
|
|
294
291
|
--button-icon-size-xs: 0.75rem;
|
|
@@ -302,7 +299,7 @@
|
|
|
302
299
|
--logo-size-default: 1.75rem;
|
|
303
300
|
--logo-size-feature: 2rem;
|
|
304
301
|
--logo-size-hero: 3.5rem;
|
|
305
|
-
--logo-font-size:
|
|
302
|
+
--logo-font-size: var(--type-size-body);
|
|
306
303
|
--logo-letter-spacing: 0.025em;
|
|
307
304
|
--logo-gap: 0.5rem;
|
|
308
305
|
--button-transition-property: color, background-color, box-shadow, border-color, transform;
|
|
@@ -321,7 +318,6 @@
|
|
|
321
318
|
--button-mix-50: 50%;
|
|
322
319
|
--button-mix-90: 90%;
|
|
323
320
|
--radius-full: 33554400px;
|
|
324
|
-
--button-outline-shadow-inset: inset 0 1px 0 rgb(255 255 255 / 0.1);
|
|
325
321
|
|
|
326
322
|
/* Form Specific */
|
|
327
323
|
--input-height: 2.25rem;
|
|
@@ -360,8 +356,8 @@
|
|
|
360
356
|
--radius-lg: 0.75rem;
|
|
361
357
|
--radius-xl: 1rem;
|
|
362
358
|
|
|
363
|
-
/*
|
|
364
|
-
--radius-interactive:
|
|
359
|
+
/* Buttons, inputs, and CTA controls use a pill radius. */
|
|
360
|
+
--radius-interactive: var(--radius-full);
|
|
365
361
|
|
|
366
362
|
/* Page Layout */
|
|
367
363
|
--page-padding-mobile: 0.5rem;
|
|
@@ -404,12 +400,13 @@
|
|
|
404
400
|
.dark {
|
|
405
401
|
/* ─── Surfaces (dark backgrounds from neutral) ─── */
|
|
406
402
|
--background: lab(7.31616 0.094689 -0.345469);
|
|
407
|
-
--foreground:
|
|
403
|
+
--foreground: #f5f5f5;
|
|
408
404
|
--card: lab(10.7293 0.100255 -0.363475);
|
|
409
405
|
--card-gradient-start: oklch(0.325 0 0);
|
|
410
406
|
--card-foreground: var(--foreground);
|
|
411
407
|
--muted: var(--card);
|
|
412
|
-
--muted-foreground:
|
|
408
|
+
--muted-foreground: #c2c2c2;
|
|
409
|
+
--tertiary-foreground: #8f8f8f;
|
|
413
410
|
--border: oklch(0.385 0 0);
|
|
414
411
|
|
|
415
412
|
/* Alternating section backgrounds - notably darker for visual distinction */
|
|
@@ -438,32 +435,20 @@
|
|
|
438
435
|
--default-button-gradient-start: oklch(0.4 0 0);
|
|
439
436
|
--default-button-gradient-end: oklch(0.3 0 0);
|
|
440
437
|
--default-button-active: oklch(0.15 0 0);
|
|
441
|
-
--button-primary-bg:
|
|
442
|
-
--button-primary-foreground: oklch(
|
|
443
|
-
--button-primary-border: oklch(
|
|
444
|
-
--button-primary-hover: oklch(
|
|
445
|
-
--button-primary-active: oklch(0.
|
|
446
|
-
--button-primary-shadow:
|
|
447
|
-
|
|
448
|
-
--button-outline-
|
|
449
|
-
--button-
|
|
450
|
-
|
|
451
|
-
|
|
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
|
-
);
|
|
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%);
|
|
463
449
|
--apple-button-background: oklch(0 0 0);
|
|
464
450
|
--apple-button-foreground: oklch(1 0 0);
|
|
465
451
|
--apple-button-hover: var(--apple-button-background);
|
|
466
|
-
--button-outline-shadow-inset: inset 0 1px 0 rgb(255 255 255 / 0.1);
|
|
467
452
|
|
|
468
453
|
/* Sidebar = solid dark surface */
|
|
469
454
|
--sidebar: var(--background);
|
|
@@ -517,10 +502,6 @@
|
|
|
517
502
|
--info-bg-subtle: oklch(0.2 0.02 250);
|
|
518
503
|
--info-bg-muted: oklch(0.25 0.04 250);
|
|
519
504
|
--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
505
|
--overlay-light: rgb(0 0 0 / 0.3);
|
|
525
506
|
--overlay-medium: rgb(0 0 0 / 0.4);
|
|
526
507
|
--overlay-strong: rgb(0 0 0 / 0.5);
|
|
@@ -586,22 +567,21 @@
|
|
|
586
567
|
--default-button-gradient-end: oklch(0.92 0 0);
|
|
587
568
|
--default-button-active: oklch(0.91 0 0);
|
|
588
569
|
--button-primary-shadow:
|
|
589
|
-
inset 0 1px 0 rgb(255 255 255
|
|
590
|
-
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);
|
|
591
571
|
--button-outline-shadow: 0 0 0 1px var(--border), 0 1px 2px rgb(0 0 0 / 0.18);
|
|
592
572
|
--button-primary-gradient: linear-gradient(
|
|
593
573
|
to bottom,
|
|
594
|
-
#
|
|
595
|
-
#
|
|
596
|
-
#
|
|
597
|
-
#
|
|
574
|
+
#ffffff 0%,
|
|
575
|
+
#f8f7f4 28%,
|
|
576
|
+
#f0eee9 64%,
|
|
577
|
+
#e4e1db 100%
|
|
598
578
|
);
|
|
599
579
|
--button-primary-gradient-hover: linear-gradient(
|
|
600
580
|
to bottom,
|
|
601
|
-
#
|
|
602
|
-
#
|
|
603
|
-
#
|
|
604
|
-
#
|
|
581
|
+
#f2f2f2 0%,
|
|
582
|
+
#ecebe8 28%,
|
|
583
|
+
#e4e2dd 64%,
|
|
584
|
+
#d9d6d0 100%
|
|
605
585
|
);
|
|
606
586
|
|
|
607
587
|
/* Charts */
|
|
@@ -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.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|