@warmio/design 4.2.0 → 4.4.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/LICENSES/{jetbrains-mono-OFL-1.1.txt → google-sans-code-OFL-1.1.txt} +4 -4
- package/README.md +1 -1
- package/fonts/google-sans-code-latin-ext-wght-italic.woff2 +0 -0
- package/fonts/google-sans-code-latin-ext-wght-normal.woff2 +0 -0
- package/fonts/google-sans-code-latin-wght-italic.woff2 +0 -0
- package/fonts/google-sans-code-latin-wght-normal.woff2 +0 -0
- package/fonts.css +13 -13
- package/package.json +1 -1
- package/theme.css +62 -15
- package/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Copyright
|
|
1
|
+
Copyright 2025 The Google Sans Code Project Authors (github.com/googlefonts/googlesans-code)
|
|
2
2
|
|
|
3
3
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
4
|
This license is copied below, and is also available with a FAQ at:
|
|
5
|
-
|
|
5
|
+
https://openfontlicense.org
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
-----------------------------------------------------------
|
|
@@ -18,7 +18,7 @@ with others.
|
|
|
18
18
|
|
|
19
19
|
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
20
|
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
-
fonts, including any derivative works, can be bundled, embedded,
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
22
|
redistributed and/or sold with any software provided that any reserved
|
|
23
23
|
names are not used by derivative works. The fonts and derivatives,
|
|
24
24
|
however, cannot be released under any other type of license. The
|
|
@@ -90,4 +90,4 @@ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
|
90
90
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
91
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
92
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
-
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ import { Logo, WarmLogoIcon } from '@warmio/design/logo';
|
|
|
17
17
|
The product UI uses Inter, self-hosted from `fonts/` as wght variable latin and
|
|
18
18
|
latin-ext subsets (normal and italic, Inter 4.001 from `@fontsource-variable/inter`
|
|
19
19
|
5.3.0, OFL in `LICENSES/inter-OFL-1.1.txt`). No font loads from Google.
|
|
20
|
-
Numbers and money use the `--font-numeric` Inter role with tabular figures;
|
|
20
|
+
Numbers and money use the `--font-numeric` Inter role with tabular figures; Google Sans Code is used for code, keys, and identifiers. The interface uses regular (400) and medium (500) weights.
|
|
21
21
|
|
|
22
22
|
`--accent-solid` is the one chromatic accent for links, badges, and highlights.
|
|
23
23
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/fonts.css
CHANGED
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
@font-face {
|
|
56
|
-
font-family: '
|
|
56
|
+
font-family: 'Google Sans Code';
|
|
57
57
|
font-style: normal;
|
|
58
58
|
font-display: swap;
|
|
59
|
-
font-weight:
|
|
60
|
-
src: url('./fonts/
|
|
59
|
+
font-weight: 300 800;
|
|
60
|
+
src: url('./fonts/google-sans-code-latin-ext-wght-normal.woff2') format('woff2-variations');
|
|
61
61
|
unicode-range:
|
|
62
62
|
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
63
63
|
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
@@ -65,22 +65,22 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
@font-face {
|
|
68
|
-
font-family: '
|
|
68
|
+
font-family: 'Google Sans Code';
|
|
69
69
|
font-style: normal;
|
|
70
70
|
font-display: swap;
|
|
71
|
-
font-weight:
|
|
72
|
-
src: url('./fonts/
|
|
71
|
+
font-weight: 300 800;
|
|
72
|
+
src: url('./fonts/google-sans-code-latin-wght-normal.woff2') format('woff2-variations');
|
|
73
73
|
unicode-range:
|
|
74
74
|
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
75
75
|
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
@font-face {
|
|
79
|
-
font-family: '
|
|
79
|
+
font-family: 'Google Sans Code';
|
|
80
80
|
font-style: italic;
|
|
81
81
|
font-display: swap;
|
|
82
|
-
font-weight:
|
|
83
|
-
src: url('./fonts/
|
|
82
|
+
font-weight: 300 800;
|
|
83
|
+
src: url('./fonts/google-sans-code-latin-ext-wght-italic.woff2') format('woff2-variations');
|
|
84
84
|
unicode-range:
|
|
85
85
|
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
86
86
|
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
@@ -88,18 +88,18 @@
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@font-face {
|
|
91
|
-
font-family: '
|
|
91
|
+
font-family: 'Google Sans Code';
|
|
92
92
|
font-style: italic;
|
|
93
93
|
font-display: swap;
|
|
94
|
-
font-weight:
|
|
95
|
-
src: url('./fonts/
|
|
94
|
+
font-weight: 300 800;
|
|
95
|
+
src: url('./fonts/google-sans-code-latin-wght-italic.woff2') format('woff2-variations');
|
|
96
96
|
unicode-range:
|
|
97
97
|
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
98
98
|
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
:root {
|
|
102
|
-
--font-mono: '
|
|
102
|
+
--font-mono: 'Google Sans Code', ui-monospace, monospace;
|
|
103
103
|
--font-sans: 'Inter', sans-serif;
|
|
104
104
|
--font-serif: 'Merriweather', Georgia, serif;
|
|
105
105
|
--font-numeric: var(--font-mono);
|
package/package.json
CHANGED
package/theme.css
CHANGED
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
--motion-distance: 0.25rem;
|
|
66
66
|
--motion-easing: cubic-bezier(0.23, 1, 0.32, 1);
|
|
67
67
|
|
|
68
|
-
/* ─── Controls:
|
|
69
|
-
--control-height
|
|
70
|
-
--control-height: 2.25rem;
|
|
68
|
+
/* ─── Controls: default 28 (44 on phones), large 36, cta 48 ─── */
|
|
69
|
+
--control-height: 1.75rem;
|
|
70
|
+
--control-height-lg: 2.25rem;
|
|
71
71
|
--control-height-cta: 3rem;
|
|
72
72
|
--row-height-menu: 2rem;
|
|
73
73
|
--row-height-list: 2.25rem;
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
--header-height: 3.25rem;
|
|
105
105
|
--sidebar-width: 15rem;
|
|
106
106
|
--content-column-width: 65rem;
|
|
107
|
+
--ledger-row-max-width: 35rem;
|
|
107
108
|
--card-header-height: 3rem;
|
|
108
109
|
--card-inset: calc(var(--spacing) * 3);
|
|
109
110
|
--sidebar-width-mobile: 18rem;
|
|
@@ -115,6 +116,12 @@
|
|
|
115
116
|
--chart-area-gradient-mid-offset: 55%;
|
|
116
117
|
}
|
|
117
118
|
|
|
119
|
+
@media (width >= 48rem) and (width < 64rem) and (pointer: fine) {
|
|
120
|
+
:root {
|
|
121
|
+
--field-type-size: var(--type-size-label);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
118
125
|
@media (pointer: coarse), (width < 48rem) {
|
|
119
126
|
:root {
|
|
120
127
|
--field-type-size: var(--type-size-body-large);
|
|
@@ -123,7 +130,7 @@
|
|
|
123
130
|
|
|
124
131
|
@media (width < 48rem) {
|
|
125
132
|
:root {
|
|
126
|
-
--control-height
|
|
133
|
+
--control-height: 2.75rem;
|
|
127
134
|
}
|
|
128
135
|
}
|
|
129
136
|
|
|
@@ -140,21 +147,36 @@
|
|
|
140
147
|
|
|
141
148
|
:root:where(*),
|
|
142
149
|
.light {
|
|
143
|
-
--background: oklch(
|
|
144
|
-
--foreground: oklch(
|
|
145
|
-
--muted-foreground: oklch(
|
|
146
|
-
--accent: oklch(
|
|
150
|
+
--background: oklch(97% 0.003 95);
|
|
151
|
+
--foreground: oklch(24% 0.006 70);
|
|
152
|
+
--muted-foreground: oklch(46% 0.01 70);
|
|
153
|
+
--accent: oklch(48% 0.065 82);
|
|
147
154
|
--negative: oklch(47% 0.095 32);
|
|
148
|
-
--warning: oklch(
|
|
149
|
-
--muted: oklch(
|
|
150
|
-
--border: oklch(
|
|
151
|
-
--control-border: oklch(58% 0.
|
|
152
|
-
--accent-tint: oklch(
|
|
155
|
+
--warning: oklch(54% 0.13 62);
|
|
156
|
+
--muted: oklch(94.8% 0.004 85);
|
|
157
|
+
--border: oklch(90.5% 0.005 85);
|
|
158
|
+
--control-border: oklch(58% 0.01 70);
|
|
159
|
+
--accent-tint: oklch(93.4% 0.015 77);
|
|
153
160
|
--negative-tint: oklch(94.7% 0.0095 32);
|
|
154
|
-
--warning-tint: oklch(
|
|
161
|
+
--warning-tint: oklch(95% 0.02 62);
|
|
155
162
|
--scrim: oklch(12% 0.025 295 / 10%);
|
|
156
163
|
--shadow-color: oklch(12% 0.025 295 / 10%);
|
|
157
|
-
--
|
|
164
|
+
--card: oklch(100% 0 295);
|
|
165
|
+
--primary: oklch(24% 0.006 70);
|
|
166
|
+
--primary-foreground: oklch(100% 0 295);
|
|
167
|
+
--secondary: oklch(96.5% 0.005 78);
|
|
168
|
+
--secondary-foreground: oklch(35.2% 0.005 92);
|
|
169
|
+
--control-hover: oklch(91.5% 0.008 85);
|
|
170
|
+
--control-active: oklch(88% 0.01 80);
|
|
171
|
+
--segmented-surface: oklch(93.4% 0 0);
|
|
172
|
+
--segmented-border: oklch(89% 0 0);
|
|
173
|
+
--shadow-button:
|
|
174
|
+
inset 0 1px 0 color-mix(in oklab, var(--primary-foreground) 20%, transparent),
|
|
175
|
+
0 1px 2px var(--shadow-color), 0 4px 10px -2px var(--shadow-color),
|
|
176
|
+
0 12px 32px -6px var(--shadow-color);
|
|
177
|
+
--shadow-button-secondary: 0 1px 2px var(--shadow-color);
|
|
178
|
+
--gain: oklch(24% 0.006 70);
|
|
179
|
+
--chart-mid: oklch(75% 0.03 82);
|
|
158
180
|
--hue-sky: oklch(50% 0.08 232);
|
|
159
181
|
--hue-rose: oklch(50% 0.08 12);
|
|
160
182
|
--hue-mint: oklch(50% 0.08 160);
|
|
@@ -187,6 +209,21 @@
|
|
|
187
209
|
--warning-tint: oklch(26.05% 0.005194 33.0617);
|
|
188
210
|
--scrim: oklch(12% 0.025 295 / 10%);
|
|
189
211
|
--shadow-color: oklch(12% 0.025 295 / 50%);
|
|
212
|
+
--card: oklch(20.5% 0.012 295);
|
|
213
|
+
--primary: oklch(92% 0.01 295);
|
|
214
|
+
--primary-foreground: oklch(18% 0.01 295);
|
|
215
|
+
--secondary: oklch(30% 0.018 295);
|
|
216
|
+
--secondary-foreground: oklch(94% 0.012 295);
|
|
217
|
+
--control-hover: oklch(30% 0.018 295);
|
|
218
|
+
--control-active: oklch(34% 0.018 295);
|
|
219
|
+
--segmented-surface: oklch(30% 0.018 295);
|
|
220
|
+
--segmented-border: oklch(34% 0.018 295);
|
|
221
|
+
--shadow-button:
|
|
222
|
+
inset 0 1px 0 oklch(from var(--primary) calc(l + 0.1) c h), 0 1px 2px var(--shadow-color);
|
|
223
|
+
--shadow-button-secondary:
|
|
224
|
+
inset 0 1px 0 color-mix(in oklab, var(--foreground) 8%, transparent),
|
|
225
|
+
0 1px 2px var(--shadow-color);
|
|
226
|
+
--gain: oklch(74% 0.07 295);
|
|
190
227
|
--chart-mid: oklch(44.575% 0.0348 295);
|
|
191
228
|
--hue-sky: oklch(78% 0.08 232);
|
|
192
229
|
--hue-rose: oklch(78% 0.08 12);
|
|
@@ -228,10 +265,20 @@
|
|
|
228
265
|
--color-muted: var(--muted);
|
|
229
266
|
--color-border: var(--border);
|
|
230
267
|
--color-control-border: var(--control-border);
|
|
268
|
+
--color-card: var(--card);
|
|
269
|
+
--color-primary: var(--primary);
|
|
270
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
271
|
+
--color-secondary: var(--secondary);
|
|
272
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
273
|
+
--color-control-hover: var(--control-hover);
|
|
274
|
+
--color-control-active: var(--control-active);
|
|
275
|
+
--color-segmented-surface: var(--segmented-surface);
|
|
276
|
+
--color-segmented-border: var(--segmented-border);
|
|
231
277
|
--color-accent-tint: var(--accent-tint);
|
|
232
278
|
--color-negative-tint: var(--negative-tint);
|
|
233
279
|
--color-warning-tint: var(--warning-tint);
|
|
234
280
|
--color-scrim: var(--scrim);
|
|
281
|
+
--color-gain: var(--gain);
|
|
235
282
|
--color-chart-mid: var(--chart-mid);
|
|
236
283
|
--color-hue-sky: var(--hue-sky);
|
|
237
284
|
--color-hue-rose: var(--hue-rose);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|