@spunto/design-system 0.50.0 → 0.52.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 +2 -2
- package/src/brand/logo.test.tsx +7 -1
- package/src/brand/logo.ts +28 -20
- package/src/brand/spunto-logo.tsx +7 -3
- package/src/colors.ts +11 -10
- package/src/components/fonts.tsx +2 -2
- package/src/components/image-pull.tsx +5 -4
- package/src/components/terminal-panel.tsx +1 -1
- package/src/components/terminal.tsx +4 -4
- package/styles.css +448 -131
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spunto/design-system",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Spunto's shared design system —
|
|
3
|
+
"version": "0.52.0",
|
|
4
|
+
"description": "Spunto's shared design system — green tokens (conservatory + sprout), color constants, and UI primitives.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://design.spunto.net",
|
package/src/brand/logo.test.tsx
CHANGED
|
@@ -34,7 +34,13 @@ describe("SpuntoLogo", () => {
|
|
|
34
34
|
const svg = renderToStaticMarkup(<SpuntoLogo tone="flame" paint={{ tile: "#be241f" }} />)
|
|
35
35
|
expect(svg).toContain('fill="#be241f"')
|
|
36
36
|
expect(svg).not.toContain('fill="#ec5100"')
|
|
37
|
-
expect(svg).toContain('fill="#
|
|
37
|
+
expect(svg).toContain('fill="#281f45"')
|
|
38
|
+
})
|
|
39
|
+
|
|
40
|
+
it("reads the product's tokens in the product tone", () => {
|
|
41
|
+
const svg = renderToStaticMarkup(<SpuntoLogo tone="product" />)
|
|
42
|
+
expect(svg).toContain('fill="var(--signal)"')
|
|
43
|
+
expect(svg.match(/fill="var\(--field\)"/g)).toHaveLength(spuntoLogoShapes("glyph").length)
|
|
38
44
|
})
|
|
39
45
|
|
|
40
46
|
it("is hidden from assistive tech unless it is given a name", () => {
|
package/src/brand/logo.ts
CHANGED
|
@@ -155,7 +155,7 @@ export interface SpuntoLogoPaint {
|
|
|
155
155
|
/**
|
|
156
156
|
* The declensions. Each is a design-system token turned into a fixed value:
|
|
157
157
|
* a logo is an artefact, not a surface, so it does not follow the theme — the
|
|
158
|
-
*
|
|
158
|
+
* sprout tile is the same sprout at night. The values are the light-theme
|
|
159
159
|
* register of `styles.css` (`--flame`, `--build`, `--ship`, `--run`,
|
|
160
160
|
* `--night`, `--background`) and the sand the marketing pages use for ink on
|
|
161
161
|
* night, converted out of oklch.
|
|
@@ -167,26 +167,34 @@ export interface SpuntoLogoPaint {
|
|
|
167
167
|
* for a hero or a social card, not for a 24 px header.
|
|
168
168
|
*/
|
|
169
169
|
export const SPUNTO_LOGO_TONES = {
|
|
170
|
-
/** The brand:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
|
|
182
|
-
/**
|
|
170
|
+
/** The brand — Spunto Cloud: signal tile, field ink (amber on dusk violet
|
|
171
|
+
* since 2026-10-26, the pair it took over from Browser). The key keeps its
|
|
172
|
+
* old name so every `tone="flame"` caller follows. */
|
|
173
|
+
flame: { tile: "#fdcd5c", ink: "#281f45" },
|
|
174
|
+
/** Cloud's green until 2026-10-26 — `data-product="sprout"`. */
|
|
175
|
+
sprout: { tile: "#bfeb56", ink: "#0a3423" },
|
|
176
|
+
/** Spunto Lite — sky on ink blue. */
|
|
177
|
+
build: { tile: "#83dbff", ink: "#102743" },
|
|
178
|
+
/** Spunto Browser — amber on dusk (Cloud's pair too since 2026-10-26). */
|
|
179
|
+
ship: { tile: "#fdcd5c", ink: "#281f45" },
|
|
180
|
+
/** Spunto Cloud's mid tone, light ink — for a light page that wants weight. */
|
|
181
|
+
run: { tile: "#6646b7", ink: "#f5f4fc" },
|
|
182
|
+
/** The design system — graphite tile, paper ink. */
|
|
183
|
+
night: { tile: "#161c19", ink: "#edf4ee" },
|
|
184
|
+
/** Paper tile, field ink, the container lit in Cloud's tone — for a light print. */
|
|
185
|
+
cream: { tile: "#f8fbf6", ink: "#281f45", core: "#6646b7" },
|
|
186
|
+
/** Spunto CMS — petal on plum. */
|
|
187
|
+
cms: { tile: "#ffb3d7", ink: "#3d1a36" },
|
|
188
|
+
/** Spunto Search — aqua on deep teal. */
|
|
189
|
+
search: { tile: "#7ee9e5", ink: "#002f36" },
|
|
190
|
+
/** Cloud's field, the three pillars lit (night register). */
|
|
183
191
|
pillars: {
|
|
184
|
-
tile: "#
|
|
185
|
-
ink: "#
|
|
186
|
-
fleet: "#
|
|
187
|
-
build: "#
|
|
188
|
-
ship: "#
|
|
189
|
-
run: "#
|
|
192
|
+
tile: "#281f45",
|
|
193
|
+
ink: "#f5f4fc",
|
|
194
|
+
fleet: "#8f8ca0",
|
|
195
|
+
build: "#fdcd5c",
|
|
196
|
+
ship: "#fe8c64",
|
|
197
|
+
run: "#e66a84",
|
|
190
198
|
},
|
|
191
199
|
} as const satisfies Record<string, SpuntoLogoPaint>
|
|
192
200
|
|
|
@@ -23,7 +23,10 @@ import {
|
|
|
23
23
|
from the tokens (see `SPUNTO_LOGO_TONES`); `ink` is the odd one out: no
|
|
24
24
|
tile, and the drawing takes `currentColor`, so it follows the text colour
|
|
25
25
|
it sits in — the right choice for a header on a themed surface, where a
|
|
26
|
-
fixed flame tile would fight the page.
|
|
26
|
+
fixed flame tile would fight the page. `product` is the other live one:
|
|
27
|
+
the flame layout (signal tile, field ink) read from the tokens, so it wears
|
|
28
|
+
whatever `data-product` it sits under — the dashboard, where a member picks
|
|
29
|
+
their colour, uses it so the logo changes with everything else.
|
|
27
30
|
|
|
28
31
|
`paint` overrides any tone field by field. A product whose accent is not a
|
|
29
32
|
design-system token (the site's marketing `rust`, say) passes its own tile
|
|
@@ -32,7 +35,7 @@ import {
|
|
|
32
35
|
export interface SpuntoLogoProps extends Omit<SVGProps<SVGSVGElement>, "children" | "viewBox"> {
|
|
33
36
|
variant?: SpuntoLogoVariant
|
|
34
37
|
/** @default "flame" */
|
|
35
|
-
tone?: SpuntoLogoTone | "ink"
|
|
38
|
+
tone?: SpuntoLogoTone | "ink" | "product"
|
|
36
39
|
/** Per-role overrides on top of the tone. */
|
|
37
40
|
paint?: Partial<SpuntoLogoPaint>
|
|
38
41
|
/** Width and height, in px. Leave it out to size with `className`. */
|
|
@@ -55,6 +58,7 @@ export interface SpuntoLogoProps extends Omit<SVGProps<SVGSVGElement>, "children
|
|
|
55
58
|
}
|
|
56
59
|
|
|
57
60
|
const INK: SpuntoLogoPaint = { ink: "currentColor" }
|
|
61
|
+
const PRODUCT: SpuntoLogoPaint = { tile: "var(--signal)", ink: "var(--field)" }
|
|
58
62
|
|
|
59
63
|
type ShapeAttrs = Pick<SVGProps<SVGElement>, "className" | "style">
|
|
60
64
|
|
|
@@ -133,7 +137,7 @@ export function SpuntoLogo({
|
|
|
133
137
|
className,
|
|
134
138
|
...rest
|
|
135
139
|
}: SpuntoLogoProps) {
|
|
136
|
-
const base: SpuntoLogoPaint = tone === "ink" ? INK : SPUNTO_LOGO_TONES[tone]
|
|
140
|
+
const base: SpuntoLogoPaint = tone === "ink" ? INK : tone === "product" ? PRODUCT : SPUNTO_LOGO_TONES[tone]
|
|
137
141
|
const paint: SpuntoLogoPaint = { ...base, ...overrides }
|
|
138
142
|
const shapes = paint.tile ? [spuntoLogoTile(), ...spuntoLogoShapes(variant)] : spuntoLogoShapes(variant)
|
|
139
143
|
|
package/src/colors.ts
CHANGED
|
@@ -20,20 +20,21 @@ export const cssVar = {
|
|
|
20
20
|
run: "var(--run)",
|
|
21
21
|
} as const
|
|
22
22
|
|
|
23
|
-
/**
|
|
23
|
+
/** Line colors for time-series charts (recharts strokes, etc.). Token
|
|
24
|
+
* references, so they follow the product being worn and the theme. */
|
|
24
25
|
export const chartColors = {
|
|
25
|
-
cpu: "
|
|
26
|
-
memory: "
|
|
27
|
-
ship: "
|
|
26
|
+
cpu: "var(--run)",
|
|
27
|
+
memory: "var(--build)",
|
|
28
|
+
ship: "var(--ship)",
|
|
28
29
|
} as const
|
|
29
30
|
|
|
30
|
-
/** Sequential
|
|
31
|
+
/** Sequential ramp (the product's signal → its mid tone). Same as --chart-1..5. */
|
|
31
32
|
export const chartRamp = [
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
33
|
+
"var(--chart-1)",
|
|
34
|
+
"var(--chart-2)",
|
|
35
|
+
"var(--chart-3)",
|
|
36
|
+
"var(--chart-4)",
|
|
37
|
+
"var(--chart-5)",
|
|
37
38
|
] as const
|
|
38
39
|
|
|
39
40
|
/** Categorical, CVD-validated slots for disk/segment breakdowns. */
|
package/src/components/fonts.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Font preloads for the design-system typefaces (Geist /
|
|
1
|
+
// Font preloads for the design-system typefaces (Geist / Young Serif / JetBrains Mono).
|
|
2
2
|
//
|
|
3
3
|
// Renders the resource hints that let the browser fetch the fonts early instead
|
|
4
4
|
// of discovering them mid-render through the `@font-face` rules in `styles.css`.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
const LATIN_WOFF2 = [
|
|
18
18
|
"https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwcGFU.woff2",
|
|
19
19
|
"https://fonts.gstatic.com/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD7OwE.woff2",
|
|
20
|
-
"https://fonts.gstatic.com/s/
|
|
20
|
+
"https://fonts.gstatic.com/s/youngserif/v2/3qTpojO2nS2VtkB3KtkQZ1t93kY.woff2",
|
|
21
21
|
] as const
|
|
22
22
|
|
|
23
23
|
export function FontPreloads() {
|
|
@@ -16,13 +16,14 @@ const pullTheme = {
|
|
|
16
16
|
dim: "#a1a1aa",
|
|
17
17
|
faint: "#71717a",
|
|
18
18
|
/** Tag of the image reference — the part that actually varies, so it's the bright one. */
|
|
19
|
-
tag: "#
|
|
20
|
-
// Phase colors.
|
|
19
|
+
tag: "#d9f99d",
|
|
20
|
+
// Phase colors. Downloading is the main event, in sky (the brand green would
|
|
21
|
+
// read as "done");
|
|
21
22
|
// yellow/green/red come straight from the Terminal's shared ANSI palette so
|
|
22
23
|
// both surfaces agree on what "in progress" / "done" / "failed" look like.
|
|
23
24
|
waiting: "#3f3f46",
|
|
24
|
-
downloading: "#
|
|
25
|
-
verifying: "#
|
|
25
|
+
downloading: "#38bdf8",
|
|
26
|
+
verifying: "#7dd3fc",
|
|
26
27
|
extracting: "#facc15",
|
|
27
28
|
done: "#4ade80",
|
|
28
29
|
error: "#f87171",
|
|
@@ -336,7 +336,7 @@ function bufferToText(term: XTerm): string {
|
|
|
336
336
|
/**
|
|
337
337
|
* Match colors live here, not at the call site: search is a design-system
|
|
338
338
|
* affordance and every terminal in the product should highlight the same way —
|
|
339
|
-
* zinc for the other matches,
|
|
339
|
+
* zinc for the other matches, sprout for the one you're on.
|
|
340
340
|
*/
|
|
341
341
|
function searchOptions(options?: TerminalSearchOptions) {
|
|
342
342
|
return {
|
|
@@ -345,9 +345,9 @@ function searchOptions(options?: TerminalSearchOptions) {
|
|
|
345
345
|
matchBackground: "#3f3f46",
|
|
346
346
|
matchBorder: "#71717a",
|
|
347
347
|
matchOverviewRuler: "#a1a1aa",
|
|
348
|
-
activeMatchBackground: "#
|
|
349
|
-
activeMatchBorder: "#
|
|
350
|
-
activeMatchColorOverviewRuler: "#
|
|
348
|
+
activeMatchBackground: "#3f6212",
|
|
349
|
+
activeMatchBorder: "#a3e635",
|
|
350
|
+
activeMatchColorOverviewRuler: "#a3e635",
|
|
351
351
|
},
|
|
352
352
|
}
|
|
353
353
|
}
|
package/styles.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @spunto/design-system — design tokens
|
|
2
|
+
* @spunto/design-system — design tokens: one universe, a colour pair per product (data-product).
|
|
3
3
|
*
|
|
4
4
|
* Token names and structure follow shadcn/ui (https://ui.shadcn.com, MIT) — the
|
|
5
5
|
* base this whole design system is built on. Only the values are ours.
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
* @import "@spunto/design-system/styles.css";
|
|
10
10
|
*
|
|
11
11
|
* Provides the oklch token scale, the `@theme inline` → Tailwind color/radius
|
|
12
|
-
* mapping, a minimal base layer, and the
|
|
12
|
+
* mapping, a minimal base layer, and the dot-grid / blueprint-grid utilities.
|
|
13
13
|
* `@custom-variant dark` stays in the app (or add it there once).
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/* ─── Fonts — carried by the design system ──────────────────────────────────
|
|
17
17
|
*
|
|
18
18
|
* Canonical typography (single source of truth, decided 2026-07-23):
|
|
19
|
-
* text = Geist · display = Syne · mono = JetBrains Mono
|
|
19
|
+
* text = Geist · display = Young Serif (was Syne until 2026-10-17) · mono = JetBrains Mono
|
|
20
20
|
*
|
|
21
21
|
* `src` points straight at the versioned .woff2 files on fonts.gstatic.com
|
|
22
22
|
* (absolute → identical everywhere, never hashed). URLs were harvested once from
|
|
@@ -121,38 +121,30 @@
|
|
|
121
121
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
/*
|
|
124
|
+
/* Young Serif — display (one weight, 400, drawn heavy: the seed-catalogue
|
|
125
|
+
serif). Replaced Syne on 2026-10-17. Never ask it for a bold: there is none,
|
|
126
|
+
and a synthesized one smears — `font-synthesis` is off on `.font-display`. */
|
|
125
127
|
@font-face {
|
|
126
|
-
font-family: "
|
|
128
|
+
font-family: "Young Serif";
|
|
127
129
|
font-style: normal;
|
|
128
|
-
font-weight: 400
|
|
130
|
+
font-weight: 400;
|
|
129
131
|
font-display: swap;
|
|
130
|
-
src: url(https://fonts.gstatic.com/s/
|
|
131
|
-
unicode-range: U+
|
|
132
|
-
}
|
|
133
|
-
@font-face {
|
|
134
|
-
font-family: "Syne";
|
|
135
|
-
font-style: normal;
|
|
136
|
-
font-weight: 400 800;
|
|
137
|
-
font-display: swap;
|
|
138
|
-
src: url(https://fonts.gstatic.com/s/syne/v24/8vIH7w4qzmVxm25L9Hz_.woff2) format("woff2");
|
|
139
|
-
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
132
|
+
src: url(https://fonts.gstatic.com/s/youngserif/v2/3qTpojO2nS2VtkB3KtkQZ1tz3kYoaQ.woff2) format("woff2");
|
|
133
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
140
134
|
}
|
|
141
135
|
@font-face {
|
|
142
|
-
font-family: "
|
|
136
|
+
font-family: "Young Serif";
|
|
143
137
|
font-style: normal;
|
|
144
|
-
font-weight: 400
|
|
138
|
+
font-weight: 400;
|
|
145
139
|
font-display: swap;
|
|
146
|
-
src: url(https://fonts.gstatic.com/s/
|
|
140
|
+
src: url(https://fonts.gstatic.com/s/youngserif/v2/3qTpojO2nS2VtkB3KtkQZ1t93kY.woff2) format("woff2");
|
|
147
141
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
148
142
|
}
|
|
149
143
|
|
|
150
|
-
/* Font families — real Tailwind tokens (utilities `font-sans` / `font-mono` /
|
|
151
|
-
* `font-display`), defined directly by the DS. No brand-specific indirection. */
|
|
152
144
|
@theme {
|
|
153
145
|
--font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
154
146
|
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
|
|
155
|
-
--font-display: "
|
|
147
|
+
--font-display: "Young Serif", ui-serif, Georgia, serif;
|
|
156
148
|
}
|
|
157
149
|
|
|
158
150
|
@theme inline {
|
|
@@ -199,6 +191,26 @@
|
|
|
199
191
|
--color-ship: var(--ship);
|
|
200
192
|
--color-run: var(--run);
|
|
201
193
|
--color-flame: var(--flame);
|
|
194
|
+
--color-field: var(--field);
|
|
195
|
+
--color-signal: var(--signal);
|
|
196
|
+
--color-cloud: var(--cloud);
|
|
197
|
+
--color-cloud-field: var(--cloud-field);
|
|
198
|
+
--color-cloud-signal: var(--cloud-signal);
|
|
199
|
+
--color-cms: var(--cms);
|
|
200
|
+
--color-cms-field: var(--cms-field);
|
|
201
|
+
--color-cms-signal: var(--cms-signal);
|
|
202
|
+
--color-lite: var(--lite);
|
|
203
|
+
--color-lite-field: var(--lite-field);
|
|
204
|
+
--color-lite-signal: var(--lite-signal);
|
|
205
|
+
--color-browser: var(--browser);
|
|
206
|
+
--color-browser-field: var(--browser-field);
|
|
207
|
+
--color-browser-signal: var(--browser-signal);
|
|
208
|
+
--color-search: var(--search);
|
|
209
|
+
--color-search-field: var(--search-field);
|
|
210
|
+
--color-search-signal: var(--search-signal);
|
|
211
|
+
--color-ds: var(--ds);
|
|
212
|
+
--color-ds-field: var(--ds-field);
|
|
213
|
+
--color-ds-signal: var(--ds-signal);
|
|
202
214
|
/* Marketing surfaces — the two fixed dark values (see `--night` below) */
|
|
203
215
|
--color-night: var(--night);
|
|
204
216
|
--color-code-surface: var(--code-surface);
|
|
@@ -212,126 +224,425 @@
|
|
|
212
224
|
--radius-4xl: calc(var(--radius) * 3.5);
|
|
213
225
|
}
|
|
214
226
|
|
|
215
|
-
/* ───
|
|
227
|
+
/* ─── The universe, then a product ──────────────────────────────────────────
|
|
228
|
+
* Since 2026-10-19 the design system dresses *several products in one
|
|
229
|
+
* universe*. Everything shared lives on :root — a near-neutral ground with a
|
|
230
|
+
* hair of green, the type (Young Serif / Geist / JetBrains Mono), the 4 px
|
|
231
|
+
* radius, the status semantics — and each product brings one pair:
|
|
232
|
+
*
|
|
233
|
+
* --field its deep colour: the band a page opens on, a logo's ink
|
|
234
|
+
* --signal its bright one: what is alive, the action on a field
|
|
235
|
+
* --tone its mid tone, between the two (Run, the end of the chart ramp)
|
|
236
|
+
* --primary derived from them — the mid tone on light, the signal on dark
|
|
237
|
+
*
|
|
238
|
+
* Pick the product with `data-product="cloud|cms|lite|browser|search|ds"` on
|
|
239
|
+
* <html> or on any subtree (a marketing card can wear another product's
|
|
240
|
+
* colours inside a page). No attribute = Spunto Cloud — dusk violet and amber
|
|
241
|
+
* since 2026-10-26 (Browser's pair, Browser being on its way out); its former green is kept as `data-product="sprout"`, a
|
|
242
|
+
* palette with no product behind it (the dashboard lets a member pick it). Every product's raw
|
|
243
|
+
* pair is also on :root (`--cms-field`, `--cms-signal`, `--cms`…, Tailwind
|
|
244
|
+
* `bg-cms-field`, `text-cms`…) so one page can show the whole family.
|
|
245
|
+
*
|
|
246
|
+
* Token *names* are shadcn's (https://ui.shadcn.com, MIT) plus ours; `--flame`
|
|
247
|
+
* is the legacy name of the brand colour and follows `--primary`. */
|
|
216
248
|
:root {
|
|
217
|
-
--
|
|
218
|
-
--
|
|
219
|
-
--
|
|
220
|
-
--
|
|
221
|
-
--
|
|
222
|
-
--
|
|
223
|
-
--
|
|
224
|
-
--
|
|
225
|
-
--
|
|
226
|
-
--
|
|
227
|
-
--
|
|
228
|
-
--
|
|
229
|
-
--
|
|
230
|
-
--
|
|
249
|
+
--cloud-field: oklch(0.27 0.07 292);
|
|
250
|
+
--cloud-signal: oklch(0.87 0.14 86);
|
|
251
|
+
--cloud: oklch(0.49 0.17 292);
|
|
252
|
+
--cms-field: oklch(0.28 0.07 335);
|
|
253
|
+
--cms-signal: oklch(0.85 0.10 350);
|
|
254
|
+
--cms: oklch(0.48 0.15 340);
|
|
255
|
+
--lite-field: oklch(0.27 0.06 255);
|
|
256
|
+
--lite-signal: oklch(0.85 0.10 228);
|
|
257
|
+
--lite: oklch(0.49 0.14 258);
|
|
258
|
+
--browser-field: oklch(0.27 0.07 292);
|
|
259
|
+
--browser-signal: oklch(0.87 0.14 86);
|
|
260
|
+
--browser: oklch(0.49 0.17 292);
|
|
261
|
+
--search-field: oklch(0.28 0.05 208);
|
|
262
|
+
--search-signal: oklch(0.87 0.10 192);
|
|
263
|
+
--search: oklch(0.49 0.09 212);
|
|
264
|
+
--ds-field: oklch(0.22 0.012 165);
|
|
265
|
+
--ds-signal: oklch(0.96 0.01 150);
|
|
266
|
+
--ds: oklch(0.30 0.02 165);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
:root {
|
|
270
|
+
--background: oklch(0.985 0.003 160);
|
|
271
|
+
--foreground: oklch(0.21 0.015 165);
|
|
272
|
+
--card: oklch(0.998 0.002 160);
|
|
273
|
+
--card-foreground: oklch(0.21 0.015 165);
|
|
274
|
+
--popover: oklch(0.998 0.002 160);
|
|
275
|
+
--popover-foreground: oklch(0.21 0.015 165);
|
|
276
|
+
--secondary: oklch(0.945 0.006 160);
|
|
277
|
+
--secondary-foreground: oklch(0.30 0.02 165);
|
|
278
|
+
--muted: oklch(0.955 0.005 160);
|
|
279
|
+
--muted-foreground: oklch(0.48 0.015 165);
|
|
231
280
|
--destructive: oklch(0.577 0.245 27.325);
|
|
232
|
-
/* Status semantics —
|
|
233
|
-
|
|
234
|
-
--success
|
|
281
|
+
/* Status semantics — success is a lighter, yellower green than Cloud's
|
|
282
|
+
primary so a "running" badge never reads as a button */
|
|
283
|
+
--success: oklch(0.62 0.16 142);
|
|
284
|
+
--success-foreground: oklch(0.99 0.006 150);
|
|
235
285
|
--warning: oklch(0.74 0.16 68);
|
|
236
286
|
--warning-foreground: oklch(0.24 0.05 60);
|
|
237
|
-
--info: oklch(0.
|
|
238
|
-
--info-foreground: oklch(0.99 0.
|
|
239
|
-
--border: oklch(0.
|
|
240
|
-
--input: oklch(0.
|
|
241
|
-
--
|
|
242
|
-
/* Brand warm scale — Build (amber) → Ship (orange) → Run (flame) */
|
|
243
|
-
--build: oklch(0.79 0.155 70);
|
|
244
|
-
--ship: oklch(0.72 0.185 52);
|
|
245
|
-
--run: oklch(0.66 0.205 42);
|
|
246
|
-
--flame: oklch(0.64 0.205 41);
|
|
247
|
-
--chart-1: oklch(0.79 0.155 70);
|
|
248
|
-
--chart-2: oklch(0.72 0.185 52);
|
|
249
|
-
--chart-3: oklch(0.66 0.205 42);
|
|
250
|
-
--chart-4: oklch(0.58 0.205 35);
|
|
251
|
-
--chart-5: oklch(0.52 0.19 28);
|
|
252
|
-
--seg-workers: #eb6834;
|
|
287
|
+
--info: oklch(0.56 0.13 245);
|
|
288
|
+
--info-foreground: oklch(0.99 0.006 150);
|
|
289
|
+
--border: oklch(0.905 0.006 160);
|
|
290
|
+
--input: oklch(0.905 0.006 160);
|
|
291
|
+
--seg-workers: #2e8b57;
|
|
253
292
|
--seg-deployments: #256abf;
|
|
254
|
-
--seg-images: #
|
|
255
|
-
--seg-buildcache: #
|
|
293
|
+
--seg-images: #8a5cc4;
|
|
294
|
+
--seg-buildcache: #d99500;
|
|
256
295
|
--radius: 0.25rem;
|
|
257
|
-
--sidebar: oklch(0.
|
|
258
|
-
--sidebar-foreground: oklch(0.
|
|
259
|
-
--sidebar-
|
|
260
|
-
--
|
|
261
|
-
--
|
|
262
|
-
--
|
|
263
|
-
--
|
|
264
|
-
--
|
|
296
|
+
--sidebar: oklch(0.97 0.004 160);
|
|
297
|
+
--sidebar-foreground: oklch(0.21 0.015 165);
|
|
298
|
+
--sidebar-border: oklch(0.905 0.006 160);
|
|
299
|
+
--field: oklch(0.27 0.07 292);
|
|
300
|
+
--signal: oklch(0.87 0.14 86);
|
|
301
|
+
--tone: oklch(0.49 0.17 292);
|
|
302
|
+
--primary: oklch(0.49 0.17 292);
|
|
303
|
+
--primary-foreground: oklch(0.99 0.006 292);
|
|
304
|
+
--ring: oklch(0.49 0.17 292);
|
|
305
|
+
--accent: oklch(0.945 0.03 292);
|
|
306
|
+
--accent-foreground: oklch(0.32 0.07 292);
|
|
307
|
+
--sidebar-primary: oklch(0.49 0.17 292);
|
|
308
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 292);
|
|
309
|
+
--sidebar-accent: oklch(0.935 0.03 292);
|
|
310
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 292);
|
|
311
|
+
--sidebar-ring: oklch(0.49 0.17 292);
|
|
312
|
+
--flame: oklch(0.49 0.17 292);
|
|
265
313
|
}
|
|
266
314
|
|
|
267
|
-
/* ─── Dark mode — Warm charcoal, golden undertone ───────────────────────── */
|
|
268
315
|
.dark {
|
|
269
|
-
--background: oklch(0.
|
|
270
|
-
--foreground: oklch(0.95 0.
|
|
271
|
-
--card: oklch(0.
|
|
272
|
-
--card-foreground: oklch(0.95 0.
|
|
273
|
-
--popover: oklch(0.
|
|
274
|
-
--popover-foreground: oklch(0.95 0.
|
|
275
|
-
--
|
|
276
|
-
--
|
|
277
|
-
--
|
|
278
|
-
--
|
|
279
|
-
--muted: oklch(0.23 0.014 52);
|
|
280
|
-
--muted-foreground: oklch(0.67 0.022 66);
|
|
281
|
-
--accent: oklch(0.28 0.018 54);
|
|
282
|
-
--accent-foreground: oklch(0.95 0.009 78);
|
|
316
|
+
--background: oklch(0.165 0.008 165);
|
|
317
|
+
--foreground: oklch(0.95 0.006 150);
|
|
318
|
+
--card: oklch(0.20 0.01 165);
|
|
319
|
+
--card-foreground: oklch(0.95 0.006 150);
|
|
320
|
+
--popover: oklch(0.20 0.01 165);
|
|
321
|
+
--popover-foreground: oklch(0.95 0.006 150);
|
|
322
|
+
--secondary: oklch(0.26 0.012 165);
|
|
323
|
+
--secondary-foreground: oklch(0.95 0.006 150);
|
|
324
|
+
--muted: oklch(0.23 0.01 165);
|
|
325
|
+
--muted-foreground: oklch(0.70 0.012 160);
|
|
283
326
|
--destructive: oklch(0.704 0.191 22.216);
|
|
284
|
-
|
|
285
|
-
--success: oklch(0.
|
|
286
|
-
--success-foreground: oklch(0.16 0.012 52);
|
|
327
|
+
--success: oklch(0.74 0.15 146);
|
|
328
|
+
--success-foreground: oklch(0.18 0.02 160);
|
|
287
329
|
--warning: oklch(0.80 0.155 72);
|
|
288
|
-
--warning-foreground: oklch(0.
|
|
289
|
-
--info: oklch(0.
|
|
290
|
-
--info-foreground: oklch(0.
|
|
291
|
-
--border: oklch(0.
|
|
292
|
-
--input: oklch(0.
|
|
293
|
-
--
|
|
294
|
-
--build: oklch(0.83 0.15 72);
|
|
295
|
-
--ship: oklch(0.76 0.18 53);
|
|
296
|
-
--run: oklch(0.71 0.20 43);
|
|
297
|
-
--flame: oklch(0.71 0.20 43);
|
|
298
|
-
--chart-1: oklch(0.83 0.15 72);
|
|
299
|
-
--chart-2: oklch(0.76 0.18 53);
|
|
300
|
-
--chart-3: oklch(0.71 0.20 43);
|
|
301
|
-
--chart-4: oklch(0.64 0.20 36);
|
|
302
|
-
--chart-5: oklch(0.57 0.19 29);
|
|
303
|
-
--seg-workers: #d95926;
|
|
330
|
+
--warning-foreground: oklch(0.18 0.02 160);
|
|
331
|
+
--info: oklch(0.70 0.12 240);
|
|
332
|
+
--info-foreground: oklch(0.18 0.02 160);
|
|
333
|
+
--border: oklch(0.93 0.01 150 / 11%);
|
|
334
|
+
--input: oklch(0.93 0.01 150 / 14%);
|
|
335
|
+
--seg-workers: #3fae73;
|
|
304
336
|
--seg-deployments: #3987e5;
|
|
305
|
-
--seg-images: #
|
|
337
|
+
--seg-images: #a47fe0;
|
|
306
338
|
--seg-buildcache: #c98500;
|
|
307
|
-
--sidebar: oklch(0.
|
|
308
|
-
--sidebar-foreground: oklch(0.95 0.
|
|
309
|
-
--sidebar-
|
|
310
|
-
--
|
|
311
|
-
--
|
|
312
|
-
--
|
|
313
|
-
--
|
|
314
|
-
--
|
|
339
|
+
--sidebar: oklch(0.185 0.009 165);
|
|
340
|
+
--sidebar-foreground: oklch(0.95 0.006 150);
|
|
341
|
+
--sidebar-border: oklch(0.93 0.01 150 / 11%);
|
|
342
|
+
--field: oklch(0.27 0.07 292);
|
|
343
|
+
--signal: oklch(0.87 0.14 86);
|
|
344
|
+
--tone: oklch(0.49 0.17 292);
|
|
345
|
+
--primary: oklch(0.87 0.14 86);
|
|
346
|
+
--primary-foreground: oklch(0.27 0.07 292);
|
|
347
|
+
--ring: oklch(0.87 0.14 86);
|
|
348
|
+
--accent: oklch(0.28 0.035 292);
|
|
349
|
+
--accent-foreground: oklch(0.95 0.01 292);
|
|
350
|
+
--sidebar-primary: oklch(0.87 0.14 86);
|
|
351
|
+
--sidebar-primary-foreground: oklch(0.27 0.07 292);
|
|
352
|
+
--sidebar-accent: oklch(0.26 0.03 292);
|
|
353
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 292);
|
|
354
|
+
--sidebar-ring: oklch(0.87 0.14 86);
|
|
355
|
+
--flame: oklch(0.87 0.14 86);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/* ─── The products ───────────────────────────────────────────────────────── */
|
|
359
|
+
/* Spunto Cloud — dusk violet / amber (Browser's pair, taken over 2026-10-26;
|
|
360
|
+
conservatory green until then: `sprout`) */
|
|
361
|
+
[data-product="cloud"] {
|
|
362
|
+
--field: oklch(0.27 0.07 292);
|
|
363
|
+
--signal: oklch(0.87 0.14 86);
|
|
364
|
+
--tone: oklch(0.49 0.17 292);
|
|
365
|
+
--primary: oklch(0.49 0.17 292);
|
|
366
|
+
--primary-foreground: oklch(0.99 0.006 292);
|
|
367
|
+
--ring: oklch(0.49 0.17 292);
|
|
368
|
+
--accent: oklch(0.945 0.03 292);
|
|
369
|
+
--accent-foreground: oklch(0.32 0.07 292);
|
|
370
|
+
--sidebar-primary: oklch(0.49 0.17 292);
|
|
371
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 292);
|
|
372
|
+
--sidebar-accent: oklch(0.935 0.03 292);
|
|
373
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 292);
|
|
374
|
+
--sidebar-ring: oklch(0.49 0.17 292);
|
|
375
|
+
--flame: oklch(0.49 0.17 292);
|
|
376
|
+
}
|
|
377
|
+
.dark [data-product="cloud"],
|
|
378
|
+
.dark[data-product="cloud"] {
|
|
379
|
+
--field: oklch(0.27 0.07 292);
|
|
380
|
+
--signal: oklch(0.87 0.14 86);
|
|
381
|
+
--tone: oklch(0.49 0.17 292);
|
|
382
|
+
--primary: oklch(0.87 0.14 86);
|
|
383
|
+
--primary-foreground: oklch(0.27 0.07 292);
|
|
384
|
+
--ring: oklch(0.87 0.14 86);
|
|
385
|
+
--accent: oklch(0.28 0.035 292);
|
|
386
|
+
--accent-foreground: oklch(0.95 0.01 292);
|
|
387
|
+
--sidebar-primary: oklch(0.87 0.14 86);
|
|
388
|
+
--sidebar-primary-foreground: oklch(0.27 0.07 292);
|
|
389
|
+
--sidebar-accent: oklch(0.26 0.03 292);
|
|
390
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 292);
|
|
391
|
+
--sidebar-ring: oklch(0.87 0.14 86);
|
|
392
|
+
--flame: oklch(0.87 0.14 86);
|
|
393
|
+
}
|
|
394
|
+
/* Sprout — no product: Spunto Cloud's green until 2026-10-26, kept as a
|
|
395
|
+
palette a member can dress the dashboard in (apps/next/lib/accent.ts) */
|
|
396
|
+
[data-product="sprout"] {
|
|
397
|
+
--field: oklch(0.29 0.055 162);
|
|
398
|
+
--signal: oklch(0.88 0.18 124);
|
|
399
|
+
--tone: oklch(0.45 0.115 155);
|
|
400
|
+
--primary: oklch(0.45 0.115 155);
|
|
401
|
+
--primary-foreground: oklch(0.99 0.006 150);
|
|
402
|
+
--ring: oklch(0.45 0.115 155);
|
|
403
|
+
--accent: oklch(0.945 0.03 150);
|
|
404
|
+
--accent-foreground: oklch(0.32 0.07 150);
|
|
405
|
+
--sidebar-primary: oklch(0.45 0.115 155);
|
|
406
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 150);
|
|
407
|
+
--sidebar-accent: oklch(0.935 0.03 150);
|
|
408
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 150);
|
|
409
|
+
--sidebar-ring: oklch(0.45 0.115 155);
|
|
410
|
+
--flame: oklch(0.45 0.115 155);
|
|
411
|
+
}
|
|
412
|
+
.dark [data-product="sprout"],
|
|
413
|
+
.dark[data-product="sprout"] {
|
|
414
|
+
--field: oklch(0.29 0.055 162);
|
|
415
|
+
--signal: oklch(0.88 0.18 124);
|
|
416
|
+
--tone: oklch(0.45 0.115 155);
|
|
417
|
+
--primary: oklch(0.88 0.18 124);
|
|
418
|
+
--primary-foreground: oklch(0.29 0.055 162);
|
|
419
|
+
--ring: oklch(0.88 0.18 124);
|
|
420
|
+
--accent: oklch(0.28 0.035 150);
|
|
421
|
+
--accent-foreground: oklch(0.95 0.01 150);
|
|
422
|
+
--sidebar-primary: oklch(0.88 0.18 124);
|
|
423
|
+
--sidebar-primary-foreground: oklch(0.29 0.055 162);
|
|
424
|
+
--sidebar-accent: oklch(0.26 0.03 150);
|
|
425
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 150);
|
|
426
|
+
--sidebar-ring: oklch(0.88 0.18 124);
|
|
427
|
+
--flame: oklch(0.88 0.18 124);
|
|
428
|
+
}
|
|
429
|
+
/* Spunto CMS — plum / petal */
|
|
430
|
+
[data-product="cms"] {
|
|
431
|
+
--field: oklch(0.28 0.07 335);
|
|
432
|
+
--signal: oklch(0.85 0.10 350);
|
|
433
|
+
--tone: oklch(0.48 0.15 340);
|
|
434
|
+
--primary: oklch(0.48 0.15 340);
|
|
435
|
+
--primary-foreground: oklch(0.99 0.006 340);
|
|
436
|
+
--ring: oklch(0.48 0.15 340);
|
|
437
|
+
--accent: oklch(0.945 0.03 340);
|
|
438
|
+
--accent-foreground: oklch(0.32 0.07 340);
|
|
439
|
+
--sidebar-primary: oklch(0.48 0.15 340);
|
|
440
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 340);
|
|
441
|
+
--sidebar-accent: oklch(0.935 0.03 340);
|
|
442
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 340);
|
|
443
|
+
--sidebar-ring: oklch(0.48 0.15 340);
|
|
444
|
+
--flame: oklch(0.48 0.15 340);
|
|
445
|
+
}
|
|
446
|
+
.dark [data-product="cms"],
|
|
447
|
+
.dark[data-product="cms"] {
|
|
448
|
+
--field: oklch(0.28 0.07 335);
|
|
449
|
+
--signal: oklch(0.85 0.10 350);
|
|
450
|
+
--tone: oklch(0.48 0.15 340);
|
|
451
|
+
--primary: oklch(0.85 0.10 350);
|
|
452
|
+
--primary-foreground: oklch(0.28 0.07 335);
|
|
453
|
+
--ring: oklch(0.85 0.10 350);
|
|
454
|
+
--accent: oklch(0.28 0.035 340);
|
|
455
|
+
--accent-foreground: oklch(0.95 0.01 340);
|
|
456
|
+
--sidebar-primary: oklch(0.85 0.10 350);
|
|
457
|
+
--sidebar-primary-foreground: oklch(0.28 0.07 335);
|
|
458
|
+
--sidebar-accent: oklch(0.26 0.03 340);
|
|
459
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 340);
|
|
460
|
+
--sidebar-ring: oklch(0.85 0.10 350);
|
|
461
|
+
--flame: oklch(0.85 0.10 350);
|
|
462
|
+
}
|
|
463
|
+
/* Spunto Lite — ink blue / sky */
|
|
464
|
+
[data-product="lite"] {
|
|
465
|
+
--field: oklch(0.27 0.06 255);
|
|
466
|
+
--signal: oklch(0.85 0.10 228);
|
|
467
|
+
--tone: oklch(0.49 0.14 258);
|
|
468
|
+
--primary: oklch(0.49 0.14 258);
|
|
469
|
+
--primary-foreground: oklch(0.99 0.006 255);
|
|
470
|
+
--ring: oklch(0.49 0.14 258);
|
|
471
|
+
--accent: oklch(0.945 0.03 255);
|
|
472
|
+
--accent-foreground: oklch(0.32 0.07 255);
|
|
473
|
+
--sidebar-primary: oklch(0.49 0.14 258);
|
|
474
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 255);
|
|
475
|
+
--sidebar-accent: oklch(0.935 0.03 255);
|
|
476
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 255);
|
|
477
|
+
--sidebar-ring: oklch(0.49 0.14 258);
|
|
478
|
+
--flame: oklch(0.49 0.14 258);
|
|
479
|
+
}
|
|
480
|
+
.dark [data-product="lite"],
|
|
481
|
+
.dark[data-product="lite"] {
|
|
482
|
+
--field: oklch(0.27 0.06 255);
|
|
483
|
+
--signal: oklch(0.85 0.10 228);
|
|
484
|
+
--tone: oklch(0.49 0.14 258);
|
|
485
|
+
--primary: oklch(0.85 0.10 228);
|
|
486
|
+
--primary-foreground: oklch(0.27 0.06 255);
|
|
487
|
+
--ring: oklch(0.85 0.10 228);
|
|
488
|
+
--accent: oklch(0.28 0.035 255);
|
|
489
|
+
--accent-foreground: oklch(0.95 0.01 255);
|
|
490
|
+
--sidebar-primary: oklch(0.85 0.10 228);
|
|
491
|
+
--sidebar-primary-foreground: oklch(0.27 0.06 255);
|
|
492
|
+
--sidebar-accent: oklch(0.26 0.03 255);
|
|
493
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 255);
|
|
494
|
+
--sidebar-ring: oklch(0.85 0.10 228);
|
|
495
|
+
--flame: oklch(0.85 0.10 228);
|
|
496
|
+
}
|
|
497
|
+
/* Spunto Browser — dusk violet / amber, same pair as Cloud since 2026-10-26
|
|
498
|
+
(Browser is being deprecated) */
|
|
499
|
+
[data-product="browser"] {
|
|
500
|
+
--field: oklch(0.27 0.07 292);
|
|
501
|
+
--signal: oklch(0.87 0.14 86);
|
|
502
|
+
--tone: oklch(0.49 0.17 292);
|
|
503
|
+
--primary: oklch(0.49 0.17 292);
|
|
504
|
+
--primary-foreground: oklch(0.99 0.006 292);
|
|
505
|
+
--ring: oklch(0.49 0.17 292);
|
|
506
|
+
--accent: oklch(0.945 0.03 292);
|
|
507
|
+
--accent-foreground: oklch(0.32 0.07 292);
|
|
508
|
+
--sidebar-primary: oklch(0.49 0.17 292);
|
|
509
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 292);
|
|
510
|
+
--sidebar-accent: oklch(0.935 0.03 292);
|
|
511
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 292);
|
|
512
|
+
--sidebar-ring: oklch(0.49 0.17 292);
|
|
513
|
+
--flame: oklch(0.49 0.17 292);
|
|
514
|
+
}
|
|
515
|
+
.dark [data-product="browser"],
|
|
516
|
+
.dark[data-product="browser"] {
|
|
517
|
+
--field: oklch(0.27 0.07 292);
|
|
518
|
+
--signal: oklch(0.87 0.14 86);
|
|
519
|
+
--tone: oklch(0.49 0.17 292);
|
|
520
|
+
--primary: oklch(0.87 0.14 86);
|
|
521
|
+
--primary-foreground: oklch(0.27 0.07 292);
|
|
522
|
+
--ring: oklch(0.87 0.14 86);
|
|
523
|
+
--accent: oklch(0.28 0.035 292);
|
|
524
|
+
--accent-foreground: oklch(0.95 0.01 292);
|
|
525
|
+
--sidebar-primary: oklch(0.87 0.14 86);
|
|
526
|
+
--sidebar-primary-foreground: oklch(0.27 0.07 292);
|
|
527
|
+
--sidebar-accent: oklch(0.26 0.03 292);
|
|
528
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 292);
|
|
529
|
+
--sidebar-ring: oklch(0.87 0.14 86);
|
|
530
|
+
--flame: oklch(0.87 0.14 86);
|
|
531
|
+
}
|
|
532
|
+
/* Spunto Search — deep teal / aqua */
|
|
533
|
+
[data-product="search"] {
|
|
534
|
+
--field: oklch(0.28 0.05 208);
|
|
535
|
+
--signal: oklch(0.87 0.10 192);
|
|
536
|
+
--tone: oklch(0.49 0.09 212);
|
|
537
|
+
--primary: oklch(0.49 0.09 212);
|
|
538
|
+
--primary-foreground: oklch(0.99 0.006 210);
|
|
539
|
+
--ring: oklch(0.49 0.09 212);
|
|
540
|
+
--accent: oklch(0.945 0.03 210);
|
|
541
|
+
--accent-foreground: oklch(0.32 0.07 210);
|
|
542
|
+
--sidebar-primary: oklch(0.49 0.09 212);
|
|
543
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 210);
|
|
544
|
+
--sidebar-accent: oklch(0.935 0.03 210);
|
|
545
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 210);
|
|
546
|
+
--sidebar-ring: oklch(0.49 0.09 212);
|
|
547
|
+
--flame: oklch(0.49 0.09 212);
|
|
548
|
+
}
|
|
549
|
+
.dark [data-product="search"],
|
|
550
|
+
.dark[data-product="search"] {
|
|
551
|
+
--field: oklch(0.28 0.05 208);
|
|
552
|
+
--signal: oklch(0.87 0.10 192);
|
|
553
|
+
--tone: oklch(0.49 0.09 212);
|
|
554
|
+
--primary: oklch(0.87 0.10 192);
|
|
555
|
+
--primary-foreground: oklch(0.28 0.05 208);
|
|
556
|
+
--ring: oklch(0.87 0.10 192);
|
|
557
|
+
--accent: oklch(0.28 0.035 210);
|
|
558
|
+
--accent-foreground: oklch(0.95 0.01 210);
|
|
559
|
+
--sidebar-primary: oklch(0.87 0.10 192);
|
|
560
|
+
--sidebar-primary-foreground: oklch(0.28 0.05 208);
|
|
561
|
+
--sidebar-accent: oklch(0.26 0.03 210);
|
|
562
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 210);
|
|
563
|
+
--sidebar-ring: oklch(0.87 0.10 192);
|
|
564
|
+
--flame: oklch(0.87 0.10 192);
|
|
565
|
+
}
|
|
566
|
+
/* @spunto/design-system — graphite / paper */
|
|
567
|
+
[data-product="ds"] {
|
|
568
|
+
--field: oklch(0.22 0.012 165);
|
|
569
|
+
--signal: oklch(0.96 0.01 150);
|
|
570
|
+
--tone: oklch(0.30 0.02 165);
|
|
571
|
+
--primary: oklch(0.30 0.02 165);
|
|
572
|
+
--primary-foreground: oklch(0.99 0.006 165);
|
|
573
|
+
--ring: oklch(0.30 0.02 165);
|
|
574
|
+
--accent: oklch(0.945 0.03 165);
|
|
575
|
+
--accent-foreground: oklch(0.32 0.07 165);
|
|
576
|
+
--sidebar-primary: oklch(0.30 0.02 165);
|
|
577
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 165);
|
|
578
|
+
--sidebar-accent: oklch(0.935 0.03 165);
|
|
579
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 165);
|
|
580
|
+
--sidebar-ring: oklch(0.30 0.02 165);
|
|
581
|
+
--flame: oklch(0.30 0.02 165);
|
|
582
|
+
}
|
|
583
|
+
.dark [data-product="ds"],
|
|
584
|
+
.dark[data-product="ds"] {
|
|
585
|
+
--field: oklch(0.22 0.012 165);
|
|
586
|
+
--signal: oklch(0.96 0.01 150);
|
|
587
|
+
--tone: oklch(0.30 0.02 165);
|
|
588
|
+
--primary: oklch(0.96 0.01 150);
|
|
589
|
+
--primary-foreground: oklch(0.22 0.012 165);
|
|
590
|
+
--ring: oklch(0.96 0.01 150);
|
|
591
|
+
--accent: oklch(0.28 0.035 165);
|
|
592
|
+
--accent-foreground: oklch(0.95 0.01 165);
|
|
593
|
+
--sidebar-primary: oklch(0.96 0.01 150);
|
|
594
|
+
--sidebar-primary-foreground: oklch(0.22 0.012 165);
|
|
595
|
+
--sidebar-accent: oklch(0.26 0.03 165);
|
|
596
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 165);
|
|
597
|
+
--sidebar-ring: oklch(0.96 0.01 150);
|
|
598
|
+
--flame: oklch(0.96 0.01 150);
|
|
315
599
|
}
|
|
316
600
|
|
|
317
601
|
/* ─── Marketing night surfaces — deliberately NOT themed ─────────────────────
|
|
318
602
|
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
* --
|
|
323
|
-
*
|
|
324
|
-
|
|
325
|
-
* --code-surface the warm dark behind a snippet or a copyable command
|
|
326
|
-
* (`CodeBlock`, `CopyCommand`) — the same one every
|
|
327
|
-
* terminal-ish panel of the site uses.
|
|
328
|
-
*
|
|
329
|
-
* They live here, as tokens (`bg-night`, `bg-code-surface`), precisely because
|
|
330
|
-
* they used to be two near-identical `oklch(…)` literals copy-pasted into two
|
|
331
|
-
* component files — which is how a design system ends up with two blacks. */
|
|
603
|
+
* --night the band a marketing page opens on (`NightBand`): the
|
|
604
|
+
* product's field, so each product page opens in its own
|
|
605
|
+
* colour. Set per product above through `--field`.
|
|
606
|
+
* --code-surface the near-black behind a snippet or a copyable command
|
|
607
|
+
* (`CodeBlock`, `CopyCommand`), shared by every product.
|
|
608
|
+
*/
|
|
332
609
|
:root {
|
|
333
|
-
--
|
|
334
|
-
|
|
610
|
+
--code-surface: oklch(0.19 0.012 165);
|
|
611
|
+
}
|
|
612
|
+
:root,
|
|
613
|
+
[data-product] {
|
|
614
|
+
--night: var(--field);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/* ─── Derived from the product: pillars and charts ───────────────────────────
|
|
618
|
+
* Build / Ship / Run (the dashboard's semantics) and the chart ramp are not
|
|
619
|
+
* colours of their own: they run from the product's signal (Build, the most
|
|
620
|
+
* alive) to its mid tone `--tone` (Run, what settled). Declared on every
|
|
621
|
+
* `[data-product]` so a subtree wearing another product re-derives them —
|
|
622
|
+
* same reason as `--night` above. Dark lifts the ramp: Run can't sit at the
|
|
623
|
+
* mid tone on a near-black ground. */
|
|
624
|
+
:root,
|
|
625
|
+
[data-product] {
|
|
626
|
+
--build: color-mix(in oklch, var(--signal) 80%, var(--tone));
|
|
627
|
+
--ship: color-mix(in oklch, var(--signal) 40%, var(--tone));
|
|
628
|
+
--run: var(--tone);
|
|
629
|
+
--chart-1: color-mix(in oklch, var(--signal) 85%, var(--tone));
|
|
630
|
+
--chart-2: color-mix(in oklch, var(--signal) 55%, var(--tone));
|
|
631
|
+
--chart-3: color-mix(in oklch, var(--signal) 30%, var(--tone));
|
|
632
|
+
--chart-4: var(--tone);
|
|
633
|
+
--chart-5: color-mix(in oklch, var(--tone) 65%, var(--field));
|
|
634
|
+
}
|
|
635
|
+
.dark,
|
|
636
|
+
.dark [data-product],
|
|
637
|
+
.dark[data-product] {
|
|
638
|
+
--build: var(--signal);
|
|
639
|
+
--ship: color-mix(in oklch, var(--signal) 70%, var(--tone));
|
|
640
|
+
--run: color-mix(in oklch, var(--signal) 50%, var(--tone));
|
|
641
|
+
--chart-1: var(--signal);
|
|
642
|
+
--chart-2: color-mix(in oklch, var(--signal) 75%, var(--tone));
|
|
643
|
+
--chart-3: color-mix(in oklch, var(--signal) 55%, var(--tone));
|
|
644
|
+
--chart-4: color-mix(in oklch, var(--signal) 35%, var(--tone));
|
|
645
|
+
--chart-5: color-mix(in oklch, var(--signal) 20%, var(--tone));
|
|
335
646
|
}
|
|
336
647
|
|
|
337
648
|
/* ─── Base layer ─────────────────────────────────────────────────────────── */
|
|
@@ -340,6 +651,12 @@
|
|
|
340
651
|
border-color: var(--border);
|
|
341
652
|
outline-color: color-mix(in oklch, var(--ring) 50%, transparent);
|
|
342
653
|
}
|
|
654
|
+
/* Young Serif has one weight: a `font-bold` next to `font-display` must not
|
|
655
|
+
smear into a synthesized bold. */
|
|
656
|
+
.font-display {
|
|
657
|
+
font-synthesis: none;
|
|
658
|
+
font-weight: 400;
|
|
659
|
+
}
|
|
343
660
|
body {
|
|
344
661
|
background-color: var(--background);
|
|
345
662
|
color: var(--foreground);
|
|
@@ -398,24 +715,24 @@
|
|
|
398
715
|
border-radius: 9999px;
|
|
399
716
|
}
|
|
400
717
|
|
|
401
|
-
/* ───
|
|
718
|
+
/* ─── Background utilities ──────────────────────────────────────────── */
|
|
402
719
|
.dot-grid {
|
|
403
|
-
background-image: radial-gradient(circle, oklch(0.
|
|
720
|
+
background-image: radial-gradient(circle, oklch(0.40 0.04 160 / 0.08) 1px, transparent 1px);
|
|
404
721
|
background-size: 32px 32px;
|
|
405
722
|
}
|
|
406
723
|
.dark .dot-grid {
|
|
407
|
-
background-image: radial-gradient(circle, oklch(0.92 0.04
|
|
724
|
+
background-image: radial-gradient(circle, oklch(0.92 0.04 140 / 0.045) 1px, transparent 1px);
|
|
408
725
|
}
|
|
409
726
|
.grid-lines {
|
|
410
727
|
background-image:
|
|
411
|
-
linear-gradient(to right, oklch(0.
|
|
412
|
-
linear-gradient(to bottom, oklch(0.
|
|
728
|
+
linear-gradient(to right, oklch(0.40 0.04 160 / 0.055) 1px, transparent 1px),
|
|
729
|
+
linear-gradient(to bottom, oklch(0.40 0.04 160 / 0.055) 1px, transparent 1px);
|
|
413
730
|
background-size: 56px 56px;
|
|
414
731
|
}
|
|
415
732
|
.dark .grid-lines {
|
|
416
733
|
background-image:
|
|
417
|
-
linear-gradient(to right, oklch(0.92 0.04
|
|
418
|
-
linear-gradient(to bottom, oklch(0.92 0.04
|
|
734
|
+
linear-gradient(to right, oklch(0.92 0.04 140 / 0.04) 1px, transparent 1px),
|
|
735
|
+
linear-gradient(to bottom, oklch(0.92 0.04 140 / 0.04) 1px, transparent 1px);
|
|
419
736
|
}
|
|
420
737
|
|
|
421
738
|
/* ─── Night band utilities (@spunto/design-system/marketing) ─────────────────
|