@warmio/design 4.5.0 → 5.0.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/package.json +1 -1
- package/theme.css +57 -71
package/package.json
CHANGED
package/theme.css
CHANGED
|
@@ -147,27 +147,29 @@
|
|
|
147
147
|
|
|
148
148
|
:root:where(*),
|
|
149
149
|
.light {
|
|
150
|
-
--
|
|
151
|
-
--
|
|
152
|
-
--
|
|
153
|
-
--
|
|
150
|
+
--theme-hue: 82;
|
|
151
|
+
--theme-shadow-hue: calc(var(--theme-hue) + 213);
|
|
152
|
+
--theme-data-lightness: 50%;
|
|
153
|
+
--background: oklch(97% 0.003 calc(var(--theme-hue) + 13));
|
|
154
|
+
--foreground: oklch(24% 0.006 calc(var(--theme-hue) - 12));
|
|
155
|
+
--muted-foreground: oklch(46% 0.01 calc(var(--theme-hue) - 12));
|
|
156
|
+
--accent: oklch(48% 0.065 var(--theme-hue));
|
|
154
157
|
--negative: oklch(47% 0.095 32);
|
|
155
158
|
--warning: oklch(54% 0.13 62);
|
|
156
|
-
--muted: oklch(94.8% 0.004
|
|
157
|
-
--border: oklch(90.5% 0.005
|
|
158
|
-
--control-border: oklch(58% 0.01
|
|
159
|
-
--accent-tint: oklch(93.4% 0.015
|
|
159
|
+
--muted: oklch(94.8% 0.004 calc(var(--theme-hue) + 3));
|
|
160
|
+
--border: oklch(90.5% 0.005 calc(var(--theme-hue) + 3));
|
|
161
|
+
--control-border: oklch(58% 0.01 calc(var(--theme-hue) - 12));
|
|
162
|
+
--accent-tint: oklch(93.4% 0.015 calc(var(--theme-hue) - 5));
|
|
160
163
|
--negative-tint: oklch(94.7% 0.0095 32);
|
|
161
164
|
--warning-tint: oklch(95% 0.02 62);
|
|
162
|
-
--
|
|
163
|
-
--
|
|
164
|
-
--
|
|
165
|
-
--primary:
|
|
166
|
-
--
|
|
167
|
-
--secondary: oklch(
|
|
168
|
-
--
|
|
169
|
-
--control-
|
|
170
|
-
--control-active: oklch(88% 0.01 80);
|
|
165
|
+
--shadow-color: oklch(12% 0.025 var(--theme-shadow-hue) / 10%);
|
|
166
|
+
--card: oklch(100% 0 0);
|
|
167
|
+
--primary: var(--foreground);
|
|
168
|
+
--primary-foreground: var(--card);
|
|
169
|
+
--secondary: oklch(96.5% 0.005 calc(var(--theme-hue) - 4));
|
|
170
|
+
--secondary-foreground: oklch(35.2% 0.005 calc(var(--theme-hue) + 10));
|
|
171
|
+
--control-hover: oklch(91.5% 0.008 calc(var(--theme-hue) + 3));
|
|
172
|
+
--control-active: oklch(88% 0.01 calc(var(--theme-hue) - 2));
|
|
171
173
|
--segmented-surface: oklch(93.4% 0 0);
|
|
172
174
|
--segmented-border: oklch(89% 0 0);
|
|
173
175
|
--shadow-button:
|
|
@@ -175,82 +177,66 @@
|
|
|
175
177
|
0 1px 2px var(--shadow-color), 0 4px 10px -2px var(--shadow-color),
|
|
176
178
|
0 12px 32px -6px var(--shadow-color);
|
|
177
179
|
--shadow-button-secondary: 0 1px 2px var(--shadow-color);
|
|
178
|
-
--gain:
|
|
179
|
-
--chart-mid: oklch(75% 0.03
|
|
180
|
-
--hue-sky: oklch(50% 0.08 232);
|
|
181
|
-
--hue-rose: oklch(50% 0.08 12);
|
|
182
|
-
--hue-mint: oklch(50% 0.08 160);
|
|
183
|
-
--hue-peach: oklch(50% 0.08 55);
|
|
184
|
-
--hue-periwinkle: oklch(50% 0.08 268);
|
|
185
|
-
--hue-lemon: oklch(50% 0.08 85);
|
|
186
|
-
--hue-aqua: oklch(50% 0.08 195);
|
|
187
|
-
--hue-orchid: oklch(50% 0.08 335);
|
|
188
|
-
--warm-confetti-1: oklch(67.4378% 0.143554 39.9277);
|
|
189
|
-
--warm-confetti-2: oklch(80.7201% 0.140901 80.2776);
|
|
190
|
-
--warm-confetti-3: oklch(74.0401% 0.098072 127.9755);
|
|
191
|
-
--warm-confetti-4: oklch(58.4931% 0.089163 136.29);
|
|
192
|
-
--warm-confetti-5: oklch(73.6637% 0.082885 0.5121);
|
|
193
|
-
--warm-confetti-6: oklch(76.0232% 0.080118 80.1549);
|
|
194
|
-
--warm-confetti-7: oklch(85.6277% 0.089544 90.5616);
|
|
180
|
+
--gain: var(--foreground);
|
|
181
|
+
--chart-mid: oklch(75% 0.03 var(--theme-hue));
|
|
195
182
|
}
|
|
196
183
|
|
|
197
184
|
.dark {
|
|
198
|
-
--
|
|
199
|
-
--
|
|
200
|
-
--
|
|
201
|
-
--
|
|
185
|
+
--theme-hue: 295;
|
|
186
|
+
--theme-shadow-hue: var(--theme-hue);
|
|
187
|
+
--theme-data-lightness: 78%;
|
|
188
|
+
--background: oklch(20.5% 0.012 var(--theme-hue));
|
|
189
|
+
--foreground: oklch(94% 0.012 var(--theme-hue));
|
|
190
|
+
--muted-foreground: oklch(74% 0.02 var(--theme-hue));
|
|
191
|
+
--accent: oklch(74% 0.07 var(--theme-hue));
|
|
202
192
|
--negative: oklch(74% 0.065 35);
|
|
203
193
|
--warning: oklch(76% 0.08 75);
|
|
204
|
-
--muted: oklch(30% 0.018
|
|
205
|
-
--border: oklch(34% 0.018
|
|
206
|
-
--control-border: oklch(62% 0.015
|
|
207
|
-
--accent-tint: oklch(25.85% 0.0124
|
|
194
|
+
--muted: oklch(30% 0.018 var(--theme-hue));
|
|
195
|
+
--border: oklch(34% 0.018 var(--theme-hue));
|
|
196
|
+
--control-border: oklch(62% 0.015 var(--theme-hue));
|
|
197
|
+
--accent-tint: oklch(25.85% 0.0124 var(--theme-hue));
|
|
208
198
|
--negative-tint: oklch(25.85% 0.007695 351.2865);
|
|
209
199
|
--warning-tint: oklch(26.05% 0.005194 33.0617);
|
|
210
|
-
--
|
|
211
|
-
--
|
|
212
|
-
--
|
|
213
|
-
--primary: oklch(
|
|
214
|
-
--
|
|
215
|
-
--secondary:
|
|
216
|
-
--
|
|
217
|
-
--control-
|
|
218
|
-
--
|
|
219
|
-
--segmented-
|
|
220
|
-
--segmented-border: oklch(34% 0.018 295);
|
|
200
|
+
--shadow-color: oklch(12% 0.025 var(--theme-shadow-hue) / 50%);
|
|
201
|
+
--card: var(--background);
|
|
202
|
+
--primary: oklch(92% 0.01 var(--theme-hue));
|
|
203
|
+
--primary-foreground: oklch(18% 0.01 var(--theme-hue));
|
|
204
|
+
--secondary: var(--muted);
|
|
205
|
+
--secondary-foreground: var(--foreground);
|
|
206
|
+
--control-hover: var(--muted);
|
|
207
|
+
--control-active: var(--border);
|
|
208
|
+
--segmented-surface: var(--muted);
|
|
209
|
+
--segmented-border: var(--border);
|
|
221
210
|
--shadow-button:
|
|
222
211
|
inset 0 1px 0 oklch(from var(--primary) calc(l + 0.1) c h), 0 1px 2px var(--shadow-color);
|
|
223
212
|
--shadow-button-secondary:
|
|
224
213
|
inset 0 1px 0 color-mix(in oklab, var(--foreground) 8%, transparent),
|
|
225
214
|
0 1px 2px var(--shadow-color);
|
|
226
|
-
--gain:
|
|
227
|
-
--chart-mid: oklch(44.575% 0.0348
|
|
228
|
-
--hue-sky: oklch(78% 0.08 232);
|
|
229
|
-
--hue-rose: oklch(78% 0.08 12);
|
|
230
|
-
--hue-mint: oklch(78% 0.08 160);
|
|
231
|
-
--hue-peach: oklch(78% 0.08 55);
|
|
232
|
-
--hue-periwinkle: oklch(78% 0.08 268);
|
|
233
|
-
--hue-lemon: oklch(78% 0.08 85);
|
|
234
|
-
--hue-aqua: oklch(78% 0.08 195);
|
|
235
|
-
--hue-orchid: oklch(78% 0.08 335);
|
|
236
|
-
--warm-confetti-1: oklch(67.4378% 0.143554 39.9277);
|
|
237
|
-
--warm-confetti-2: oklch(80.7201% 0.140901 80.2776);
|
|
238
|
-
--warm-confetti-3: oklch(74.0401% 0.098072 127.9755);
|
|
239
|
-
--warm-confetti-4: oklch(58.4931% 0.089163 136.29);
|
|
240
|
-
--warm-confetti-5: oklch(73.6637% 0.082885 0.5121);
|
|
241
|
-
--warm-confetti-6: oklch(76.0232% 0.080118 80.1549);
|
|
242
|
-
--warm-confetti-7: oklch(85.6277% 0.089544 90.5616);
|
|
215
|
+
--gain: var(--accent);
|
|
216
|
+
--chart-mid: oklch(44.575% 0.0348 var(--theme-hue));
|
|
243
217
|
--onboarding-v2-hero-halo-edge-stop: 55%;
|
|
244
218
|
--onboarding-setup-field-label-size: var(--type-size-body-emphasis);
|
|
245
219
|
--onboarding-setup-field-label-weight: 400;
|
|
246
220
|
--onboarding-setup-field-label-leading: var(--type-leading-body-emphasis);
|
|
247
221
|
}
|
|
248
222
|
|
|
223
|
+
:is(:root, .light, .dark) {
|
|
224
|
+
--scrim: oklch(12% 0.025 var(--theme-shadow-hue) / 10%);
|
|
225
|
+
--hue-sky: oklch(var(--theme-data-lightness) 0.08 232);
|
|
226
|
+
--hue-rose: oklch(var(--theme-data-lightness) 0.08 12);
|
|
227
|
+
--hue-mint: oklch(var(--theme-data-lightness) 0.08 160);
|
|
228
|
+
--hue-peach: oklch(var(--theme-data-lightness) 0.08 55);
|
|
229
|
+
--hue-periwinkle: oklch(var(--theme-data-lightness) 0.08 268);
|
|
230
|
+
--hue-lemon: oklch(var(--theme-data-lightness) 0.08 85);
|
|
231
|
+
--hue-aqua: oklch(var(--theme-data-lightness) 0.08 195);
|
|
232
|
+
--hue-orchid: oklch(var(--theme-data-lightness) 0.08 335);
|
|
233
|
+
}
|
|
234
|
+
|
|
249
235
|
@media (prefers-reduced-transparency: reduce) {
|
|
250
236
|
:root:where(*),
|
|
251
237
|
.light,
|
|
252
238
|
.dark {
|
|
253
|
-
--scrim: oklch(12% 0.025
|
|
239
|
+
--scrim: oklch(12% 0.025 var(--theme-shadow-hue) / 60%);
|
|
254
240
|
}
|
|
255
241
|
}
|
|
256
242
|
|