@warmio/design 1.3.0 → 1.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/README.md +3 -0
- package/package.json +1 -1
- package/theme.css +8 -0
- package/themes.css +3 -0
package/README.md
CHANGED
|
@@ -10,6 +10,9 @@ styles, and pinned local font assets used by Warm products.
|
|
|
10
10
|
The default product typefaces are Geist and Geist Mono. The `font-editorial`
|
|
11
11
|
utility uses Inter and should be reserved for deliberate editorial accents.
|
|
12
12
|
|
|
13
|
+
`--accent-solid` / `--accent-solid-text` are the chromatic accent for links,
|
|
14
|
+
badges, and highlights. They derive from `--brand-accent-solid` in `themes.css`.
|
|
15
|
+
|
|
13
16
|
This package has no JavaScript entry point or runtime dependencies.
|
|
14
17
|
|
|
15
18
|
## Releases
|
package/package.json
CHANGED
package/theme.css
CHANGED
|
@@ -41,6 +41,8 @@
|
|
|
41
41
|
══════════════════════════════════════════════════════════════════════════ */
|
|
42
42
|
--accent: oklch(0.96 0.002 17.2);
|
|
43
43
|
--accent-foreground: oklch(0.214 0.009 43.1);
|
|
44
|
+
--accent-solid: var(--brand-accent-solid);
|
|
45
|
+
--accent-solid-text: oklch(from var(--brand-accent-solid) calc(l - 0.14) calc(c + 0.02) h);
|
|
44
46
|
|
|
45
47
|
/* Interactive hover background - single source of truth for all hover states */
|
|
46
48
|
--hover-bg: color-mix(in oklch, var(--foreground) 4%, transparent);
|
|
@@ -337,6 +339,8 @@
|
|
|
337
339
|
--secondary-foreground: var(--foreground);
|
|
338
340
|
--accent: oklch(from var(--brand-accent) calc(l + 0.08) calc(c - 0.02) h);
|
|
339
341
|
--accent-foreground: var(--foreground);
|
|
342
|
+
--accent-solid: oklch(from var(--brand-accent-solid) calc(l + 0.08) c h);
|
|
343
|
+
--accent-solid-text: var(--accent-solid);
|
|
340
344
|
|
|
341
345
|
/* Default button gradient (dark) */
|
|
342
346
|
--default-button-gradient-start: oklch(0.4 0 0);
|
|
@@ -481,6 +485,8 @@
|
|
|
481
485
|
--secondary-foreground: oklch(from var(--brand-neutral) 0.35 0.015 h);
|
|
482
486
|
--accent: var(--brand-accent);
|
|
483
487
|
--accent-foreground: oklch(from var(--brand-neutral) 0.25 0.01 h);
|
|
488
|
+
--accent-solid: var(--brand-accent-solid);
|
|
489
|
+
--accent-solid-text: oklch(from var(--brand-accent-solid) calc(l - 0.14) calc(c + 0.02) h);
|
|
484
490
|
|
|
485
491
|
/* Default button gradient (light) */
|
|
486
492
|
--default-button-gradient-start: oklch(1 0 0);
|
|
@@ -600,6 +606,8 @@
|
|
|
600
606
|
--color-muted-foreground: var(--muted-foreground);
|
|
601
607
|
--color-accent: var(--accent);
|
|
602
608
|
--color-accent-foreground: var(--accent-foreground);
|
|
609
|
+
--color-accent-solid: var(--accent-solid);
|
|
610
|
+
--color-accent-solid-text: var(--accent-solid-text);
|
|
603
611
|
--color-destructive: var(--destructive);
|
|
604
612
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
605
613
|
--color-success: var(--success);
|
package/themes.css
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
OPTIONAL:
|
|
14
14
|
--logo-gradient-start/end Logo gradient colors
|
|
15
|
+
--brand-accent-solid Chromatic accent for links, badges, and highlights
|
|
15
16
|
|
|
16
17
|
════════════════════════════════════════════════════════════════════════════ */
|
|
17
18
|
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
:root {
|
|
23
24
|
--brand-primary: #85807a;
|
|
24
25
|
--brand-accent: #7e7a8a;
|
|
26
|
+
--brand-accent-solid: #8b80a6;
|
|
25
27
|
--brand-muted: #848079;
|
|
26
28
|
--brand-neutral: #837f7c;
|
|
27
29
|
--logo-gradient-start: #85807a;
|
|
@@ -39,6 +41,7 @@
|
|
|
39
41
|
[data-theme='ocean'] {
|
|
40
42
|
--brand-primary: #4a6fa5;
|
|
41
43
|
--brand-accent: #5a8a7a;
|
|
44
|
+
--brand-accent-solid: #8b80a6;
|
|
42
45
|
--brand-muted: #6b7f99;
|
|
43
46
|
--brand-neutral: #6e7a85;
|
|
44
47
|
--logo-gradient-start: #4a6fa5;
|