@warmio/design 6.0.0 → 6.0.2
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 +6 -0
- package/package.json +1 -1
- package/theme.css +32 -26
package/README.md
CHANGED
|
@@ -26,6 +26,12 @@ Package ships `logo.css` (token-only Logo styles) and `dist/` (ESM + .d.ts). `de
|
|
|
26
26
|
|
|
27
27
|
## Releases
|
|
28
28
|
|
|
29
|
+
`6.0.2` makes the default theme ocean blue with cool neutrals (neutral hue 255, accent hue
|
|
30
|
+
245, light accent `oklch(50% 0.105 245)`). No token names change.
|
|
31
|
+
|
|
32
|
+
`6.0.1` returns the default light theme to lilac (theme and accent hue 295) and lightens
|
|
33
|
+
muted, border and accent tint. No token names change.
|
|
34
|
+
|
|
29
35
|
`6.0.0` merges seven theme colors into existing ones and removes them with their Tailwind
|
|
30
36
|
colors: `--card` and `--primary-foreground` into `--background`, `--secondary` and
|
|
31
37
|
`--segmented-surface` into `--muted`, `--secondary-foreground` into `--muted-foreground`, and
|
package/package.json
CHANGED
package/theme.css
CHANGED
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
--type-leading-display-hero: 3.5rem;
|
|
31
31
|
--type-leading-display-hero-phone: 2.75rem;
|
|
32
32
|
--type-leading-display-label-phone: 1.25rem;
|
|
33
|
-
--type-tracking-body:
|
|
34
|
-
--type-tracking-title:
|
|
35
|
-
--type-tracking-heading:
|
|
36
|
-
--type-tracking-display:
|
|
37
|
-
--type-tracking-display-hero:
|
|
38
|
-
--type-tracking-caps:
|
|
33
|
+
--type-tracking-body: 0em;
|
|
34
|
+
--type-tracking-title: 0em;
|
|
35
|
+
--type-tracking-heading: 0em;
|
|
36
|
+
--type-tracking-display: 0em;
|
|
37
|
+
--type-tracking-display-hero: 0em;
|
|
38
|
+
--type-tracking-caps: 0em;
|
|
39
39
|
--control-type-size: var(--type-size-body);
|
|
40
40
|
--control-type-leading: var(--type-leading-body);
|
|
41
41
|
--field-type-size: var(--control-type-size);
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
--page-padding: 1rem;
|
|
105
105
|
--header-height: 3.25rem;
|
|
106
106
|
--sidebar-width: 15rem;
|
|
107
|
-
--content-column-width:
|
|
107
|
+
--content-column-width: 70rem;
|
|
108
108
|
--ledger-row-max-width: 35rem;
|
|
109
109
|
--card-header-height: 3rem;
|
|
110
110
|
--card-inset: calc(var(--spacing) * 3);
|
|
@@ -141,6 +141,12 @@
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
+
@media (width >= 64rem), (width >= 48rem) and (pointer: fine) {
|
|
145
|
+
[data-control-size='lg'] {
|
|
146
|
+
--control-height: var(--control-height-lg);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
144
150
|
:root[data-ui-size='large'] {
|
|
145
151
|
--type-size-label: 0.9375rem;
|
|
146
152
|
--type-size-body: 0.875rem;
|
|
@@ -174,21 +180,21 @@
|
|
|
174
180
|
|
|
175
181
|
:root:where(*),
|
|
176
182
|
.light {
|
|
177
|
-
--theme-hue:
|
|
178
|
-
--accent-hue:
|
|
183
|
+
--theme-hue: 255;
|
|
184
|
+
--accent-hue: 245;
|
|
179
185
|
--theme-tint: 1;
|
|
180
|
-
--theme-shadow-hue:
|
|
186
|
+
--theme-shadow-hue: var(--theme-hue);
|
|
181
187
|
--theme-data-lightness: 50%;
|
|
182
188
|
--background: oklch(100% 0 0);
|
|
183
|
-
--foreground: oklch(24% calc(0.006 * var(--theme-tint))
|
|
184
|
-
--muted-foreground: oklch(46% calc(0.01 * var(--theme-tint))
|
|
185
|
-
--accent: oklch(
|
|
189
|
+
--foreground: oklch(24% calc(0.006 * var(--theme-tint)) var(--theme-hue));
|
|
190
|
+
--muted-foreground: oklch(46% calc(0.01 * var(--theme-tint)) var(--theme-hue));
|
|
191
|
+
--accent: oklch(50% calc(0.105 * var(--theme-tint)) var(--accent-hue));
|
|
186
192
|
--negative: oklch(47% 0.095 32);
|
|
187
193
|
--warning: oklch(54% 0.13 62);
|
|
188
|
-
--muted: oklch(
|
|
189
|
-
--border: oklch(
|
|
190
|
-
--control-border: oklch(58% calc(0.01 * var(--theme-tint))
|
|
191
|
-
--accent-tint: oklch(
|
|
194
|
+
--muted: oklch(95.5% calc(0.006 * var(--theme-tint)) var(--theme-hue));
|
|
195
|
+
--border: oklch(92% calc(0.006 * var(--theme-tint)) var(--theme-hue));
|
|
196
|
+
--control-border: oklch(58% calc(0.01 * var(--theme-tint)) var(--theme-hue));
|
|
197
|
+
--accent-tint: oklch(95% calc(0.02 * var(--theme-tint)) var(--accent-hue));
|
|
192
198
|
--negative-tint: oklch(94.7% 0.0095 32);
|
|
193
199
|
--warning-tint: oklch(95% 0.02 62);
|
|
194
200
|
--shadow-color: oklch(12% calc(0.025 * var(--theme-tint)) var(--theme-shadow-hue) / 10%);
|
|
@@ -204,20 +210,20 @@
|
|
|
204
210
|
}
|
|
205
211
|
|
|
206
212
|
.dark {
|
|
207
|
-
--theme-hue:
|
|
213
|
+
--theme-hue: 255;
|
|
208
214
|
--theme-tint: 1;
|
|
209
215
|
--theme-shadow-hue: var(--theme-hue);
|
|
210
216
|
--theme-data-lightness: 78%;
|
|
211
|
-
--background: oklch(
|
|
212
|
-
--foreground: oklch(94% calc(0.
|
|
213
|
-
--muted-foreground: oklch(74% calc(0.
|
|
214
|
-
--accent: oklch(
|
|
217
|
+
--background: oklch(19.5% calc(0.008 * var(--theme-tint)) var(--theme-hue));
|
|
218
|
+
--foreground: oklch(94% calc(0.006 * var(--theme-tint)) var(--theme-hue));
|
|
219
|
+
--muted-foreground: oklch(74% calc(0.012 * var(--theme-tint)) var(--theme-hue));
|
|
220
|
+
--accent: oklch(76% calc(0.095 * var(--theme-tint)) var(--accent-hue));
|
|
215
221
|
--negative: oklch(74% 0.065 35);
|
|
216
222
|
--warning: oklch(76% 0.08 75);
|
|
217
|
-
--muted: oklch(
|
|
218
|
-
--border: oklch(
|
|
219
|
-
--control-border: oklch(62% calc(0.
|
|
220
|
-
--accent-tint: oklch(
|
|
223
|
+
--muted: oklch(27.5% calc(0.01 * var(--theme-tint)) var(--theme-hue));
|
|
224
|
+
--border: oklch(32% calc(0.01 * var(--theme-tint)) var(--theme-hue));
|
|
225
|
+
--control-border: oklch(62% calc(0.012 * var(--theme-tint)) var(--theme-hue));
|
|
226
|
+
--accent-tint: oklch(26% calc(0.025 * var(--theme-tint)) var(--accent-hue));
|
|
221
227
|
--negative-tint: oklch(25.85% 0.007695 351.2865);
|
|
222
228
|
--warning-tint: oklch(26.05% 0.005194 33.0617);
|
|
223
229
|
--shadow-color: oklch(12% calc(0.025 * var(--theme-tint)) var(--theme-shadow-hue) / 50%);
|