@zooui/theme-forest 0.0.0-stage → 0.1.1
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/LICENSE +26 -0
- package/README.md +187 -2
- package/app.config.ts +111 -0
- package/assets/css/forest.css +7 -0
- package/assets/css/theme.css +173 -0
- package/design/ADOPTING.md +114 -0
- package/design/CHANGELOG.md +1 -0
- package/design/RECIPES.md +233 -0
- package/design/SKILL.md +10 -0
- package/design/components.css +211 -0
- package/design/index-ember.html +282 -0
- package/design/index-graphite-violet.html +282 -0
- package/design/index-ink-indigo-authored.html +265 -0
- package/design/index-ink-indigo.html +282 -0
- package/design/index-paper-olive.html +282 -0
- package/design/index-slate-cobalt.html +282 -0
- package/design/index.html +281 -0
- package/design/readme.md +168 -0
- package/design/styles.css +16 -0
- package/design/tailwind.css +177 -0
- package/design/tokens.css +321 -0
- package/nuxt.config.ts +22 -0
- package/package.json +44 -3
- package/schemes/ember.css +55 -0
- package/schemes/graphite-violet.css +50 -0
- package/schemes/ink-indigo.css +50 -0
- package/schemes/paper-olive.css +50 -0
- package/schemes/ramps.css +42 -0
- package/schemes/slate-cobalt.css +50 -0
- package/schemes/teal.css +52 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
/* Forest — Tailwind v4 theme.
|
|
2
|
+
Usage: @import "tailwindcss"; @import "./tailwind.css";
|
|
3
|
+
tokens.css holds the tokens (single source of truth); this maps them onto Tailwind's
|
|
4
|
+
namespaces so bg-raised, text-fg-muted, border-border-strong, rounded-md, type-h1 resolve.
|
|
5
|
+
|
|
6
|
+
Imports tokens.css, NOT styles.css: styles.css also pulls in components.css (the ui-*
|
|
7
|
+
layer), which a Tailwind app must never ship — every class there duplicates a utility. */
|
|
8
|
+
/* tokens.css layers its own base rules (Design 1.7.0), so it is imported PLAINLY. `layer(base)` here would nest
|
|
9
|
+
them as base.base, and preflight — directly in base — outranks a sublayer: `code`/`pre` lost their mono
|
|
10
|
+
features and 0.93em to preflight's `font-feature-settings: normal` (verified computed; this is the "side
|
|
11
|
+
effect" 1.7.2 describes). Plain, they sit in base after preflight and win. */
|
|
12
|
+
@import "./tokens.css";
|
|
13
|
+
|
|
14
|
+
/* Three-state dark mode: data-theme="dark" wins; no attribute follows the OS. dark: variant matches both. */
|
|
15
|
+
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *), @media (prefers-color-scheme: dark) { &:where(:not([data-theme="light"] *):not([data-theme="light"])) });
|
|
16
|
+
|
|
17
|
+
@theme inline {
|
|
18
|
+
/* Explicit 4px spacing scale. With the type set on body (not html) the root
|
|
19
|
+
stays at the UA size, so Tailwind's default 0.25rem already resolves to 4px —
|
|
20
|
+
this pin is belt-and-braces, and it keeps the scale correct even if a host
|
|
21
|
+
app changes the root font-size. */
|
|
22
|
+
--spacing: 4px;
|
|
23
|
+
/* fonts */
|
|
24
|
+
--font-display: var(--font-display);
|
|
25
|
+
--font-sans: var(--font-sans);
|
|
26
|
+
--font-mono: var(--font-mono);
|
|
27
|
+
/* semantic colors → bg-*, text-*, border-*, fill-* */
|
|
28
|
+
--color-bg: var(--bg);
|
|
29
|
+
--color-sunken: var(--bg-sunken);
|
|
30
|
+
--color-raised: var(--bg-raised);
|
|
31
|
+
--color-overlay: var(--bg-overlay);
|
|
32
|
+
--color-code: var(--bg-code);
|
|
33
|
+
--color-code-inline: var(--bg-code-inline);
|
|
34
|
+
--color-fg: var(--fg);
|
|
35
|
+
--color-fg-muted: var(--fg-muted);
|
|
36
|
+
--color-fg-subtle: var(--fg-subtle);
|
|
37
|
+
--color-on-code: var(--fg-on-code);
|
|
38
|
+
--color-on-code-muted: var(--fg-on-code-muted);
|
|
39
|
+
--color-on-accent: var(--fg-on-accent);
|
|
40
|
+
--color-border: var(--border);
|
|
41
|
+
--color-border-strong: var(--border-strong);
|
|
42
|
+
--color-border-code: var(--border-code);
|
|
43
|
+
--color-accent: var(--accent);
|
|
44
|
+
--color-accent-hover: var(--accent-hover);
|
|
45
|
+
--color-accent-active: var(--accent-active);
|
|
46
|
+
--color-accent-soft: var(--accent-soft);
|
|
47
|
+
--color-accent-text: var(--accent-text);
|
|
48
|
+
--color-accent-on-code: var(--accent-on-code);
|
|
49
|
+
--color-ok: var(--ok);
|
|
50
|
+
--color-ok-soft: var(--ok-soft);
|
|
51
|
+
--color-ok-text: var(--ok-text);
|
|
52
|
+
--color-warn: var(--warn);
|
|
53
|
+
--color-warn-soft: var(--warn-soft);
|
|
54
|
+
--color-warn-text: var(--warn-text);
|
|
55
|
+
--color-danger: var(--danger);
|
|
56
|
+
--color-danger-soft: var(--danger-soft);
|
|
57
|
+
--color-danger-text: var(--danger-text);
|
|
58
|
+
--color-danger-hover: var(--danger-hover);
|
|
59
|
+
--color-stopped: var(--stopped);
|
|
60
|
+
--color-stopped-soft: var(--stopped-soft);
|
|
61
|
+
--color-meter-track: var(--meter-track);
|
|
62
|
+
--color-meter-fill: var(--meter-fill);
|
|
63
|
+
--color-selection: var(--selection);
|
|
64
|
+
/* raw ramps, for the rare case */
|
|
65
|
+
--color-pine-*: initial;
|
|
66
|
+
--color-pine-50: var(--pine-50); --color-pine-100: var(--pine-100); --color-pine-150: var(--pine-150); --color-pine-200: var(--pine-200); --color-pine-300: var(--pine-300); --color-pine-400: var(--pine-400); --color-pine-500: var(--pine-500); --color-pine-600: var(--pine-600); --color-pine-700: var(--pine-700); --color-pine-800: var(--pine-800); --color-pine-900: var(--pine-900); --color-pine-950: var(--pine-950);
|
|
67
|
+
--color-teal-*: initial;
|
|
68
|
+
--color-teal-100: var(--teal-100); --color-teal-300: var(--teal-300); --color-teal-500: var(--teal-500); --color-teal-700: var(--teal-700); --color-teal-900: var(--teal-900);
|
|
69
|
+
/* radii → rounded-xs/sm/md/lg/pill */
|
|
70
|
+
--radius-xs: var(--radius-xs);
|
|
71
|
+
--radius-sm: var(--radius-sm);
|
|
72
|
+
--radius-md: var(--radius-md);
|
|
73
|
+
--radius-lg: var(--radius-lg);
|
|
74
|
+
--radius-pill: var(--radius-pill);
|
|
75
|
+
/* shadows → shadow-sm/md/lg */
|
|
76
|
+
--shadow-sm: var(--shadow-sm);
|
|
77
|
+
--shadow-md: var(--shadow-md);
|
|
78
|
+
--shadow-lg: var(--shadow-lg);
|
|
79
|
+
/* text sizes → text-2xs … text-5xl
|
|
80
|
+
Each colliding size clears --text-*--line-height with `initial`. Tailwind v4 pairs every
|
|
81
|
+
--text-* with a default line-height ratio (text-sm carries 1.42857), and
|
|
82
|
+
overriding only the size leaves that ratio in place — so a bare text-sm
|
|
83
|
+
would silently impose a leading Forest never chose. In this system leading is
|
|
84
|
+
its own axis: the --leading-* tokens, applied by the type-* composites or by
|
|
85
|
+
an explicit leading-* utility. A size utility changes size and nothing else.
|
|
86
|
+
|
|
87
|
+
`initial` is @theme's "remove this key" value, not a CSS value — Tailwind
|
|
88
|
+
omits the line-height declaration entirely rather than emitting
|
|
89
|
+
`line-height: initial`. Preferred over `inherit`, which emits a real
|
|
90
|
+
declaration that would compete with a type-* composite's line-height on the
|
|
91
|
+
same element and let generated order decide. Only the eight sizes that
|
|
92
|
+
collide with a Tailwind default need clearing; --text-2xs and --text-md are
|
|
93
|
+
Forest-only keys with no paired ratio. */
|
|
94
|
+
--text-2xs: var(--text-2xs); --text-xs: var(--text-xs); --text-xs--line-height: initial;
|
|
95
|
+
--text-sm: var(--text-sm); --text-sm--line-height: initial;
|
|
96
|
+
--text-md: var(--text-md); --text-lg: var(--text-lg); --text-lg--line-height: initial;
|
|
97
|
+
--text-xl: var(--text-xl); --text-xl--line-height: initial;
|
|
98
|
+
--text-2xl: var(--text-2xl); --text-2xl--line-height: initial;
|
|
99
|
+
--text-3xl: var(--text-3xl); --text-3xl--line-height: initial;
|
|
100
|
+
--text-4xl: var(--text-4xl); --text-4xl--line-height: initial;
|
|
101
|
+
--text-5xl: var(--text-5xl); --text-5xl--line-height: initial;
|
|
102
|
+
--tracking-display: var(--tracking-display);
|
|
103
|
+
--tracking-kicker: var(--tracking-kicker);
|
|
104
|
+
--leading-tight: var(--leading-tight); --leading-snug: var(--leading-snug); --leading-normal: var(--leading-normal); --leading-code: var(--leading-code);
|
|
105
|
+
/* sizes used as tokens */
|
|
106
|
+
--spacing-row: var(--row-h);
|
|
107
|
+
--spacing-row-dense: var(--row-h-dense);
|
|
108
|
+
--spacing-control: var(--control-h);
|
|
109
|
+
--spacing-control-lg: var(--control-h-lg);
|
|
110
|
+
--container-content: var(--content-max);
|
|
111
|
+
--ease-out: var(--ease-out);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Composite type styles → one class each.
|
|
115
|
+
All eleven are declared EXPLICITLY. The functional form `@utility type-* {
|
|
116
|
+
font: --value(--type-*) }` looks like it covers them, but --value() resolves
|
|
117
|
+
against @theme keys and the --type-* composites live in :root — they are
|
|
118
|
+
`font` shorthand strings, not a theme namespace. That form matched nothing, so
|
|
119
|
+
any composite without an explicit rule below silently generated no CSS: the
|
|
120
|
+
class was valid, the markup looked right, and the element just inherited body
|
|
121
|
+
type. Add a rule here when you add a composite. */
|
|
122
|
+
@utility type-body { font: var(--type-body); font-feature-settings: var(--features-sans); }
|
|
123
|
+
@utility type-body-sm { font: var(--type-body-sm); font-feature-settings: var(--features-sans); }
|
|
124
|
+
@utility type-label { font: var(--type-label); font-feature-settings: var(--features-sans); }
|
|
125
|
+
@utility type-h3 { font: var(--type-h3); letter-spacing: 0; font-feature-settings: var(--features-sans); }
|
|
126
|
+
@utility type-display { font: var(--type-display); letter-spacing: var(--tracking-display); font-feature-settings: var(--features-display); }
|
|
127
|
+
@utility type-h1 { font: var(--type-h1); letter-spacing: var(--tracking-display); font-feature-settings: var(--features-display); }
|
|
128
|
+
@utility type-h2 { font: var(--type-h2); letter-spacing: var(--tracking-display); font-feature-settings: var(--features-display); }
|
|
129
|
+
@utility type-kicker { font: var(--type-kicker); letter-spacing: var(--tracking-kicker); text-transform: uppercase; font-feature-settings: var(--features-mono); }
|
|
130
|
+
@utility type-code { font: var(--type-code); font-feature-settings: var(--features-mono); }
|
|
131
|
+
@utility type-code-sm { font: var(--type-code-sm); font-feature-settings: var(--features-mono); }
|
|
132
|
+
@utility type-ident { font: var(--type-ident); font-feature-settings: var(--features-mono); }
|
|
133
|
+
/* OpenType feature sets */
|
|
134
|
+
@utility features-display { font-feature-settings: var(--features-display); }
|
|
135
|
+
@utility features-sans { font-feature-settings: var(--features-sans); }
|
|
136
|
+
@utility features-sans-tabular { font-feature-settings: var(--features-sans-tabular); font-variant-numeric: tabular-nums; }
|
|
137
|
+
@utility features-mono { font-feature-settings: var(--features-mono); }
|
|
138
|
+
/* the hatch */
|
|
139
|
+
@utility hatch { background-image: var(--hatch); }
|
|
140
|
+
/* focus ring as a utility */
|
|
141
|
+
/* Uses Tailwind's shared box-shadow formula rather than setting box-shadow
|
|
142
|
+
directly: a plain box-shadow: var(--focus-ring) is replaced by any shadow
|
|
143
|
+
utility Tailwind generates later on the same element (aria-pressed:shadow-sm
|
|
144
|
+
on a segmented option, for instance), so the ring silently vanished exactly
|
|
145
|
+
when it mattered. Same appearance as --focus-ring; now composes. */
|
|
146
|
+
@utility focus-ring {
|
|
147
|
+
&:focus-visible {
|
|
148
|
+
outline: none;
|
|
149
|
+
--tw-ring-offset-shadow: 0 0 0 2px var(--bg);
|
|
150
|
+
--tw-ring-shadow: 0 0 0 4px var(--accent);
|
|
151
|
+
box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-inset-ring-shadow, 0 0 #0000), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
/* Corner style. The radius tokens in tokens.css are multiples of --radius-scale,
|
|
157
|
+
so Tailwind's rounded-* utilities follow the dial automatically.
|
|
158
|
+
Flatten everything: <html data-corners="flat">
|
|
159
|
+
Flatten one region: <div class="corners-flat"> … </div> */
|
|
160
|
+
@utility corners-flat { --radius-scale: 0;
|
|
161
|
+
--radius-xs: calc(3px * var(--radius-scale));
|
|
162
|
+
--radius-sm: calc(5px * var(--radius-scale));
|
|
163
|
+
--radius-md: calc(8px * var(--radius-scale));
|
|
164
|
+
--radius-lg: calc(12px * var(--radius-scale));
|
|
165
|
+
--radius-pill: calc(999px * var(--radius-scale)); }
|
|
166
|
+
@utility corners-tight { --radius-scale: 0.5;
|
|
167
|
+
--radius-xs: calc(3px * var(--radius-scale));
|
|
168
|
+
--radius-sm: calc(5px * var(--radius-scale));
|
|
169
|
+
--radius-md: calc(8px * var(--radius-scale));
|
|
170
|
+
--radius-lg: calc(12px * var(--radius-scale));
|
|
171
|
+
--radius-pill: calc(999px * var(--radius-scale)); }
|
|
172
|
+
@utility corners-soft { --radius-scale: 1;
|
|
173
|
+
--radius-xs: calc(3px * var(--radius-scale));
|
|
174
|
+
--radius-sm: calc(5px * var(--radius-scale));
|
|
175
|
+
--radius-md: calc(8px * var(--radius-scale));
|
|
176
|
+
--radius-lg: calc(12px * var(--radius-scale));
|
|
177
|
+
--radius-pill: calc(999px * var(--radius-scale)); }
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
/* ======================================================================
|
|
2
|
+
Forest — tokens and base element styles ONLY.
|
|
3
|
+
This is what a Tailwind application imports (via tailwind.css). It carries
|
|
4
|
+
no component classes, so a build-step app gets the design language without
|
|
5
|
+
inheriting a parallel stylesheet it would then have to maintain.
|
|
6
|
+
The ui-* layer lives in components.css, for consumers with no build step
|
|
7
|
+
(Go templ, plain HTML, email). See ADOPTING.md.
|
|
8
|
+
====================================================================== */
|
|
9
|
+
|
|
10
|
+
/* The raw color ramps (--pine-*, --teal-*, --amber-*, --red-*) have one copy, in the theme's schemes/ramps.css,
|
|
11
|
+
which the Nuxt theme imports too. A scheme file linked after this sheet redefines some of them. */
|
|
12
|
+
@import "../schemes/ramps.css";
|
|
13
|
+
|
|
14
|
+
/* Typefaces — the same six ROLE HOOKS as the Nuxt theme (assets/css/theme.css): one family and one OpenType set
|
|
15
|
+
per role, --zoo-font-{sans,mono,display} and --zoo-features-{sans,mono,display}. Every rule here that sets a face
|
|
16
|
+
reads them through --font-* and --features-*, so overriding a hook swaps a face AND its set together.
|
|
17
|
+
No font files ship here: the stacks name Inter and JetBrains Mono first and fall back to system faces, so a page
|
|
18
|
+
that loads no webfont gets the system ones (readme.md, "Typefaces", says how to load either set of faces).
|
|
19
|
+
The defaults sit in a cascade layer so that any unlayered override wins whatever the order of the stylesheets.
|
|
20
|
+
Sets: Inter `normal` (its fontsource builds carry no ss/cv sets); JetBrains Mono `"calt" 0`, which turns its code
|
|
21
|
+
ligatures off so pasted text reads as typed. */
|
|
22
|
+
@layer base {
|
|
23
|
+
:root {
|
|
24
|
+
--zoo-font-sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
25
|
+
--zoo-font-display: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
26
|
+
--zoo-font-mono: "JetBrains Mono Variable", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
|
|
27
|
+
--zoo-features-sans: normal;
|
|
28
|
+
--zoo-features-display: normal;
|
|
29
|
+
--zoo-features-mono: "calt" 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:root {
|
|
34
|
+
--font-display: var(--zoo-font-display);
|
|
35
|
+
--font-sans: var(--zoo-font-sans);
|
|
36
|
+
--font-mono: var(--zoo-font-mono);
|
|
37
|
+
/* OpenType feature sets, one per face. Tabular figures come from `font-variant-numeric: tabular-nums` beside the
|
|
38
|
+
sans set, since a set held in a hook can't have "tnum" appended to it. */
|
|
39
|
+
--features-display: var(--zoo-features-display);
|
|
40
|
+
--features-sans: var(--zoo-features-sans);
|
|
41
|
+
--features-sans-tabular: var(--zoo-features-sans);
|
|
42
|
+
--features-mono: var(--zoo-features-mono);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/* Forest's semantic color tokens. Light is the default; dark via [data-theme="dark"] or system preference when no explicit choice ([data-theme="system"] or none). */
|
|
47
|
+
:root {
|
|
48
|
+
/* semantic — light */
|
|
49
|
+
--bg: var(--pine-50);
|
|
50
|
+
--bg-sunken: var(--pine-100);
|
|
51
|
+
--bg-raised: var(--pine-0);
|
|
52
|
+
--bg-overlay: rgba(22, 26, 25, 0.55);
|
|
53
|
+
--bg-code: var(--pine-900);
|
|
54
|
+
--bg-code-inline: var(--pine-100);
|
|
55
|
+
--fg: var(--pine-900);
|
|
56
|
+
--fg-muted: var(--pine-600);
|
|
57
|
+
/* NON-TEXT ONLY. Cannot reach 4.5:1 on any surface in either theme —
|
|
58
|
+
use it for rules, tick outlines, meter marks and disabled chrome.
|
|
59
|
+
Quiet prose is --fg-muted, made quieter by type size, not color. */
|
|
60
|
+
--fg-subtle: var(--pine-400);
|
|
61
|
+
--fg-on-code: var(--pine-100);
|
|
62
|
+
--fg-on-code-muted: var(--pine-400);
|
|
63
|
+
--fg-on-accent: #ffffff;
|
|
64
|
+
--border: var(--pine-200);
|
|
65
|
+
--border-strong: var(--pine-300);
|
|
66
|
+
--border-code: var(--pine-600);
|
|
67
|
+
--accent: var(--teal-500);
|
|
68
|
+
--accent-hover: var(--teal-600);
|
|
69
|
+
--accent-active: var(--teal-700);
|
|
70
|
+
--accent-soft: var(--teal-100);
|
|
71
|
+
--accent-text: var(--teal-700);
|
|
72
|
+
--accent-on-code: var(--teal-300);
|
|
73
|
+
--ok: var(--teal-500);
|
|
74
|
+
--ok-soft: var(--teal-100);
|
|
75
|
+
--ok-text: var(--teal-700);
|
|
76
|
+
--warn: var(--amber-500);
|
|
77
|
+
--warn-soft: var(--amber-100);
|
|
78
|
+
--warn-text: var(--amber-700);
|
|
79
|
+
--danger: var(--red-500);
|
|
80
|
+
--danger-soft: var(--red-100);
|
|
81
|
+
--danger-text: var(--red-700);
|
|
82
|
+
--danger-hover: var(--red-700);
|
|
83
|
+
--stopped: var(--pine-500);
|
|
84
|
+
--stopped-soft: var(--pine-150);
|
|
85
|
+
--meter-track: var(--pine-150);
|
|
86
|
+
--meter-fill: var(--pine-700);
|
|
87
|
+
--hatch: repeating-linear-gradient(135deg, transparent 0 3px, currentColor 3px 4px);
|
|
88
|
+
--shadow-sm: 0 1px 2px rgba(22, 26, 25, 0.06), 0 0 0 1px rgba(22, 26, 25, 0.04);
|
|
89
|
+
--shadow-md: 0 4px 12px rgba(22, 26, 25, 0.10), 0 0 0 1px rgba(22, 26, 25, 0.05);
|
|
90
|
+
--shadow-lg: 0 16px 40px rgba(22, 26, 25, 0.18), 0 0 0 1px rgba(22, 26, 25, 0.06);
|
|
91
|
+
--focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
|
|
92
|
+
--selection: var(--teal-200);
|
|
93
|
+
color-scheme: light;
|
|
94
|
+
}
|
|
95
|
+
[data-theme="dark"] {
|
|
96
|
+
--bg: var(--pine-900);
|
|
97
|
+
--bg-sunken: var(--pine-950);
|
|
98
|
+
--bg-raised: var(--pine-800);
|
|
99
|
+
--bg-overlay: rgba(0, 0, 0, 0.6);
|
|
100
|
+
--bg-code: var(--pine-950);
|
|
101
|
+
--bg-code-inline: var(--pine-700);
|
|
102
|
+
--fg: var(--pine-100);
|
|
103
|
+
--fg-muted: var(--pine-400);
|
|
104
|
+
--fg-subtle: var(--pine-500);
|
|
105
|
+
--fg-on-code: var(--pine-100);
|
|
106
|
+
--fg-on-code-muted: var(--pine-400);
|
|
107
|
+
--fg-on-accent: var(--pine-950);
|
|
108
|
+
--border: var(--pine-700);
|
|
109
|
+
--border-strong: var(--pine-600);
|
|
110
|
+
--border-code: var(--pine-600);
|
|
111
|
+
--accent: var(--teal-400);
|
|
112
|
+
--accent-hover: var(--teal-300);
|
|
113
|
+
--accent-active: var(--teal-200);
|
|
114
|
+
--accent-soft: var(--teal-900);
|
|
115
|
+
--accent-text: var(--teal-300);
|
|
116
|
+
--accent-on-code: var(--teal-300);
|
|
117
|
+
--ok: var(--teal-400);
|
|
118
|
+
--ok-soft: var(--teal-900);
|
|
119
|
+
--ok-text: var(--teal-300);
|
|
120
|
+
--warn: var(--amber-300);
|
|
121
|
+
--warn-soft: var(--amber-900);
|
|
122
|
+
--warn-text: var(--amber-300);
|
|
123
|
+
--danger: var(--red-300);
|
|
124
|
+
--danger-soft: var(--red-900);
|
|
125
|
+
--danger-text: var(--red-300);
|
|
126
|
+
--danger-hover: var(--red-100);
|
|
127
|
+
--stopped: var(--pine-500);
|
|
128
|
+
--stopped-soft: var(--pine-700);
|
|
129
|
+
--meter-track: var(--pine-700);
|
|
130
|
+
--meter-fill: var(--pine-200);
|
|
131
|
+
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
|
|
132
|
+
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
133
|
+
--shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
|
|
134
|
+
--selection: var(--teal-800);
|
|
135
|
+
color-scheme: dark;
|
|
136
|
+
}
|
|
137
|
+
@media (prefers-color-scheme: dark) {
|
|
138
|
+
:root:not([data-theme="light"]):not([data-theme="dark"]) {
|
|
139
|
+
--bg: var(--pine-900);
|
|
140
|
+
--bg-sunken: var(--pine-950);
|
|
141
|
+
--bg-raised: var(--pine-800);
|
|
142
|
+
--bg-overlay: rgba(0, 0, 0, 0.6);
|
|
143
|
+
--bg-code: var(--pine-950);
|
|
144
|
+
--bg-code-inline: var(--pine-700);
|
|
145
|
+
--fg: var(--pine-100);
|
|
146
|
+
--fg-muted: var(--pine-400);
|
|
147
|
+
--fg-subtle: var(--pine-500);
|
|
148
|
+
--fg-on-code: var(--pine-100);
|
|
149
|
+
--fg-on-code-muted: var(--pine-400);
|
|
150
|
+
--fg-on-accent: var(--pine-950);
|
|
151
|
+
--border: var(--pine-700);
|
|
152
|
+
--border-strong: var(--pine-600);
|
|
153
|
+
--border-code: var(--pine-600);
|
|
154
|
+
--accent: var(--teal-400);
|
|
155
|
+
--accent-hover: var(--teal-300);
|
|
156
|
+
--accent-active: var(--teal-200);
|
|
157
|
+
--accent-soft: var(--teal-900);
|
|
158
|
+
--accent-text: var(--teal-300);
|
|
159
|
+
--accent-on-code: var(--teal-300);
|
|
160
|
+
--ok: var(--teal-400);
|
|
161
|
+
--ok-soft: var(--teal-900);
|
|
162
|
+
--ok-text: var(--teal-300);
|
|
163
|
+
--warn: var(--amber-300);
|
|
164
|
+
--warn-soft: var(--amber-900);
|
|
165
|
+
--warn-text: var(--amber-300);
|
|
166
|
+
--danger: var(--red-300);
|
|
167
|
+
--danger-soft: var(--red-900);
|
|
168
|
+
--danger-text: var(--red-300);
|
|
169
|
+
--danger-hover: var(--red-100);
|
|
170
|
+
--stopped: var(--pine-500);
|
|
171
|
+
--stopped-soft: var(--pine-700);
|
|
172
|
+
--meter-track: var(--pine-700);
|
|
173
|
+
--meter-fill: var(--pine-200);
|
|
174
|
+
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
|
|
175
|
+
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
176
|
+
--shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
|
|
177
|
+
--selection: var(--teal-800);
|
|
178
|
+
color-scheme: dark;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
:root {
|
|
184
|
+
/* sizes */
|
|
185
|
+
--text-2xs: 10.5px;
|
|
186
|
+
--text-xs: 11.5px;
|
|
187
|
+
--text-sm: 13px;
|
|
188
|
+
--text-md: 14px;
|
|
189
|
+
--text-lg: 16px;
|
|
190
|
+
--text-xl: 20px;
|
|
191
|
+
--text-2xl: 26px;
|
|
192
|
+
--text-3xl: 34px;
|
|
193
|
+
--text-4xl: 46px;
|
|
194
|
+
--text-5xl: 64px;
|
|
195
|
+
/* leading */
|
|
196
|
+
--leading-tight: 1.1;
|
|
197
|
+
--leading-snug: 1.25;
|
|
198
|
+
--leading-normal: 1.5;
|
|
199
|
+
--leading-code: 1.6;
|
|
200
|
+
/* tracking */
|
|
201
|
+
--tracking-display: -0.025em;
|
|
202
|
+
--tracking-kicker: 0.08em;
|
|
203
|
+
/* weights */
|
|
204
|
+
--weight-regular: 400;
|
|
205
|
+
--weight-medium: 500;
|
|
206
|
+
--weight-semibold: 600;
|
|
207
|
+
/* composites */
|
|
208
|
+
--type-display: var(--weight-medium) var(--text-4xl) / var(--leading-tight) var(--font-display);
|
|
209
|
+
--type-h1: var(--weight-medium) var(--text-3xl) / var(--leading-tight) var(--font-display);
|
|
210
|
+
--type-h2: var(--weight-medium) var(--text-2xl) / var(--leading-snug) var(--font-display);
|
|
211
|
+
--type-h3: var(--weight-semibold) var(--text-lg) / var(--leading-snug) var(--font-sans);
|
|
212
|
+
--type-body: var(--weight-regular) var(--text-md) / var(--leading-normal) var(--font-sans);
|
|
213
|
+
--type-body-sm: var(--weight-regular) var(--text-sm) / var(--leading-normal) var(--font-sans);
|
|
214
|
+
--type-label: var(--weight-medium) var(--text-sm) / 1.2 var(--font-sans);
|
|
215
|
+
--type-kicker: var(--weight-medium) var(--text-xs) / 1.2 var(--font-mono);
|
|
216
|
+
--type-code: var(--weight-regular) var(--text-sm) / var(--leading-code) var(--font-mono);
|
|
217
|
+
--type-code-sm: var(--weight-regular) var(--text-xs) / var(--leading-code) var(--font-mono);
|
|
218
|
+
--type-ident: var(--weight-medium) var(--text-sm) / 1.3 var(--font-mono);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
:root {
|
|
223
|
+
--space-0: 0px;
|
|
224
|
+
--space-1: 4px;
|
|
225
|
+
--space-2: 8px;
|
|
226
|
+
--space-3: 12px;
|
|
227
|
+
--space-4: 16px;
|
|
228
|
+
--space-5: 20px;
|
|
229
|
+
--space-6: 24px;
|
|
230
|
+
--space-8: 32px;
|
|
231
|
+
--space-10: 40px;
|
|
232
|
+
--space-12: 48px;
|
|
233
|
+
--space-16: 64px;
|
|
234
|
+
--space-24: 96px;
|
|
235
|
+
/* Corner style. --radius-scale is the one dial: 1 = soft (default),
|
|
236
|
+
0.5 = tight, 0 = flat. Switch it with data-corners on <html> or on any
|
|
237
|
+
container (see the rules below) — those rules re-declare the radii, which
|
|
238
|
+
is required for a per-region override to take effect. */
|
|
239
|
+
--radius-scale: 1;
|
|
240
|
+
--radius-xs: calc(3px * var(--radius-scale));
|
|
241
|
+
--radius-sm: calc(5px * var(--radius-scale));
|
|
242
|
+
--radius-md: calc(8px * var(--radius-scale));
|
|
243
|
+
--radius-lg: calc(12px * var(--radius-scale));
|
|
244
|
+
/* pills stay pills unless corners are flat, where they square off with the rest */
|
|
245
|
+
--radius-pill: calc(999px * var(--radius-scale));
|
|
246
|
+
--row-h: 40px;
|
|
247
|
+
--row-h-dense: 32px;
|
|
248
|
+
--control-h: 32px;
|
|
249
|
+
--control-h-lg: 40px;
|
|
250
|
+
--border-w: 1px;
|
|
251
|
+
--content-max: 1120px;
|
|
252
|
+
--measure: 60ch;
|
|
253
|
+
--ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
254
|
+
--dur-fast: 120ms;
|
|
255
|
+
--dur: 180ms;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
/* Corner style switches — put on <html> for the whole system, or on any
|
|
261
|
+
container to change one region.
|
|
262
|
+
|
|
263
|
+
The radius tokens MUST be re-declared here, not just --radius-scale. A var()
|
|
264
|
+
inside a custom-property declaration is resolved at the element that declares
|
|
265
|
+
it, so --radius-sm computes to calc(5px * 1) at :root and descendants inherit
|
|
266
|
+
that already-resolved value. Setting --radius-scale further down would change
|
|
267
|
+
the scale and nothing else. Re-declaring the radii makes them re-resolve
|
|
268
|
+
against the local scale, which is what makes region scope work at all. */
|
|
269
|
+
[data-corners="flat"] { --radius-scale: 0;
|
|
270
|
+
--radius-xs: calc(3px * var(--radius-scale));
|
|
271
|
+
--radius-sm: calc(5px * var(--radius-scale));
|
|
272
|
+
--radius-md: calc(8px * var(--radius-scale));
|
|
273
|
+
--radius-lg: calc(12px * var(--radius-scale));
|
|
274
|
+
--radius-pill: calc(999px * var(--radius-scale)); }
|
|
275
|
+
[data-corners="tight"] { --radius-scale: 0.5; /* 1.5 / 2.5 / 4 / 6 — a chamfer, not a curve */
|
|
276
|
+
--radius-xs: calc(3px * var(--radius-scale));
|
|
277
|
+
--radius-sm: calc(5px * var(--radius-scale));
|
|
278
|
+
--radius-md: calc(8px * var(--radius-scale));
|
|
279
|
+
--radius-lg: calc(12px * var(--radius-scale));
|
|
280
|
+
--radius-pill: calc(999px * var(--radius-scale)); }
|
|
281
|
+
[data-corners="soft"] { --radius-scale: 1;
|
|
282
|
+
--radius-xs: calc(3px * var(--radius-scale));
|
|
283
|
+
--radius-sm: calc(5px * var(--radius-scale));
|
|
284
|
+
--radius-md: calc(8px * var(--radius-scale));
|
|
285
|
+
--radius-lg: calc(12px * var(--radius-scale));
|
|
286
|
+
--radius-pill: calc(999px * var(--radius-scale)); }
|
|
287
|
+
|
|
288
|
+
/* Base element styles: minimal, semantic. Components carry their own styling. */
|
|
289
|
+
/* The type is set on BODY, not HTML, on purpose.
|
|
290
|
+
font: var(--type-body) is 14px. Setting it on html would make 1rem = 14px, which
|
|
291
|
+
silently shrinks every rem-based value Tailwind emits — text sizes, container
|
|
292
|
+
widths, radii, blur, and any arbitrary rem — to 87.5% of intent. Core tokens are
|
|
293
|
+
all px, so nothing here needs a 14px root. Leaving html at the UA size keeps
|
|
294
|
+
Tailwind's rem scale honest while body still renders 14px content. */
|
|
295
|
+
/* Base element styles live in @layer base INSIDE this file, not only when
|
|
296
|
+
imported with layer(base). A plain <link rel="stylesheet"> cannot be layered
|
|
297
|
+
from the outside, so an unlayered copy of these rules beats every Tailwind
|
|
298
|
+
utility: h1's `font:` shorthand then wins over .type-display and over an
|
|
299
|
+
explicit text-[38px], and it resets font-feature-settings on the way past.
|
|
300
|
+
Layering here makes the file safe to load by any mechanism.
|
|
301
|
+
|
|
302
|
+
Note the declaration order within each heading rule: `font:` is a shorthand
|
|
303
|
+
that resets font-feature-settings, so features must come AFTER it. */
|
|
304
|
+
@layer base {
|
|
305
|
+
html { background: var(--bg); color: var(--fg); }
|
|
306
|
+
body { margin: 0; font: var(--type-body); font-feature-settings: var(--features-sans); font-optical-sizing: auto; font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; color: inherit; background: inherit; }
|
|
307
|
+
/* Real italics come from the ital axis. font-synthesis: none above means a missing
|
|
308
|
+
face fails visibly rather than being faked with a slant or a smear of weight. */
|
|
309
|
+
em, i, cite, var { font-style: italic; font-feature-settings: var(--features-sans); }
|
|
310
|
+
::selection { background: var(--selection); }
|
|
311
|
+
a { color: var(--accent-text); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--accent-text) 40%, transparent); text-underline-offset: 2px; }
|
|
312
|
+
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
|
|
313
|
+
code, kbd, samp, pre { font-family: var(--font-mono); font-size: 0.93em; font-feature-settings: var(--features-mono); }
|
|
314
|
+
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }
|
|
315
|
+
h1, h2, h3, h4 { margin: 0; font-weight: var(--weight-medium); letter-spacing: var(--tracking-display); text-wrap: pretty; }
|
|
316
|
+
h1 { font: var(--type-h1); font-feature-settings: var(--features-display); letter-spacing: var(--tracking-display); }
|
|
317
|
+
h2 { font: var(--type-h2); font-feature-settings: var(--features-display); letter-spacing: var(--tracking-display); }
|
|
318
|
+
h3 { font: var(--type-h3); font-feature-settings: var(--features-sans); letter-spacing: 0; }
|
|
319
|
+
p { margin: 0; text-wrap: pretty; }
|
|
320
|
+
hr { border: 0; border-top: var(--border-w) solid var(--border); margin: var(--space-6) 0; }
|
|
321
|
+
}
|
package/nuxt.config.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Zoo UI's Forest theme, `@zooui/theme-forest`: a layer of its own over the base, `@zooui/nuxt`, which it extends — so
|
|
2
|
+
// a Forest product extends this one layer and gets both. It is a layer, not an option on the base, because a product's
|
|
3
|
+
// app.config can override a layer's keys but never remove them: a base that carried Forest's `ui.colors`, badge and
|
|
4
|
+
// alert restyling would carry them into every product. What it adds:
|
|
5
|
+
// - app.config.ts: Nuxt UI pointed at Forest's palettes; the mono face on badges, kbd and table headers; striped
|
|
6
|
+
// alerts; toast edges and no progress bar; nu-grid styling;
|
|
7
|
+
// - the two settings below.
|
|
8
|
+
// Its stylesheet half is assets/css/theme.css (Forest's typefaces, ramps, palettes and ground), which forest.css
|
|
9
|
+
// imports after the base's base.css — so a Forest product extends this layer and imports forest.css; the base layer
|
|
10
|
+
// refuses the mix.
|
|
11
|
+
export default defineNuxtConfig({
|
|
12
|
+
extends: ['@zooui/nuxt'],
|
|
13
|
+
|
|
14
|
+
// Forest ships its own typefaces (Inter and JetBrains Mono from fontsource, imported by assets/css/theme.css), so
|
|
15
|
+
// Nuxt UI's @nuxt/fonts is off: nothing resolves or fetches web fonts beside them. The base leaves it on, as Nuxt
|
|
16
|
+
// UI ships.
|
|
17
|
+
ui: { fonts: false },
|
|
18
|
+
|
|
19
|
+
// color-mode owns light/dark (Nuxt UI installs it, and reads the `dark` class it writes). The theme stores the
|
|
20
|
+
// reader's choice under its own key; the base sets none, so a product with its own look keeps its own.
|
|
21
|
+
colorMode: { storageKey: 'zooui-color-mode' },
|
|
22
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zooui/theme-forest",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Forest, a Zoo UI theme: a Nuxt layer that extends @zooui/nuxt with Forest's colors, page ground, typefaces (Inter and JetBrains Mono, self-hosted), accent schemes and component styling. A product extends this one layer for Zoo UI and the theme together.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/zooui-dev/zooui.git",
|
|
9
|
+
"directory": "packages/theme-forest"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://zooui.dev",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/zooui-dev/zooui/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./nuxt.config.ts",
|
|
17
|
+
"files": [
|
|
18
|
+
"nuxt.config.ts",
|
|
19
|
+
"app.config.ts",
|
|
20
|
+
"assets",
|
|
21
|
+
"schemes",
|
|
22
|
+
"design/*.css",
|
|
23
|
+
"design/*.md",
|
|
24
|
+
"design/*.html"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": "./nuxt.config.ts",
|
|
28
|
+
"./assets/css/*": "./assets/css/*",
|
|
29
|
+
"./schemes/*": "./schemes/*",
|
|
30
|
+
"./design/*": "./design/*"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@fontsource-variable/inter": "^5.3.0",
|
|
34
|
+
"@fontsource-variable/jetbrains-mono": "^5.3.0",
|
|
35
|
+
"@zooui/nuxt": "0.1.1"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"nuxt": "^4.1.0",
|
|
39
|
+
"vue": "^3.5.0"
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=22"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
}
|
|
6
47
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* Ember · Amber — overrides only the ramps; the semantic layer, components and dark mode are untouched. */
|
|
2
|
+
:root {
|
|
3
|
+
--pine-0: #ffffff;
|
|
4
|
+
--pine-50: #f8f7f4;
|
|
5
|
+
--pine-100: #f0eeea;
|
|
6
|
+
--pine-150: #e8e5df;
|
|
7
|
+
--pine-200: #dbd7cf;
|
|
8
|
+
--pine-300: #bfb9ae;
|
|
9
|
+
--pine-400: #968f84;
|
|
10
|
+
--pine-500: #716b61;
|
|
11
|
+
--pine-600: #544f47;
|
|
12
|
+
--pine-700: #3a3630;
|
|
13
|
+
--pine-800: #282522;
|
|
14
|
+
--pine-900: #1c1a17;
|
|
15
|
+
--pine-950: #110f0d;
|
|
16
|
+
--teal-100: #fdeadb;
|
|
17
|
+
--teal-200: #fbcfae;
|
|
18
|
+
--teal-300: #f0a769;
|
|
19
|
+
--teal-400: #e07f2e;
|
|
20
|
+
--teal-500: #a85410;
|
|
21
|
+
--teal-600: #8a4309;
|
|
22
|
+
--teal-700: #6d3407;
|
|
23
|
+
--teal-800: #4e2506;
|
|
24
|
+
--teal-900: #301704;
|
|
25
|
+
--amber-100: #fdf6d4;
|
|
26
|
+
--amber-300: #f2d64b;
|
|
27
|
+
--amber-500: #b39405;
|
|
28
|
+
--amber-700: #7a6508;
|
|
29
|
+
--amber-900: #3d3208;
|
|
30
|
+
|
|
31
|
+
/* status: success and info chosen to sit AWAY from this scheme's accent, so neither reads as the
|
|
32
|
+
primary. amber accent: green and blue both sit clear of it. Values are Tailwind's green and blue palettes, literal. */
|
|
33
|
+
--success-50: oklch(98.2% 0.018 155.826);
|
|
34
|
+
--success-100: oklch(96.2% 0.044 156.743);
|
|
35
|
+
--success-200: oklch(92.5% 0.084 155.995);
|
|
36
|
+
--success-300: oklch(87.1% 0.15 154.449);
|
|
37
|
+
--success-400: oklch(79.2% 0.209 151.711);
|
|
38
|
+
--success-500: oklch(72.3% 0.219 149.579);
|
|
39
|
+
--success-600: oklch(62.7% 0.194 149.214);
|
|
40
|
+
--success-700: oklch(52.7% 0.154 150.069);
|
|
41
|
+
--success-800: oklch(44.8% 0.119 151.328);
|
|
42
|
+
--success-900: oklch(39.3% 0.095 152.535);
|
|
43
|
+
--success-950: oklch(26.6% 0.065 152.934);
|
|
44
|
+
--info-50: oklch(97% 0.014 254.604);
|
|
45
|
+
--info-100: oklch(93.2% 0.032 255.585);
|
|
46
|
+
--info-200: oklch(88.2% 0.059 254.128);
|
|
47
|
+
--info-300: oklch(80.9% 0.105 251.813);
|
|
48
|
+
--info-400: oklch(70.7% 0.165 254.624);
|
|
49
|
+
--info-500: oklch(62.3% 0.214 259.815);
|
|
50
|
+
--info-600: oklch(54.6% 0.245 262.881);
|
|
51
|
+
--info-700: oklch(48.8% 0.243 264.376);
|
|
52
|
+
--info-800: oklch(42.4% 0.199 265.638);
|
|
53
|
+
--info-900: oklch(37.9% 0.146 265.522);
|
|
54
|
+
--info-950: oklch(28.2% 0.091 267.935);
|
|
55
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* Graphite · Violet — overrides only the two ramps; the semantic layer, components and dark mode are untouched. */
|
|
2
|
+
:root {
|
|
3
|
+
--pine-0: #ffffff;
|
|
4
|
+
--pine-50: #f7f7f7;
|
|
5
|
+
--pine-100: #efefef;
|
|
6
|
+
--pine-150: #e6e6e6;
|
|
7
|
+
--pine-200: #d8d8d8;
|
|
8
|
+
--pine-300: #bbbbbb;
|
|
9
|
+
--pine-400: #919191;
|
|
10
|
+
--pine-500: #6d6d6d;
|
|
11
|
+
--pine-600: #525252;
|
|
12
|
+
--pine-700: #393939;
|
|
13
|
+
--pine-800: #272727;
|
|
14
|
+
--pine-900: #1b1b1b;
|
|
15
|
+
--pine-950: #101010;
|
|
16
|
+
--teal-100: #f2e4fb;
|
|
17
|
+
--teal-200: #e0c4f6;
|
|
18
|
+
--teal-300: #c497ec;
|
|
19
|
+
--teal-400: #a86fdf;
|
|
20
|
+
--teal-500: #8c4ec6;
|
|
21
|
+
--teal-600: #733ca6;
|
|
22
|
+
--teal-700: #5c2f84;
|
|
23
|
+
--teal-800: #44245f;
|
|
24
|
+
--teal-900: #2c183d;
|
|
25
|
+
|
|
26
|
+
/* status: success and info chosen to sit AWAY from this scheme's accent, so neither reads as the
|
|
27
|
+
primary. violet accent: green and blue both sit clear of it. Values are Tailwind's green and blue palettes, literal. */
|
|
28
|
+
--success-50: oklch(98.2% 0.018 155.826);
|
|
29
|
+
--success-100: oklch(96.2% 0.044 156.743);
|
|
30
|
+
--success-200: oklch(92.5% 0.084 155.995);
|
|
31
|
+
--success-300: oklch(87.1% 0.15 154.449);
|
|
32
|
+
--success-400: oklch(79.2% 0.209 151.711);
|
|
33
|
+
--success-500: oklch(72.3% 0.219 149.579);
|
|
34
|
+
--success-600: oklch(62.7% 0.194 149.214);
|
|
35
|
+
--success-700: oklch(52.7% 0.154 150.069);
|
|
36
|
+
--success-800: oklch(44.8% 0.119 151.328);
|
|
37
|
+
--success-900: oklch(39.3% 0.095 152.535);
|
|
38
|
+
--success-950: oklch(26.6% 0.065 152.934);
|
|
39
|
+
--info-50: oklch(97% 0.014 254.604);
|
|
40
|
+
--info-100: oklch(93.2% 0.032 255.585);
|
|
41
|
+
--info-200: oklch(88.2% 0.059 254.128);
|
|
42
|
+
--info-300: oklch(80.9% 0.105 251.813);
|
|
43
|
+
--info-400: oklch(70.7% 0.165 254.624);
|
|
44
|
+
--info-500: oklch(62.3% 0.214 259.815);
|
|
45
|
+
--info-600: oklch(54.6% 0.245 262.881);
|
|
46
|
+
--info-700: oklch(48.8% 0.243 264.376);
|
|
47
|
+
--info-800: oklch(42.4% 0.199 265.638);
|
|
48
|
+
--info-900: oklch(37.9% 0.146 265.522);
|
|
49
|
+
--info-950: oklch(28.2% 0.091 267.935);
|
|
50
|
+
}
|