@crewlethq/tokens 0.81.1 → 0.82.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 +27 -1
- package/dist/color.d.ts +12 -0
- package/dist/color.js +20 -0
- package/dist/css/brand-scope.css +70 -0
- package/dist/css/themes/abyss.css +115 -0
- package/dist/css/themes/all.css +1035 -0
- package/dist/css/themes/dusk.css +115 -0
- package/dist/css/themes/high-contrast.css +115 -0
- package/dist/css/themes/iris.css +115 -0
- package/dist/css/themes/ledger.css +115 -0
- package/dist/css/themes/nightshade.css +115 -0
- package/dist/css/themes/nocturne.css +115 -0
- package/dist/css/themes/origin.css +115 -0
- package/dist/css/themes/violet.css +115 -0
- package/dist/css/themes.css +117 -0
- package/dist/css/tokens.css +48 -1
- package/dist/index.d.ts +43 -0
- package/dist/index.js +45 -2
- package/dist/palettes.d.ts +78 -0
- package/dist/palettes.js +84 -6
- package/package.json +1 -1
- package/test/color.mjs +3 -1
- package/test/palette.d.mts +2 -0
- package/test/palette.mjs +14 -0
package/README.md
CHANGED
|
@@ -83,6 +83,32 @@ nearestContrastShade('#00baba', '#f6f7fb', WCAG_CONTRAST.aaLarge); // '#00a0a0',
|
|
|
83
83
|
|
|
84
84
|
Show the ratio of the value it returns, measured with `contrast`, rather than the floor it was asked for.
|
|
85
85
|
|
|
86
|
+
## Changed in 0.82.0: the edge scale, the quiet fills, the count badge and the folded rail
|
|
87
|
+
|
|
88
|
+
A dense surface (a conversation, a list of cards) drew the field's 3:1 edge round every reaction, preview, toolbar and face, so it read as a grid of frames. The edge scale is one grey at four strengths, chosen by what the edge does, and two quiet fills sit under the overlay steps. Every colour step is derived per palette by the build (a value of the palette's own colours, never `color-mix()`), so a theme repaints it without declaring it. Nothing is renamed or removed.
|
|
89
|
+
|
|
90
|
+
| Token | Value | What it is for |
|
|
91
|
+
| --- | --- | --- |
|
|
92
|
+
| `--color-edge-hairline` | the primary text at 0.13 | The ring round anything that floats (a toolbar, a menu, a day's pill) and the hover edge of a row part. |
|
|
93
|
+
| `--color-edge-soft` | the control edge at 0.3 | A card at rest, such as a link preview. |
|
|
94
|
+
| `--color-edge-medium` | the control edge at 0.5 | A card under the pointer, and a bordered button at rest. |
|
|
95
|
+
| `--color-edge-strong` | the control edge | A field (a message box) and a pressed or pointed pill's ring. |
|
|
96
|
+
| `--color-fill-row` | the primary text at 0.04 | A pointed row inside a dense list. |
|
|
97
|
+
| `--color-fill-soft` | the primary text at 0.06 | A pill or a quiet label at rest (a reaction, a seat's kind beside its name). |
|
|
98
|
+
| `--color-artifact-kind-<kind>-ground`, `-ground-strong`, `-ground-end`, `-glow` | opaque: the kind's own hue and full chroma at a lightness 0.26 (0.3 under the pointer) of the way from the card's neutral to the hue's; the foot is the ground mixed 0.7 with that neutral in OKLab; the glow is the hue at 0.46 | A card drawn ON a kind's hue (a first-step card): its ground at rest and under the pointer, its gradient's foot and the light behind its drawing. A tint of the hue read grey; these keep its colour. |
|
|
99
|
+
| `--shadow-sheet-start` | `--shadow-sheet` mirrored | The shadow of a side sheet pinned to the inline start (`Modal side="start"`), cast into the page it covers. |
|
|
100
|
+
| `--size-badge` | 16px, density-scaled | The height and least width of a count that waits for the reader, wherever it is drawn. |
|
|
101
|
+
| `--size-badge-pad` | `var(--spacing-1)` | The badge's inline pad. |
|
|
102
|
+
| `--font-size-badge` | 10px (0.625rem) | The badge's figure, at the semibold weight. |
|
|
103
|
+
| `--size-shell-rail-compact` | 76px, fixed | The application rail folded to a column of glyphs over short names. |
|
|
104
|
+
|
|
105
|
+
**More contrast keeps every edge at full strength.** A high-contrast theme (`contrast: "high"`) draws the hairline, soft and medium steps as the control edge, and every theme sheet (`css/themes`, each `css/themes/<id>` and `css/themes/all`) ends with a `@media (prefers-contrast: more)` block that does the same under its own three selectors, so it ties the specificity of the palette block it shadows and wins by coming later. `css` (the token layer on its own) carries one on `:root`. Focus keeps its own ring at full strength everywhere; no edge step is a focus indicator.
|
|
106
|
+
|
|
107
|
+
| What changed | What to change | Details |
|
|
108
|
+
| --- | --- | --- |
|
|
109
|
+
| The tokens above are new. | Nothing. A stylesheet that mixed its own edge from the text or the control edge reads the step instead. | `scripts/build.mjs` (`EDGE_ALPHAS`, `FILL_ALPHAS`, `KIND_GROUND_ALPHAS`) |
|
|
110
|
+
| In `@crewlethq/tokens/test/palette`, the rule `the primary text clears 4.5:1 on a kind ground` is new, with the export `ARTIFACT_KIND_GROUNDS`. Every theme already clears it. | Nothing, unless an application's own palette override repaints a kind's hue so its ground no longer carries the primary text. | [The palette suite](#the-palette-suite) |
|
|
111
|
+
|
|
86
112
|
## Changed in 0.67.0: the Assistant's working gesture
|
|
87
113
|
|
|
88
114
|
`--motion-duration-spark` (1600ms, `motion.duration.spark`) is new. It is a PERIOD, like `--motion-duration-turn`: one working gesture of the Assistant's mark in `@crewlethq/ui`'s `ThinkingIndicator`, its main spark making a quarter turn while its companion dims, then resting. Nothing to change: no token is renamed or removed.
|
|
@@ -528,7 +554,7 @@ No token is renamed or removed here; values moved to the approved design, and se
|
|
|
528
554
|
| `--motion-duration-breath` | 2200ms | The PERIOD of a mark saying work is still happening: one full round, out and back, 0.45 cycles a second. Not a transition. A pulsing `StatusDot` breathes one round of it |
|
|
529
555
|
| `--motion-duration-turn` | 1000ms | The PERIOD of one full rotation of a working ring (`Spinner`), linear. Not a transition |
|
|
530
556
|
| `--motion-duration-sweep` | 1500ms | The PERIOD of a working ring's arc lengthening and shortening, out and back. Not a whole number of turns, so the arc's longest reach lands somewhere new each round. Not a transition |
|
|
531
|
-
| `--motion-duration-spark` | 1600ms | The PERIOD of the
|
|
557
|
+
| `--motion-duration-spark` | 1600ms | The PERIOD of the Ask Crewlet mark's working gesture (`ThinkingIndicator`): a quarter turn of its main spark and a dip of its companion over half of the period, then rest. Not a transition |
|
|
532
558
|
|
|
533
559
|
A component that moves stops every motion it starts in the same stylesheet, naming the rule's selector again, after it, inside `@media (prefers-reduced-motion: reduce)`, which is what `crewlet-css-check` in `@crewlethq/ui` holds it to; and `@crewlethq/tokens/css/base` collapses motion for the whole document under `prefers-reduced-motion: reduce`.
|
|
534
560
|
|
package/dist/color.d.ts
CHANGED
|
@@ -81,6 +81,18 @@ export declare function fromLinear(v: number): number;
|
|
|
81
81
|
export declare function fromOklab(lab: Oklab): Rgb;
|
|
82
82
|
/** Channels as lowercase `#rrggbb`. */
|
|
83
83
|
export declare function formatHex({ r, g, b }: Rgb): string;
|
|
84
|
+
/**
|
|
85
|
+
* The colour `hex` at another OKLab lightness `L`, keeping its hue and as much
|
|
86
|
+
* of its chroma as a screen can show there, as lowercase `#rrggbb`, or null
|
|
87
|
+
* when `hex` is not `#rrggbb`. A vivid colour taken dark or very light cannot
|
|
88
|
+
* carry its full chroma, and chroma gives way where it must, never the hue.
|
|
89
|
+
*/
|
|
90
|
+
export declare function atLightness(hex: string, L: number): string | null;
|
|
91
|
+
/**
|
|
92
|
+
* An OKLab colour as lowercase `#rrggbb`, its lightness held to 0 to 1 and its
|
|
93
|
+
* chroma given up, never its hue, where a screen cannot show it all.
|
|
94
|
+
*/
|
|
95
|
+
export declare function oklabHex({ L, a, b }: Oklab): string;
|
|
84
96
|
/**
|
|
85
97
|
* The colour nearest `hex` that clears `min` against `ground`, as lowercase
|
|
86
98
|
* `#rrggbb`, or null when no shade of it can (or either value is not
|
package/dist/color.js
CHANGED
|
@@ -149,6 +149,26 @@ function shadeAt(L, a, b) {
|
|
|
149
149
|
}
|
|
150
150
|
return fromOklab({ L, a: a * lo, b: b * lo });
|
|
151
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* The colour `hex` at another OKLab lightness `L`, keeping its hue and as much
|
|
154
|
+
* of its chroma as a screen can show there, as lowercase `#rrggbb`, or null
|
|
155
|
+
* when `hex` is not `#rrggbb`. A vivid colour taken dark or very light cannot
|
|
156
|
+
* carry its full chroma, and chroma gives way where it must, never the hue.
|
|
157
|
+
*/
|
|
158
|
+
export function atLightness(hex, L) {
|
|
159
|
+
const colour = parseHex(hex);
|
|
160
|
+
if (!colour)
|
|
161
|
+
return null;
|
|
162
|
+
const { a, b } = toOklab(colour);
|
|
163
|
+
return oklabHex({ L, a, b });
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* An OKLab colour as lowercase `#rrggbb`, its lightness held to 0 to 1 and its
|
|
167
|
+
* chroma given up, never its hue, where a screen cannot show it all.
|
|
168
|
+
*/
|
|
169
|
+
export function oklabHex({ L, a, b }) {
|
|
170
|
+
return formatHex(shadeAt(Math.min(1, Math.max(0, L)), a, b));
|
|
171
|
+
}
|
|
152
172
|
/** How finely the lightness is walked: a thousandth of OKLab's range. */
|
|
153
173
|
const LIGHTNESS_STEP = 0.001;
|
|
154
174
|
/**
|
package/dist/css/brand-scope.css
CHANGED
|
@@ -201,8 +201,42 @@
|
|
|
201
201
|
--color-artifact-kind-brand-ink: #74246a;
|
|
202
202
|
--color-artifact-kind-brand-fill: rgba(143, 56, 132, 0.12);
|
|
203
203
|
--color-artifact-kind-brand-line: rgba(143, 56, 132, 0.38);
|
|
204
|
+
--color-artifact-kind-doc-ground: #bcd3ff;
|
|
205
|
+
--color-artifact-kind-doc-ground-strong: #b2cdff;
|
|
206
|
+
--color-artifact-kind-doc-ground-end: #cfdfff;
|
|
207
|
+
--color-artifact-kind-doc-glow: rgba(64, 98, 167, 0.46);
|
|
208
|
+
--color-artifact-kind-slides-ground: #fac895;
|
|
209
|
+
--color-artifact-kind-slides-ground-strong: #f3c28f;
|
|
210
|
+
--color-artifact-kind-slides-ground-end: #fbd8b5;
|
|
211
|
+
--color-artifact-kind-slides-glow: rgba(134, 90, 40, 0.46);
|
|
212
|
+
--color-artifact-kind-design-ground: #d7caff;
|
|
213
|
+
--color-artifact-kind-design-ground-strong: #d2c2ff;
|
|
214
|
+
--color-artifact-kind-design-ground-end: #e2d9ff;
|
|
215
|
+
--color-artifact-kind-design-glow: rgba(113, 80, 179, 0.46);
|
|
216
|
+
--color-artifact-kind-dashboard-ground: #92dff6;
|
|
217
|
+
--color-artifact-kind-dashboard-ground-strong: #8cd8ef;
|
|
218
|
+
--color-artifact-kind-dashboard-ground-end: #b4e8f8;
|
|
219
|
+
--color-artifact-kind-dashboard-glow: rgba(22, 107, 128, 0.46);
|
|
220
|
+
--color-artifact-kind-html-ground: #ffc0c5;
|
|
221
|
+
--color-artifact-kind-html-ground-strong: #ffb6bd;
|
|
222
|
+
--color-artifact-kind-html-ground-end: #ffd2d5;
|
|
223
|
+
--color-artifact-kind-html-glow: rgba(152, 74, 85, 0.46);
|
|
224
|
+
--color-artifact-kind-sheet-ground: #9fe4b4;
|
|
225
|
+
--color-artifact-kind-sheet-ground-strong: #99deae;
|
|
226
|
+
--color-artifact-kind-sheet-ground-end: #bcecca;
|
|
227
|
+
--color-artifact-kind-sheet-glow: rgba(44, 112, 70, 0.46);
|
|
228
|
+
--color-artifact-kind-brand-ground: #ffb5f2;
|
|
229
|
+
--color-artifact-kind-brand-ground-strong: #ffa9f1;
|
|
230
|
+
--color-artifact-kind-brand-ground-end: #ffcbf5;
|
|
231
|
+
--color-artifact-kind-brand-glow: rgba(143, 56, 132, 0.46);
|
|
204
232
|
--color-scrollbar: rgba(7, 8, 13, 0.2);
|
|
205
233
|
--color-scrollbar-hover: rgba(7, 8, 13, 0.32);
|
|
234
|
+
--color-edge-hairline: rgba(18, 22, 37, 0.13);
|
|
235
|
+
--color-edge-soft: rgba(119, 122, 131, 0.3);
|
|
236
|
+
--color-edge-medium: rgba(119, 122, 131, 0.5);
|
|
237
|
+
--color-edge-strong: #777a83;
|
|
238
|
+
--color-fill-row: rgba(18, 22, 37, 0.04);
|
|
239
|
+
--color-fill-soft: rgba(18, 22, 37, 0.06);
|
|
206
240
|
--shadow-xs: 0 1px 2px rgba(7, 8, 13, 0.06);
|
|
207
241
|
--shadow-sm: 0 2px 8px rgba(7, 8, 13, 0.07);
|
|
208
242
|
--shadow-md: 0 4px 12px rgba(7, 8, 13, 0.08), 0 1px 3px rgba(7, 8, 13, 0.06);
|
|
@@ -215,6 +249,7 @@
|
|
|
215
249
|
--shadow-hairline: none;
|
|
216
250
|
--shadow-focus: 0 0 0 2px var(--color-surface-background), 0 0 0 4px var(--color-focus);
|
|
217
251
|
--shadow-selection: inset 0 0 0 2px var(--color-brand-accent);
|
|
252
|
+
--shadow-sheet-start: 16px 0 40px rgba(7, 8, 13, 0.16), 2px 0 8px rgba(7, 8, 13, 0.08);
|
|
218
253
|
}
|
|
219
254
|
|
|
220
255
|
.crewlet-brand-scope[data-mode="dark"] > .crewlet-brand-scope__layer {
|
|
@@ -299,8 +334,42 @@
|
|
|
299
334
|
--color-artifact-kind-brand-ink: #dabcdb;
|
|
300
335
|
--color-artifact-kind-brand-fill: rgba(204, 123, 209, 0.12);
|
|
301
336
|
--color-artifact-kind-brand-line: rgba(204, 123, 209, 0.38);
|
|
337
|
+
--color-artifact-kind-doc-ground: #0b2767;
|
|
338
|
+
--color-artifact-kind-doc-ground-strong: #0f2c6c;
|
|
339
|
+
--color-artifact-kind-doc-ground-end: #0f234d;
|
|
340
|
+
--color-artifact-kind-doc-glow: rgba(91, 127, 199, 0.46);
|
|
341
|
+
--color-artifact-kind-slides-ground: #4d2c00;
|
|
342
|
+
--color-artifact-kind-slides-ground-strong: #543100;
|
|
343
|
+
--color-artifact-kind-slides-ground-end: #3b250c;
|
|
344
|
+
--color-artifact-kind-slides-glow: rgba(200, 152, 102, 0.46);
|
|
345
|
+
--color-artifact-kind-design-ground: #390b6f;
|
|
346
|
+
--color-artifact-kind-design-ground-strong: #3d1274;
|
|
347
|
+
--color-artifact-kind-design-ground-end: #2d1553;
|
|
348
|
+
--color-artifact-kind-design-glow: rgba(142, 110, 212, 0.46);
|
|
349
|
+
--color-artifact-kind-dashboard-ground: #003a47;
|
|
350
|
+
--color-artifact-kind-dashboard-ground-strong: #00404e;
|
|
351
|
+
--color-artifact-kind-dashboard-ground-end: #0e2e37;
|
|
352
|
+
--color-artifact-kind-dashboard-glow: rgba(92, 168, 190, 0.46);
|
|
353
|
+
--color-artifact-kind-html-ground: #5a1122;
|
|
354
|
+
--color-artifact-kind-html-ground-strong: #601726;
|
|
355
|
+
--color-artifact-kind-html-ground-end: #45161e;
|
|
356
|
+
--color-artifact-kind-html-glow: rgba(200, 117, 127, 0.46);
|
|
357
|
+
--color-artifact-kind-sheet-ground: #003d1d;
|
|
358
|
+
--color-artifact-kind-sheet-ground-strong: #004221;
|
|
359
|
+
--color-artifact-kind-sheet-ground-end: #0e301b;
|
|
360
|
+
--color-artifact-kind-sheet-glow: rgba(98, 165, 120, 0.46);
|
|
361
|
+
--color-artifact-kind-brand-ground: #56025c;
|
|
362
|
+
--color-artifact-kind-brand-ground-strong: #5c0b62;
|
|
363
|
+
--color-artifact-kind-brand-ground-end: #421145;
|
|
364
|
+
--color-artifact-kind-brand-glow: rgba(204, 123, 209, 0.46);
|
|
302
365
|
--color-scrollbar: rgba(255, 255, 255, 0.16);
|
|
303
366
|
--color-scrollbar-hover: rgba(255, 255, 255, 0.26);
|
|
367
|
+
--color-edge-hairline: rgba(231, 234, 243, 0.13);
|
|
368
|
+
--color-edge-soft: rgba(127, 135, 156, 0.3);
|
|
369
|
+
--color-edge-medium: rgba(127, 135, 156, 0.5);
|
|
370
|
+
--color-edge-strong: #7f879c;
|
|
371
|
+
--color-fill-row: rgba(231, 234, 243, 0.04);
|
|
372
|
+
--color-fill-soft: rgba(231, 234, 243, 0.06);
|
|
304
373
|
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
305
374
|
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
306
375
|
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
|
|
@@ -313,4 +382,5 @@
|
|
|
313
382
|
--shadow-hairline: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
314
383
|
--shadow-focus: 0 0 0 2px var(--color-surface-background), 0 0 0 4px var(--color-focus);
|
|
315
384
|
--shadow-selection: inset 0 0 0 2px var(--color-brand-accent);
|
|
385
|
+
--shadow-sheet-start: 8px 0 32px rgba(0, 0, 0, 0.4);
|
|
316
386
|
}
|
|
@@ -101,8 +101,42 @@
|
|
|
101
101
|
--color-artifact-kind-brand-ink: #dabcdb;
|
|
102
102
|
--color-artifact-kind-brand-fill: rgba(204, 123, 209, 0.12);
|
|
103
103
|
--color-artifact-kind-brand-line: rgba(204, 123, 209, 0.38);
|
|
104
|
+
--color-artifact-kind-doc-ground: #0a2767;
|
|
105
|
+
--color-artifact-kind-doc-ground-strong: #0e2b6c;
|
|
106
|
+
--color-artifact-kind-doc-ground-end: #0f234d;
|
|
107
|
+
--color-artifact-kind-doc-glow: rgba(91, 127, 199, 0.46);
|
|
108
|
+
--color-artifact-kind-slides-ground: #4d2c00;
|
|
109
|
+
--color-artifact-kind-slides-ground-strong: #543000;
|
|
110
|
+
--color-artifact-kind-slides-ground-end: #3b250b;
|
|
111
|
+
--color-artifact-kind-slides-glow: rgba(200, 152, 102, 0.46);
|
|
112
|
+
--color-artifact-kind-design-ground: #380a6f;
|
|
113
|
+
--color-artifact-kind-design-ground-strong: #3d1274;
|
|
114
|
+
--color-artifact-kind-design-ground-end: #2c1452;
|
|
115
|
+
--color-artifact-kind-design-glow: rgba(142, 110, 212, 0.46);
|
|
116
|
+
--color-artifact-kind-dashboard-ground: #003a47;
|
|
117
|
+
--color-artifact-kind-dashboard-ground-strong: #003f4d;
|
|
118
|
+
--color-artifact-kind-dashboard-ground-end: #0e2e37;
|
|
119
|
+
--color-artifact-kind-dashboard-glow: rgba(92, 168, 190, 0.46);
|
|
120
|
+
--color-artifact-kind-html-ground: #5a1021;
|
|
121
|
+
--color-artifact-kind-html-ground-strong: #5f1626;
|
|
122
|
+
--color-artifact-kind-html-ground-end: #45151d;
|
|
123
|
+
--color-artifact-kind-html-glow: rgba(200, 117, 127, 0.46);
|
|
124
|
+
--color-artifact-kind-sheet-ground: #003c1d;
|
|
125
|
+
--color-artifact-kind-sheet-ground-strong: #004220;
|
|
126
|
+
--color-artifact-kind-sheet-ground-end: #0d301b;
|
|
127
|
+
--color-artifact-kind-sheet-glow: rgba(98, 165, 120, 0.46);
|
|
128
|
+
--color-artifact-kind-brand-ground: #56015c;
|
|
129
|
+
--color-artifact-kind-brand-ground-strong: #5c0a62;
|
|
130
|
+
--color-artifact-kind-brand-ground-end: #421045;
|
|
131
|
+
--color-artifact-kind-brand-glow: rgba(204, 123, 209, 0.46);
|
|
104
132
|
--color-scrollbar: rgba(255, 255, 255, 0.16);
|
|
105
133
|
--color-scrollbar-hover: rgba(255, 255, 255, 0.26);
|
|
134
|
+
--color-edge-hairline: rgba(235, 230, 248, 0.13);
|
|
135
|
+
--color-edge-soft: rgba(123, 115, 142, 0.3);
|
|
136
|
+
--color-edge-medium: rgba(123, 115, 142, 0.5);
|
|
137
|
+
--color-edge-strong: #7b738e;
|
|
138
|
+
--color-fill-row: rgba(235, 230, 248, 0.04);
|
|
139
|
+
--color-fill-soft: rgba(235, 230, 248, 0.06);
|
|
106
140
|
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
107
141
|
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
108
142
|
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
|
|
@@ -116,6 +150,7 @@
|
|
|
116
150
|
--shadow-focus: 0 0 0 2px var(--color-surface-background), 0 0 0 4px var(--color-focus);
|
|
117
151
|
--shadow-selection: inset 0 0 0 2px var(--color-brand-accent);
|
|
118
152
|
--shadow-glow: 0 4px 24px rgba(var(--color-brand-accent-rgb), 0.3);
|
|
153
|
+
--shadow-sheet-start: 8px 0 32px rgba(0, 0, 0, 0.4);
|
|
119
154
|
}
|
|
120
155
|
|
|
121
156
|
@media (prefers-color-scheme: light) {
|
|
@@ -215,8 +250,42 @@
|
|
|
215
250
|
--color-artifact-kind-brand-ink: #74246a;
|
|
216
251
|
--color-artifact-kind-brand-fill: rgba(143, 56, 132, 0.12);
|
|
217
252
|
--color-artifact-kind-brand-line: rgba(143, 56, 132, 0.38);
|
|
253
|
+
--color-artifact-kind-doc-ground: #bcd4ff;
|
|
254
|
+
--color-artifact-kind-doc-ground-strong: #b3cdff;
|
|
255
|
+
--color-artifact-kind-doc-ground-end: #cfe0ff;
|
|
256
|
+
--color-artifact-kind-doc-glow: rgba(64, 98, 167, 0.46);
|
|
257
|
+
--color-artifact-kind-slides-ground: #fac895;
|
|
258
|
+
--color-artifact-kind-slides-ground-strong: #f4c28f;
|
|
259
|
+
--color-artifact-kind-slides-ground-end: #fbd8b5;
|
|
260
|
+
--color-artifact-kind-slides-glow: rgba(134, 90, 40, 0.46);
|
|
261
|
+
--color-artifact-kind-design-ground: #d7cbff;
|
|
262
|
+
--color-artifact-kind-design-ground-strong: #d2c3ff;
|
|
263
|
+
--color-artifact-kind-design-ground-end: #e2daff;
|
|
264
|
+
--color-artifact-kind-design-glow: rgba(113, 80, 179, 0.46);
|
|
265
|
+
--color-artifact-kind-dashboard-ground: #92dff6;
|
|
266
|
+
--color-artifact-kind-dashboard-ground-strong: #8cd8f0;
|
|
267
|
+
--color-artifact-kind-dashboard-ground-end: #b4e8f8;
|
|
268
|
+
--color-artifact-kind-dashboard-glow: rgba(22, 107, 128, 0.46);
|
|
269
|
+
--color-artifact-kind-html-ground: #ffc0c6;
|
|
270
|
+
--color-artifact-kind-html-ground-strong: #ffb7be;
|
|
271
|
+
--color-artifact-kind-html-ground-end: #ffd2d6;
|
|
272
|
+
--color-artifact-kind-html-glow: rgba(152, 74, 85, 0.46);
|
|
273
|
+
--color-artifact-kind-sheet-ground: #9fe5b4;
|
|
274
|
+
--color-artifact-kind-sheet-ground-strong: #99deae;
|
|
275
|
+
--color-artifact-kind-sheet-ground-end: #bcecca;
|
|
276
|
+
--color-artifact-kind-sheet-glow: rgba(44, 112, 70, 0.46);
|
|
277
|
+
--color-artifact-kind-brand-ground: #ffb5f2;
|
|
278
|
+
--color-artifact-kind-brand-ground-strong: #ffa9f1;
|
|
279
|
+
--color-artifact-kind-brand-ground-end: #ffcbf5;
|
|
280
|
+
--color-artifact-kind-brand-glow: rgba(143, 56, 132, 0.46);
|
|
218
281
|
--color-scrollbar: rgba(7, 8, 13, 0.2);
|
|
219
282
|
--color-scrollbar-hover: rgba(7, 8, 13, 0.32);
|
|
283
|
+
--color-edge-hairline: rgba(29, 19, 47, 0.13);
|
|
284
|
+
--color-edge-soft: rgba(120, 112, 139, 0.3);
|
|
285
|
+
--color-edge-medium: rgba(120, 112, 139, 0.5);
|
|
286
|
+
--color-edge-strong: #78708b;
|
|
287
|
+
--color-fill-row: rgba(29, 19, 47, 0.04);
|
|
288
|
+
--color-fill-soft: rgba(29, 19, 47, 0.06);
|
|
220
289
|
--shadow-xs: 0 1px 2px rgba(7, 8, 13, 0.06);
|
|
221
290
|
--shadow-sm: 0 2px 8px rgba(7, 8, 13, 0.07);
|
|
222
291
|
--shadow-md: 0 4px 12px rgba(7, 8, 13, 0.08), 0 1px 3px rgba(7, 8, 13, 0.06);
|
|
@@ -230,6 +299,7 @@
|
|
|
230
299
|
--shadow-focus: 0 0 0 2px var(--color-surface-background), 0 0 0 4px var(--color-focus);
|
|
231
300
|
--shadow-selection: inset 0 0 0 2px var(--color-brand-accent);
|
|
232
301
|
--shadow-glow: 0 4px 24px rgba(var(--color-brand-accent-rgb), 0.22);
|
|
302
|
+
--shadow-sheet-start: 16px 0 40px rgba(7, 8, 13, 0.16), 2px 0 8px rgba(7, 8, 13, 0.08);
|
|
233
303
|
}
|
|
234
304
|
}
|
|
235
305
|
|
|
@@ -329,8 +399,42 @@
|
|
|
329
399
|
--color-artifact-kind-brand-ink: #74246a;
|
|
330
400
|
--color-artifact-kind-brand-fill: rgba(143, 56, 132, 0.12);
|
|
331
401
|
--color-artifact-kind-brand-line: rgba(143, 56, 132, 0.38);
|
|
402
|
+
--color-artifact-kind-doc-ground: #bcd4ff;
|
|
403
|
+
--color-artifact-kind-doc-ground-strong: #b3cdff;
|
|
404
|
+
--color-artifact-kind-doc-ground-end: #cfe0ff;
|
|
405
|
+
--color-artifact-kind-doc-glow: rgba(64, 98, 167, 0.46);
|
|
406
|
+
--color-artifact-kind-slides-ground: #fac895;
|
|
407
|
+
--color-artifact-kind-slides-ground-strong: #f4c28f;
|
|
408
|
+
--color-artifact-kind-slides-ground-end: #fbd8b5;
|
|
409
|
+
--color-artifact-kind-slides-glow: rgba(134, 90, 40, 0.46);
|
|
410
|
+
--color-artifact-kind-design-ground: #d7cbff;
|
|
411
|
+
--color-artifact-kind-design-ground-strong: #d2c3ff;
|
|
412
|
+
--color-artifact-kind-design-ground-end: #e2daff;
|
|
413
|
+
--color-artifact-kind-design-glow: rgba(113, 80, 179, 0.46);
|
|
414
|
+
--color-artifact-kind-dashboard-ground: #92dff6;
|
|
415
|
+
--color-artifact-kind-dashboard-ground-strong: #8cd8f0;
|
|
416
|
+
--color-artifact-kind-dashboard-ground-end: #b4e8f8;
|
|
417
|
+
--color-artifact-kind-dashboard-glow: rgba(22, 107, 128, 0.46);
|
|
418
|
+
--color-artifact-kind-html-ground: #ffc0c6;
|
|
419
|
+
--color-artifact-kind-html-ground-strong: #ffb7be;
|
|
420
|
+
--color-artifact-kind-html-ground-end: #ffd2d6;
|
|
421
|
+
--color-artifact-kind-html-glow: rgba(152, 74, 85, 0.46);
|
|
422
|
+
--color-artifact-kind-sheet-ground: #9fe5b4;
|
|
423
|
+
--color-artifact-kind-sheet-ground-strong: #99deae;
|
|
424
|
+
--color-artifact-kind-sheet-ground-end: #bcecca;
|
|
425
|
+
--color-artifact-kind-sheet-glow: rgba(44, 112, 70, 0.46);
|
|
426
|
+
--color-artifact-kind-brand-ground: #ffb5f2;
|
|
427
|
+
--color-artifact-kind-brand-ground-strong: #ffa9f1;
|
|
428
|
+
--color-artifact-kind-brand-ground-end: #ffcbf5;
|
|
429
|
+
--color-artifact-kind-brand-glow: rgba(143, 56, 132, 0.46);
|
|
332
430
|
--color-scrollbar: rgba(7, 8, 13, 0.2);
|
|
333
431
|
--color-scrollbar-hover: rgba(7, 8, 13, 0.32);
|
|
432
|
+
--color-edge-hairline: rgba(29, 19, 47, 0.13);
|
|
433
|
+
--color-edge-soft: rgba(120, 112, 139, 0.3);
|
|
434
|
+
--color-edge-medium: rgba(120, 112, 139, 0.5);
|
|
435
|
+
--color-edge-strong: #78708b;
|
|
436
|
+
--color-fill-row: rgba(29, 19, 47, 0.04);
|
|
437
|
+
--color-fill-soft: rgba(29, 19, 47, 0.06);
|
|
334
438
|
--shadow-xs: 0 1px 2px rgba(7, 8, 13, 0.06);
|
|
335
439
|
--shadow-sm: 0 2px 8px rgba(7, 8, 13, 0.07);
|
|
336
440
|
--shadow-md: 0 4px 12px rgba(7, 8, 13, 0.08), 0 1px 3px rgba(7, 8, 13, 0.06);
|
|
@@ -344,4 +448,15 @@
|
|
|
344
448
|
--shadow-focus: 0 0 0 2px var(--color-surface-background), 0 0 0 4px var(--color-focus);
|
|
345
449
|
--shadow-selection: inset 0 0 0 2px var(--color-brand-accent);
|
|
346
450
|
--shadow-glow: 0 4px 24px rgba(var(--color-brand-accent-rgb), 0.22);
|
|
451
|
+
--shadow-sheet-start: 16px 0 40px rgba(7, 8, 13, 0.16), 2px 0 8px rgba(7, 8, 13, 0.08);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
@media (prefers-contrast: more) {
|
|
455
|
+
:root[data-palette="abyss"],
|
|
456
|
+
:root[data-palette="abyss"]:not([data-theme="dark"]),
|
|
457
|
+
:root[data-palette="abyss"][data-theme="light"] {
|
|
458
|
+
--color-edge-hairline: var(--color-border-control);
|
|
459
|
+
--color-edge-soft: var(--color-border-control);
|
|
460
|
+
--color-edge-medium: var(--color-border-control);
|
|
461
|
+
}
|
|
347
462
|
}
|