@lace-cloud/design-tokens 0.37.0 → 0.38.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 +32 -0
- package/dist/index.cjs +104 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +116 -30
- package/dist/index.d.ts +116 -30
- package/dist/index.mjs +97 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/tokens.css +553 -320
package/tokens.css
CHANGED
|
@@ -28,18 +28,15 @@
|
|
|
28
28
|
--lace-color-green-300: #e0ff8a;
|
|
29
29
|
--lace-color-green-500: #cefe65;
|
|
30
30
|
--lace-color-green-700: #5e8a1a;
|
|
31
|
+
--lace-color-green-800: #4a6e12;
|
|
31
32
|
--lace-color-cyan-500: #95e7ff;
|
|
32
33
|
--lace-color-cyan-700: #2c9db9;
|
|
33
34
|
|
|
34
35
|
/* ── Palette: neutral ── */
|
|
35
36
|
--lace-color-neutral-100: #ecefed;
|
|
36
37
|
--lace-color-neutral-200: #e6e6e6;
|
|
37
|
-
--lace-color-neutral-300: #cccccc;
|
|
38
|
-
--lace-color-neutral-400: #9ca3af;
|
|
39
38
|
--lace-color-neutral-500: #999999;
|
|
40
|
-
--lace-color-neutral-600: #555555;
|
|
41
39
|
--lace-color-neutral-700: #3c3c3c;
|
|
42
|
-
--lace-color-neutral-750: #333333;
|
|
43
40
|
--lace-color-neutral-800: #252526;
|
|
44
41
|
--lace-color-neutral-850: #1e1e1e;
|
|
45
42
|
--lace-color-neutral-900: #161616;
|
|
@@ -47,21 +44,45 @@
|
|
|
47
44
|
--lace-color-neutral-950: #0f0f0f;
|
|
48
45
|
--lace-color-neutral-975: #0a0a0c;
|
|
49
46
|
--lace-color-neutral-black: #000000;
|
|
47
|
+
--lace-color-neutral-white: #ffffff;
|
|
48
|
+
|
|
49
|
+
/* ── Palette: identity ── an identity's fill, hashed from its seed (`Avatar`); one palette in
|
|
50
|
+
every theme, since the contrast each fill makes with its initials ink is the pair's own. */
|
|
51
|
+
--lace-color-identity-0: #e74c3c;
|
|
52
|
+
--lace-color-identity-1: #3498db;
|
|
53
|
+
--lace-color-identity-2: #2ecc71;
|
|
54
|
+
--lace-color-identity-3: #f39c12;
|
|
55
|
+
--lace-color-identity-4: #9b59b6;
|
|
56
|
+
--lace-color-identity-5: #1abc9c;
|
|
57
|
+
--lace-color-identity-6: #e67e22;
|
|
58
|
+
--lace-color-identity-7: #34495e;
|
|
59
|
+
--lace-color-identity-8: #cddc39;
|
|
60
|
+
--lace-color-identity-9: #7cb342;
|
|
61
|
+
--lace-color-identity-10: #2e7d32;
|
|
62
|
+
--lace-color-identity-11: #4f46e5;
|
|
63
|
+
--lace-color-identity-12: #b5179e;
|
|
64
|
+
--lace-color-identity-13: #ad1457;
|
|
65
|
+
|
|
66
|
+
/* ── Palette: mascot ── the mascot's fur and its shade, the same in every theme. */
|
|
67
|
+
--lace-color-mascot-fur: #c8ff00;
|
|
68
|
+
--lace-color-mascot-fur-dark: #a8d850;
|
|
50
69
|
|
|
51
70
|
/* ── Palette: warm neutral ── */
|
|
71
|
+
--lace-color-warm-50: #f6f7f5;
|
|
72
|
+
--lace-color-warm-100: #f1f3f0;
|
|
73
|
+
--lace-color-warm-400: #b3bab5;
|
|
74
|
+
--lace-color-warm-500: #8f9691;
|
|
75
|
+
--lace-color-warm-600: #5c635e;
|
|
76
|
+
--lace-color-warm-700: #454b47;
|
|
52
77
|
--lace-color-warm-900: #1a1815;
|
|
53
78
|
|
|
54
79
|
/* ── Palette: semantic accents ── */
|
|
55
80
|
--lace-color-teal-700: #153238;
|
|
56
|
-
--lace-color-teal-600: #1a3f47;
|
|
57
81
|
--lace-color-blue-500: #1f6feb;
|
|
58
|
-
--lace-color-blue-700: #1a4d8f;
|
|
59
82
|
--lace-color-blue-accent: #4fc1ff;
|
|
60
83
|
--lace-color-red-400: #f87171;
|
|
61
84
|
--lace-color-red-500: #e5484d;
|
|
62
|
-
--lace-color-red-700: #6e2b2b;
|
|
63
85
|
--lace-color-red-800: #3a1518;
|
|
64
|
-
--lace-color-red-900: #2a1414;
|
|
65
86
|
--lace-color-amber-400: #f5a623;
|
|
66
87
|
--lace-color-amber-600: #8a5a10;
|
|
67
88
|
--lace-color-purple-400: #b084f0;
|
|
@@ -70,8 +91,6 @@
|
|
|
70
91
|
--lace-color-pink-700: #8a2e5c;
|
|
71
92
|
--lace-color-orange-400: #ff8a4c;
|
|
72
93
|
--lace-color-orange-700: #8a3a10;
|
|
73
|
-
--lace-color-tag-blue-bg: #0b1f3a;
|
|
74
|
-
--lace-color-tag-blue-border: #2b4a7a;
|
|
75
94
|
--lace-color-tag-blue-text: #9ecbff;
|
|
76
95
|
|
|
77
96
|
/* ── Palette: contrast variants ──
|
|
@@ -81,14 +100,12 @@
|
|
|
81
100
|
* deep-* — darker, more saturated hues that pop on LIGHT
|
|
82
101
|
* surfaces (used by status semantics in
|
|
83
102
|
* [data-theme="light"])
|
|
84
|
-
* Tier-2 success/warning/
|
|
103
|
+
* Tier-2 success/warning/info tokens reach for the matching
|
|
85
104
|
* direction in their theme block. */
|
|
86
105
|
--lace-color-green-bright-500: #4ade80;
|
|
87
106
|
--lace-color-green-bright-600: #22c55e;
|
|
88
|
-
--lace-color-green-bright-700: #16a34a;
|
|
89
107
|
--lace-color-green-deep-700: #047857;
|
|
90
108
|
--lace-color-green-deep-800: #065f46;
|
|
91
|
-
--lace-color-green-deep-900: #064e3b;
|
|
92
109
|
--lace-color-amber-bright-400: #fbbf24;
|
|
93
110
|
--lace-color-amber-deep-700: #b45309;
|
|
94
111
|
--lace-color-blue-bright-500: #60a5fa;
|
|
@@ -99,55 +116,32 @@
|
|
|
99
116
|
--lace-color-green-alpha-06: rgba(206, 254, 101, 0.06);
|
|
100
117
|
--lace-color-neutral-900-alpha-04: rgba(22, 22, 22, 0.04);
|
|
101
118
|
--lace-color-neutral-900-alpha-08: rgba(22, 22, 22, 0.08);
|
|
119
|
+
--lace-color-neutral-900-alpha-10: rgba(22, 22, 22, 0.1);
|
|
120
|
+
--lace-color-neutral-900-alpha-20: rgba(22, 22, 22, 0.2);
|
|
102
121
|
--lace-color-green-alpha-10: rgba(206, 254, 101, 0.1);
|
|
103
122
|
--lace-color-green-alpha-15: rgba(206, 254, 101, 0.15);
|
|
104
|
-
--lace-color-green-alpha-18: rgba(206, 254, 101, 0.18);
|
|
105
123
|
--lace-color-green-alpha-20: rgba(206, 254, 101, 0.2);
|
|
106
|
-
--lace-color-green-alpha-
|
|
107
|
-
--lace-color-green-alpha-40: rgba(206, 254, 101, 0.4);
|
|
108
|
-
--lace-color-green-alpha-50: rgba(206, 254, 101, 0.5);
|
|
124
|
+
--lace-color-green-alpha-30: rgba(206, 254, 101, 0.3);
|
|
109
125
|
--lace-color-green-alpha-60: rgba(206, 254, 101, 0.6);
|
|
110
126
|
--lace-color-red-alpha-12: rgba(248, 113, 113, 0.12);
|
|
111
|
-
--lace-color-red-alpha-20: rgba(229, 72, 77, 0.2);
|
|
112
127
|
--lace-color-red-alpha-25: rgba(229, 72, 77, 0.25);
|
|
113
128
|
--lace-color-red-alpha-30: rgba(248, 113, 113, 0.3);
|
|
114
|
-
--lace-color-red-alpha-35: rgba(229, 72, 77, 0.35);
|
|
115
|
-
--lace-color-green-bright-alpha-12: rgba(74, 222, 128, 0.12);
|
|
116
129
|
--lace-color-green-bright-alpha-15: rgba(74, 222, 128, 0.15);
|
|
117
|
-
--lace-color-green-bright-alpha-35: rgba(74, 222, 128, 0.35);
|
|
118
130
|
--lace-color-white-alpha-03: rgba(255, 255, 255, 0.03);
|
|
119
|
-
--lace-color-white-alpha-04: rgba(255, 255, 255, 0.04);
|
|
120
|
-
--lace-color-white-alpha-06: rgba(255, 255, 255, 0.06);
|
|
121
131
|
--lace-color-white-alpha-08: rgba(255, 255, 255, 0.08);
|
|
122
|
-
--lace-color-white-alpha-
|
|
123
|
-
--lace-color-white-alpha-14: rgba(255, 255, 255, 0.14);
|
|
124
|
-
--lace-color-white-alpha-30: rgba(255, 255, 255, 0.3);
|
|
132
|
+
--lace-color-white-alpha-15: rgba(255, 255, 255, 0.15);
|
|
125
133
|
--lace-color-white-alpha-40: rgba(255, 255, 255, 0.4);
|
|
126
|
-
--lace-color-white-alpha-55: rgba(255, 255, 255, 0.55);
|
|
127
|
-
--lace-color-white-alpha-62: rgba(255, 255, 255, 0.62);
|
|
128
|
-
--lace-color-white-alpha-80: rgba(255, 255, 255, 0.8);
|
|
129
|
-
--lace-color-white-alpha-92: rgba(255, 255, 255, 0.92);
|
|
130
|
-
--lace-color-amber-alpha-08: rgba(255, 200, 80, 0.08);
|
|
131
134
|
--lace-color-amber-alpha-25: rgba(255, 200, 80, 0.25);
|
|
132
|
-
--lace-color-amber-400-alpha-12: rgba(245, 166, 35, 0.12);
|
|
133
|
-
--lace-color-amber-400-alpha-40: rgba(245, 166, 35, 0.4);
|
|
134
|
-
--lace-color-black-alpha-30: rgba(0, 0, 0, 0.3);
|
|
135
|
-
--lace-color-black-alpha-35: rgba(0, 0, 0, 0.35);
|
|
136
|
-
--lace-color-black-alpha-40: rgba(0, 0, 0, 0.4);
|
|
137
|
-
--lace-color-black-alpha-50: rgba(0, 0, 0, 0.5);
|
|
138
135
|
--lace-color-black-alpha-60: rgba(0, 0, 0, 0.6);
|
|
139
136
|
--lace-color-blue-alpha-30: rgba(59, 130, 246, 0.3);
|
|
140
|
-
--lace-color-purple-alpha-08: rgba(176, 132, 240, 0.08);
|
|
141
|
-
--lace-color-purple-alpha-12: rgba(176, 132, 240, 0.12);
|
|
142
|
-
--lace-color-purple-alpha-25: rgba(176, 132, 240, 0.25);
|
|
143
|
-
--lace-color-purple-alpha-35: rgba(176, 132, 240, 0.35);
|
|
144
|
-
--lace-color-neutral-100-alpha-85: rgba(236, 239, 237, 0.85);
|
|
145
|
-
--lace-color-teal-600-alpha-60: rgba(21, 50, 56, 0.6);
|
|
146
|
-
--lace-color-grey-fog-alpha-15: rgba(155, 161, 158, 0.15);
|
|
147
|
-
--lace-color-grey-fog-alpha-40: rgba(155, 161, 158, 0.4);
|
|
148
|
-
--lace-color-grey-fog: #9ba19e;
|
|
149
|
-
--lace-color-group-collapsed-bg: #1a2a20;
|
|
150
137
|
--lace-color-green-alpha-03: rgba(206, 254, 101, 0.03);
|
|
138
|
+
--lace-color-cool-900: #121619;
|
|
139
|
+
--lace-color-cool-100: #f1f5f9;
|
|
140
|
+
--lace-color-blue-accent-alpha-05: rgba(79, 193, 255, 0.05);
|
|
141
|
+
--lace-color-blue-accent-alpha-11: rgba(79, 193, 255, 0.11);
|
|
142
|
+
--lace-color-blue-deep-alpha-07: rgba(10, 98, 189, 0.07);
|
|
143
|
+
--lace-color-blue-deep-alpha-14: rgba(10, 98, 189, 0.14);
|
|
144
|
+
--lace-color-blue-deep-800: #0a62bd;
|
|
151
145
|
|
|
152
146
|
/* ── Scale: spacing (4px base) ── */
|
|
153
147
|
--lace-space-0: 0;
|
|
@@ -163,10 +157,58 @@
|
|
|
163
157
|
--lace-size-grid-fine: 20px;
|
|
164
158
|
--lace-size-grid-major: 100px;
|
|
165
159
|
--lace-size-page-max: 1152px;
|
|
160
|
+
--lace-size-measure: 70ch; /* a prose column's widest: about seventy characters of its body face */
|
|
161
|
+
/* The viewport widths a fluid text role runs between: `@carbon/type`'s sm and max breakpoints.
|
|
162
|
+
At and under sm the role holds its smallest size, at and past max its largest; between them
|
|
163
|
+
it grows by its size span over their span (the expressive set). */
|
|
164
|
+
--lace-size-viewport-sm: 320px;
|
|
165
|
+
--lace-size-target: 24px; /* a pointer target's least box: WCAG 2.2 SC 2.5.8 (Target Size, Minimum) asks 24 by 24 CSS px of every control */
|
|
166
166
|
--lace-size-control-rung: 36px; /* resting height every admin control family shares, so siblings on one page sit at one height */
|
|
167
|
+
--lace-size-control-sm: 28px; /* a control inside a section header or a row */
|
|
168
|
+
--lace-size-control-lg: 40px; /* a control a page stands on alone: a sign-in field and its primary */
|
|
169
|
+
--lace-size-badge: 22px; /* a status badge, a mode tag */
|
|
170
|
+
--lace-size-kbd: 20px; /* a key cap, a stamp */
|
|
171
|
+
--lace-size-field-inset: 10px; /* a text field's inline inset: where its text starts inside its border */
|
|
172
|
+
--lace-size-field-toggle: 34px; /* a search field's trailing toggle, which its text stops short of */
|
|
173
|
+
--lace-size-dot: 6px; /* a status dot beside its label */
|
|
174
|
+
--lace-size-icon-tile: 40px; /* the square a card's leading icon sits in */
|
|
175
|
+
--lace-size-term: 112px; /* a term column beside its value: a record's fact names, a posture tag */
|
|
176
|
+
--lace-size-popover: 320px; /* a floating panel's width: a stack of notices, a clipped value's full text */
|
|
177
|
+
/* A glyph's own box: an icon (the steps beside `--lace-size-icon`) and an avatar, whose
|
|
178
|
+
initials are a fixed fraction of it. Geometry, not type: no type set changes them. */
|
|
179
|
+
--lace-size-icon-xs: 10px;
|
|
180
|
+
--lace-size-icon-sm: 14px;
|
|
181
|
+
--lace-size-icon: 16px;
|
|
182
|
+
--lace-size-icon-lg: 18px;
|
|
183
|
+
--lace-size-avatar-sm: 24px;
|
|
184
|
+
--lace-size-avatar-md: 36px;
|
|
185
|
+
--lace-size-avatar-lg: 48px;
|
|
186
|
+
--lace-size-avatar-square-sm: 28px;
|
|
187
|
+
--lace-size-avatar-square-lg: 44px;
|
|
188
|
+
--lace-size-wordmark: 22px; /* the logo's name beside its mark */
|
|
189
|
+
--lace-size-tab: 40px; /* a tab bar's row */
|
|
190
|
+
--lace-size-topbar: 60px; /* the top bar's height, which what hangs under the bar offsets by */
|
|
191
|
+
--lace-size-sidebar: 232px;
|
|
167
192
|
--lace-size-drawer-min: 280px; /* a canvas drawer's narrowest: a form still reads at this width */
|
|
168
193
|
--lace-size-drawer-default: 320px;
|
|
169
194
|
--lace-size-drawer-max: 480px; /* its widest: the canvas keeps the rest of an 800px webview */
|
|
195
|
+
--lace-size-document-max: 520px; /* a document viewer's numbered body: the height past which it scrolls rather than grows */
|
|
196
|
+
--lace-size-marketing-bar: calc(
|
|
197
|
+
var(--lace-size-control-lg) +
|
|
198
|
+
var(--lace-space-3) *
|
|
199
|
+
2 +
|
|
200
|
+
var(--lace-border-width)
|
|
201
|
+
); /* the marketing bar: its tallest control with a step of air above and below, and its hairline; what sticks under the bar offsets by it */
|
|
202
|
+
--lace-size-product-window: 480px; /* a product window's height on a marketing page: the pictured page's first rows */
|
|
203
|
+
--lace-size-marquee-card: 288px; /* a card riding a marquee: an artifact's name beside its kind */
|
|
204
|
+
--lace-size-choice-list: 288px; /* a list of choices that scrolls inside a form: it holds this height whatever opens in it */
|
|
205
|
+
--lace-size-launcher: 64px; /* the assistant's launcher, a round button floated over a page's corner */
|
|
206
|
+
--lace-size-launcher-clearance: calc(
|
|
207
|
+
var(--lace-size-launcher) +
|
|
208
|
+
var(--lace-space-5) +
|
|
209
|
+
var(--lace-space-2)
|
|
210
|
+
); /* the room a page's foot leaves the launcher: the button, its inset from the corner and a step of air */
|
|
211
|
+
--lace-size-form-column: 440px; /* a form a page stands on alone (a sign-in, a sign-up): its column's widest, which its controls fill */
|
|
170
212
|
|
|
171
213
|
/* ── Scale: font size ── */
|
|
172
214
|
--lace-font-size-xs: 10px;
|
|
@@ -175,18 +217,30 @@
|
|
|
175
217
|
--lace-font-size-lg: 13px;
|
|
176
218
|
--lace-font-size-xl: 14px;
|
|
177
219
|
--lace-font-size-2xl: 16px;
|
|
220
|
+
--lace-font-size-20: 20px;
|
|
178
221
|
/* Display steps. The ramp below 22px is body copy, so a page masthead or a
|
|
179
222
|
headline numeral has no step to take there and would be written as a raw
|
|
180
223
|
px literal against no scale at all. These continue the same ramp
|
|
181
|
-
(10, 11, 12, 13, 14, 16, 22, 24
|
|
182
|
-
further step is added when a display element
|
|
224
|
+
(10, 11, 12, 13, 14, 16, 20, 22, 24, 28, 32, 42, 60, 76); a display
|
|
225
|
+
element takes one of them. A further step is added when a display element
|
|
226
|
+
needs one, not before. The steps a text role takes between or past the
|
|
227
|
+
named ones are named by their px value. */
|
|
183
228
|
--lace-font-size-3xl: 22px;
|
|
184
229
|
--lace-font-size-4xl: 24px;
|
|
230
|
+
--lace-font-size-28: 28px;
|
|
231
|
+
/* The ends of the expressive set's fluid display and title, each a size `@carbon/type` gives
|
|
232
|
+
the role at its sm or max breakpoint. */
|
|
233
|
+
--lace-font-size-32: 32px;
|
|
234
|
+
--lace-font-size-42: 42px;
|
|
235
|
+
--lace-font-size-60: 60px;
|
|
236
|
+
--lace-font-size-76: 76px;
|
|
185
237
|
|
|
186
238
|
/* ── Scale: line height ── */
|
|
187
239
|
--lace-line-height-tight: 1.2;
|
|
188
240
|
--lace-line-height-normal: 1.4;
|
|
189
|
-
|
|
241
|
+
/* Absolute leadings a text role takes where no font-size step equals it. */
|
|
242
|
+
--lace-line-height-18: 18px;
|
|
243
|
+
--lace-line-height-36: 36px;
|
|
190
244
|
|
|
191
245
|
/* ── Scale: font weight ── */
|
|
192
246
|
--lace-font-weight-regular: 400;
|
|
@@ -195,7 +249,9 @@
|
|
|
195
249
|
--lace-font-weight-bold: 700;
|
|
196
250
|
|
|
197
251
|
/* ── Font family ── */
|
|
198
|
-
--lace-font-sans:
|
|
252
|
+
--lace-font-sans:
|
|
253
|
+
"Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
|
|
254
|
+
--lace-font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
|
|
199
255
|
--lace-font-mono:
|
|
200
256
|
"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
201
257
|
|
|
@@ -203,16 +259,32 @@
|
|
|
203
259
|
--lace-radius-sm: 4px;
|
|
204
260
|
--lace-radius-md: 6px;
|
|
205
261
|
--lace-radius-lg: 8px;
|
|
262
|
+
--lace-radius-xl: 12px; /* a card that stands on the page alone */
|
|
206
263
|
--lace-radius-pill: 999px;
|
|
207
264
|
|
|
265
|
+
/* ── Scale: line ── */
|
|
266
|
+
--lace-border-width: 1px; /* every kit part's border and rule */
|
|
267
|
+
--lace-border-width-strong: 2px; /* the ink line under what is current: a tab, a pressed segment, a step */
|
|
268
|
+
--lace-border-width-edge: 3px; /* the tone edge on a notice's or a queue card's leading side */
|
|
269
|
+
--lace-focus-ring-width: 2px; /* the outline a focused control draws, in --lace-color-focus-ring */
|
|
270
|
+
--lace-focus-ring-offset: 2px; /* its gap from the control; an inset ring draws it negative */
|
|
271
|
+
--lace-hidden-line-style: dashed; /* the hidden line's stroke: what only observes, an observing Binding's mode and outline */
|
|
272
|
+
|
|
208
273
|
/* ── Scale: shadow (elevation) ── */
|
|
209
274
|
--lace-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
|
|
210
275
|
--lace-shadow-md: 0 2px 8px rgba(0, 0, 0, 0.35);
|
|
211
276
|
--lace-shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.4);
|
|
277
|
+
/* The accent glow a primary control rests on, and the same glow at nothing, the frame
|
|
278
|
+
framer-motion blooms it from: each one value, so a keyframe reads it whole. */
|
|
279
|
+
--lace-shadow-glow: 0 4px 16px var(--lace-color-green-alpha-30);
|
|
280
|
+
--lace-shadow-glow-none: 0 0 0 rgba(206, 254, 101, 0);
|
|
281
|
+
/* The blur a dialog's scrim draws the page under it at, and a destructive dialog's lighter
|
|
282
|
+
one: each one value, so a keyframe reads it whole. */
|
|
283
|
+
--lace-blur-scrim: blur(8px);
|
|
284
|
+
--lace-blur-scrim-soft: blur(2px);
|
|
212
285
|
--lace-shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.5);
|
|
213
286
|
|
|
214
287
|
/* ── Scale: z-index ── */
|
|
215
|
-
--lace-z-canvas: 0;
|
|
216
288
|
--lace-z-chrome: 10; /* action bar, toast, banner */
|
|
217
289
|
--lace-z-scrim: 40; /* context-menu dismiss overlay */
|
|
218
290
|
--lace-z-overlay: 50; /* context menu, modal */
|
|
@@ -226,6 +298,7 @@
|
|
|
226
298
|
--lace-duration-slow: 300ms;
|
|
227
299
|
--lace-easing-standard: ease;
|
|
228
300
|
--lace-easing-out: ease-out;
|
|
301
|
+
--lace-motion-hinge-perspective: 200px; /* how far off a glyph turning on one hinge is seen from: near enough to read as a turn, not a squash */
|
|
229
302
|
|
|
230
303
|
/* ── High-contrast stock colours: VS Code's own, where it supplies no --vscode-* variable ── */
|
|
231
304
|
--lace-color-hc-edge-dark: #6fc3df;
|
|
@@ -244,7 +317,9 @@
|
|
|
244
317
|
* with one edit.
|
|
245
318
|
* ══════════════════════════════════════════════════════════════════════ */
|
|
246
319
|
|
|
247
|
-
:root
|
|
320
|
+
:root,
|
|
321
|
+
[data-lace-dark-tokens],
|
|
322
|
+
[data-lace-paper="blueprint"] {
|
|
248
323
|
/* ── Surface (background layers) ── */
|
|
249
324
|
--lace-color-bg-canvas: var(--lace-color-neutral-900);
|
|
250
325
|
--lace-color-bg-surface: var(--lace-color-neutral-850);
|
|
@@ -253,34 +328,37 @@
|
|
|
253
328
|
--lace-color-bg-context-menu: #1a1a1a;
|
|
254
329
|
|
|
255
330
|
/* ── Border ── */
|
|
256
|
-
--lace-color-border-default: var(--lace-color-
|
|
331
|
+
--lace-color-border-default: var(--lace-color-white-alpha-08);
|
|
257
332
|
--lace-color-border-subtle: var(--lace-color-neutral-700);
|
|
258
|
-
--lace-color-border-input: var(--lace-color-
|
|
333
|
+
--lace-color-border-input: var(--lace-color-white-alpha-15);
|
|
334
|
+
/* The resting edge of a text control (an input, a textarea, a select, a combobox): the visual
|
|
335
|
+
* boundary that identifies the control, held to 3:1 by WCAG 2.2 SC 1.4.11 (Non-text Contrast).
|
|
336
|
+
* #757575 is 3.93:1 on bg-canvas, 3.62:1 on bg-surface, 3.32:1 on bg-surface-alt and 4.16:1 on
|
|
337
|
+
* bg-input. */
|
|
338
|
+
--lace-color-border-control: #757575;
|
|
259
339
|
--lace-color-border-input-hover: #888888;
|
|
260
340
|
|
|
261
341
|
/* ── Text ── */
|
|
262
342
|
--lace-color-text-primary: var(--lace-color-neutral-100);
|
|
263
343
|
--lace-color-text-label: var(--lace-color-neutral-200);
|
|
264
|
-
--lace-color-text-muted: var(--lace-color-
|
|
265
|
-
--lace-color-text-description: var(--lace-color-
|
|
266
|
-
--lace-color-text-accent: var(--lace-color-green-500);
|
|
267
|
-
--lace-color-text-link: var(--lace-color-blue-bright-500);
|
|
344
|
+
--lace-color-text-muted: var(--lace-color-warm-500);
|
|
345
|
+
--lace-color-text-description: var(--lace-color-warm-400);
|
|
268
346
|
--lace-color-text-danger: var(--lace-color-red-500);
|
|
269
347
|
--lace-color-text-danger-soft: var(--lace-color-red-400);
|
|
270
|
-
/* A stop below muted, for tertiary labels and placeholders: muted itself
|
|
271
|
-
* would over-emphasise them, most visibly in the light theme. */
|
|
272
|
-
--lace-color-text-faint: #8c8f8c;
|
|
273
348
|
|
|
274
349
|
/* ── Row ── */
|
|
275
350
|
--lace-color-row-hover: rgba(255, 255, 255, 0.025);
|
|
276
351
|
|
|
277
|
-
/* ──
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
352
|
+
/* ── Accent ──
|
|
353
|
+
* Two roles of the brand green. `accent` is a fill alone, the lime in every
|
|
354
|
+
* theme, with `text-on-accent` the label on it. `ink` is the brand drawn as
|
|
355
|
+
* text, an icon, a border or a ring: lime on the dark surfaces, an olive on
|
|
356
|
+
* the light ones, where lime on white measures 1.2:1. */
|
|
282
357
|
--lace-color-accent: var(--lace-color-green-500);
|
|
283
358
|
--lace-color-text-on-accent: var(--lace-color-neutral-925);
|
|
359
|
+
/* The accent fill's own edge; a high-contrast theme draws it in its edge colour, which the lime is not against a light surface. */
|
|
360
|
+
--lace-color-accent-edge: var(--lace-color-accent);
|
|
361
|
+
--lace-color-ink: var(--lace-color-green-500);
|
|
284
362
|
--lace-color-accent-alpha-subtle: var(--lace-color-green-alpha-10);
|
|
285
363
|
--lace-color-accent-alpha-medium: var(--lace-color-green-alpha-20);
|
|
286
364
|
--lace-color-accent-strong: var(--lace-color-green-bright, var(--lace-color-green-300));
|
|
@@ -288,7 +366,6 @@
|
|
|
288
366
|
/* ── Status ── */
|
|
289
367
|
--lace-color-success: var(--lace-color-green-bright-500);
|
|
290
368
|
--lace-color-success-hover: var(--lace-color-green-bright-600);
|
|
291
|
-
--lace-color-success-strong: var(--lace-color-green-bright-700);
|
|
292
369
|
--lace-color-danger: var(--lace-color-red-500);
|
|
293
370
|
--lace-color-danger-bg-soft: var(--lace-color-red-alpha-12);
|
|
294
371
|
/* Danger as TEXT, which is a different job from danger as a fill.
|
|
@@ -302,21 +379,8 @@
|
|
|
302
379
|
--lace-color-danger-fg: var(--lace-color-red-400);
|
|
303
380
|
--lace-color-warning-bg: #3b2507;
|
|
304
381
|
--lace-color-warning-fg: var(--lace-color-amber-bright-400);
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
* Three intent-distinguished chip kinds for the role-aware
|
|
308
|
-
* scope-switcher. Org = blue (platform-wide), Team = green-bright
|
|
309
|
-
* (your scope), Aggregate = purple (spans multiple things).
|
|
310
|
-
* Reusing Badge status palette would conflate scope with state. */
|
|
311
|
-
--lace-scope-org-bg: var(--lace-color-tag-blue-bg);
|
|
312
|
-
--lace-scope-org-fg: var(--lace-color-tag-blue-text);
|
|
313
|
-
--lace-scope-org-border: var(--lace-color-tag-blue-border);
|
|
314
|
-
--lace-scope-team-bg: var(--lace-color-green-bright-alpha-12);
|
|
315
|
-
--lace-scope-team-fg: var(--lace-color-green-bright-500);
|
|
316
|
-
--lace-scope-team-border: var(--lace-color-green-bright-alpha-35);
|
|
317
|
-
--lace-scope-aggregate-bg: var(--lace-color-purple-alpha-12);
|
|
318
|
-
--lace-scope-aggregate-fg: var(--lace-color-purple-400);
|
|
319
|
-
--lace-scope-aggregate-border: var(--lace-color-purple-alpha-35);
|
|
382
|
+
/* The info tone's text and mark: a status beside ok, warning and danger. */
|
|
383
|
+
--lace-color-info: var(--lace-color-tag-blue-text);
|
|
320
384
|
|
|
321
385
|
/* ── Forbidden state ──
|
|
322
386
|
* Explicit Access Denied surfaces (PageGuard card; sidebar tooltip).
|
|
@@ -327,14 +391,6 @@
|
|
|
327
391
|
--lace-forbidden-border: var(--lace-color-neutral-700);
|
|
328
392
|
--lace-forbidden-icon: var(--lace-color-text-muted);
|
|
329
393
|
|
|
330
|
-
/* ── Aggregate banner ──
|
|
331
|
-
* Persistent banner under page header on multi-team aggregate views.
|
|
332
|
-
* Wide form of the scope-aggregate chip; subtler alpha so it doesn't
|
|
333
|
-
* compete with page content. */
|
|
334
|
-
--lace-banner-aggregate-bg: var(--lace-color-purple-alpha-08);
|
|
335
|
-
--lace-banner-aggregate-fg: var(--lace-color-purple-400);
|
|
336
|
-
--lace-banner-aggregate-border: var(--lace-color-purple-alpha-25);
|
|
337
|
-
|
|
338
394
|
/* ── Severity banner ──
|
|
339
395
|
* A full-width strip under a toolbar that states one fact needing the
|
|
340
396
|
* reader: warning (a decision waits), error (something is locked). The
|
|
@@ -348,15 +404,221 @@
|
|
|
348
404
|
--lace-banner-error-border: var(--lace-color-red-alpha-30);
|
|
349
405
|
|
|
350
406
|
/* ── Focus ring ── */
|
|
351
|
-
--lace-color-focus-ring: var(--lace-color-
|
|
407
|
+
--lace-color-focus-ring: var(--lace-color-ink);
|
|
408
|
+
|
|
409
|
+
/* ── Series ──
|
|
410
|
+
* The strokes of a chart's series, in order, each at least 3:1 against the
|
|
411
|
+
* surface it is drawn on. */
|
|
412
|
+
--lace-color-series-1: var(--lace-color-cyan-500);
|
|
413
|
+
--lace-color-series-2: var(--lace-color-purple-400);
|
|
414
|
+
--lace-color-series-3: var(--lace-color-amber-400);
|
|
415
|
+
--lace-color-series-4: var(--lace-color-pink-400);
|
|
416
|
+
--lace-color-series-5: var(--lace-color-orange-400);
|
|
417
|
+
--lace-color-series-6: var(--lace-color-green-500);
|
|
352
418
|
|
|
353
419
|
/* ── Paper grid (engineering-paper background threads) ── */
|
|
354
420
|
--lace-paper-thread-fine: var(--lace-color-green-alpha-03);
|
|
355
421
|
--lace-paper-thread-major: var(--lace-color-green-alpha-06);
|
|
356
422
|
--lace-paper-pitch-fine: var(--lace-size-grid-fine);
|
|
357
423
|
--lace-paper-pitch-major: var(--lace-size-grid-major);
|
|
358
|
-
/* How thick a thread is drawn
|
|
424
|
+
/* How thick a thread is drawn: 1px, and one device pixel on a 2x screen (below). */
|
|
359
425
|
--lace-paper-thread-width: 1px;
|
|
426
|
+
/* The frame (`.lace-paper-frame`): the paper holds 60% strength to the hold and is gone at the
|
|
427
|
+
* depth, each measured in from the window's edge. */
|
|
428
|
+
--lace-paper-frame-hold: 100px;
|
|
429
|
+
--lace-paper-frame-depth: 240px;
|
|
430
|
+
/* The light over the paper (`PointerLight`): its glow's side, and the side of the window that
|
|
431
|
+
* shows the brighter paper under it, an even count of major pitches. */
|
|
432
|
+
--lace-paper-light-glow: 420px;
|
|
433
|
+
--lace-paper-light-reveal: 400px;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/* On a screen with two or more device pixels to the CSS pixel, a thread is drawn one device pixel
|
|
437
|
+
* thick, so the paper stays under what is drawn on it. A 1x screen has no line finer than 1px. */
|
|
438
|
+
@media (min-resolution: 2dppx) {
|
|
439
|
+
:root,
|
|
440
|
+
[data-lace-dark-tokens],
|
|
441
|
+
[data-lace-paper="blueprint"] {
|
|
442
|
+
--lace-paper-thread-width: 0.5px;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/* ══════════════════════════════════════════════════════════════════════
|
|
447
|
+
* TIER 2 — SEMANTIC: TEXT ROLES AND TYPE SETS
|
|
448
|
+
*
|
|
449
|
+
* Each role is a `font` shorthand (`font: var(--lace-text-body)`) and its
|
|
450
|
+
* tracking (`letter-spacing: var(--lace-text-body-tracking)`), the shorthand
|
|
451
|
+
* composed from the role's `-weight`, `-size`, `-line` and `-family`, which a
|
|
452
|
+
* consumer that sets the parts apart (a Tailwind text utility) reads.
|
|
453
|
+
*
|
|
454
|
+
* `data-lace-type-set` picks the roles' sizes and lines, and nothing else: no
|
|
455
|
+
* primitive changes with it, and weight, family and tracking are one in every
|
|
456
|
+
* set. A region declares the set of the kind of region it is:
|
|
457
|
+
* - `compact`: the canvas, which declares it on its own root so it holds
|
|
458
|
+
* inside a host of another set, and every host that declares none (`:root`
|
|
459
|
+
* is compact: the extension's webviews, the API's server-rendered pages);
|
|
460
|
+
* - `comfortable` (Carbon's productive set): product UI, where people work
|
|
461
|
+
* through inputs and controls; the portal declares it on its document root;
|
|
462
|
+
* - `expressive`: prose, where people learn, scan and read long form; the
|
|
463
|
+
* editorial and article templates declare it on their prose regions only,
|
|
464
|
+
* so a container among them keeps the page's set.
|
|
465
|
+
* ══════════════════════════════════════════════════════════════════════ */
|
|
466
|
+
|
|
467
|
+
:root,
|
|
468
|
+
[data-lace-type-set="compact"] {
|
|
469
|
+
--lace-text-display-size: var(--lace-font-size-3xl);
|
|
470
|
+
--lace-text-display-line: var(--lace-font-size-28);
|
|
471
|
+
--lace-text-title-size: var(--lace-font-size-2xl);
|
|
472
|
+
--lace-text-title-line: var(--lace-font-size-3xl);
|
|
473
|
+
--lace-text-heading-size: var(--lace-font-size-xl);
|
|
474
|
+
--lace-text-heading-line: var(--lace-font-size-20);
|
|
475
|
+
--lace-text-body-size: var(--lace-font-size-lg);
|
|
476
|
+
--lace-text-body-line: var(--lace-line-height-18);
|
|
477
|
+
--lace-text-control-size: var(--lace-font-size-md);
|
|
478
|
+
--lace-text-control-line: var(--lace-font-size-2xl);
|
|
479
|
+
--lace-text-caption-size: var(--lace-font-size-sm);
|
|
480
|
+
--lace-text-caption-line: var(--lace-font-size-xl);
|
|
481
|
+
--lace-text-label-size: var(--lace-font-size-xs);
|
|
482
|
+
--lace-text-label-line: var(--lace-font-size-xl);
|
|
483
|
+
--lace-text-code-size: var(--lace-font-size-md);
|
|
484
|
+
--lace-text-code-line: var(--lace-font-size-2xl);
|
|
485
|
+
--lace-text-note-size: var(--lace-font-size-xl);
|
|
486
|
+
--lace-text-note-line: var(--lace-font-size-20);
|
|
487
|
+
|
|
488
|
+
/* Weight, family and tracking are the same in every set, so this block alone declares them. */
|
|
489
|
+
--lace-text-display-weight: var(--lace-font-weight-semibold);
|
|
490
|
+
--lace-text-display-family: var(--lace-font-sans);
|
|
491
|
+
--lace-text-display-tracking: -0.01em;
|
|
492
|
+
--lace-text-title-weight: var(--lace-font-weight-semibold);
|
|
493
|
+
--lace-text-title-family: var(--lace-font-sans);
|
|
494
|
+
--lace-text-title-tracking: 0;
|
|
495
|
+
--lace-text-heading-weight: var(--lace-font-weight-semibold);
|
|
496
|
+
--lace-text-heading-family: var(--lace-font-sans);
|
|
497
|
+
--lace-text-heading-tracking: 0;
|
|
498
|
+
--lace-text-body-weight: var(--lace-font-weight-regular);
|
|
499
|
+
--lace-text-body-family: var(--lace-font-sans);
|
|
500
|
+
--lace-text-body-tracking: 0;
|
|
501
|
+
--lace-text-control-weight: var(--lace-font-weight-medium);
|
|
502
|
+
--lace-text-control-family: var(--lace-font-sans);
|
|
503
|
+
--lace-text-control-tracking: 0;
|
|
504
|
+
--lace-text-caption-weight: var(--lace-font-weight-regular);
|
|
505
|
+
--lace-text-caption-family: var(--lace-font-sans);
|
|
506
|
+
--lace-text-caption-tracking: 0;
|
|
507
|
+
--lace-text-label-weight: var(--lace-font-weight-medium);
|
|
508
|
+
--lace-text-label-family: var(--lace-font-mono);
|
|
509
|
+
--lace-text-label-tracking: 0.06em;
|
|
510
|
+
--lace-text-code-weight: var(--lace-font-weight-regular);
|
|
511
|
+
--lace-text-code-family: var(--lace-font-mono);
|
|
512
|
+
--lace-text-code-tracking: 0;
|
|
513
|
+
/* The margin note's face, the one role set in the serif and in italic (its shorthand's style). */
|
|
514
|
+
--lace-text-note-weight: var(--lace-font-weight-regular);
|
|
515
|
+
--lace-text-note-family: var(--lace-font-serif);
|
|
516
|
+
--lace-text-note-tracking: 0;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
[data-lace-type-set="comfortable"] {
|
|
520
|
+
--lace-text-display-size: var(--lace-font-size-28);
|
|
521
|
+
--lace-text-display-line: var(--lace-line-height-36);
|
|
522
|
+
--lace-text-title-size: var(--lace-font-size-20);
|
|
523
|
+
--lace-text-title-line: var(--lace-font-size-28);
|
|
524
|
+
--lace-text-heading-size: var(--lace-font-size-2xl);
|
|
525
|
+
--lace-text-heading-line: var(--lace-font-size-4xl);
|
|
526
|
+
--lace-text-body-size: var(--lace-font-size-xl);
|
|
527
|
+
--lace-text-body-line: var(--lace-font-size-20);
|
|
528
|
+
--lace-text-control-size: var(--lace-font-size-lg);
|
|
529
|
+
--lace-text-control-line: var(--lace-line-height-18);
|
|
530
|
+
--lace-text-caption-size: var(--lace-font-size-md);
|
|
531
|
+
--lace-text-caption-line: var(--lace-font-size-2xl);
|
|
532
|
+
--lace-text-label-size: var(--lace-font-size-sm);
|
|
533
|
+
--lace-text-label-line: var(--lace-font-size-2xl);
|
|
534
|
+
--lace-text-code-size: var(--lace-font-size-lg);
|
|
535
|
+
--lace-text-code-line: var(--lace-font-size-20);
|
|
536
|
+
--lace-text-note-size: var(--lace-font-size-2xl);
|
|
537
|
+
--lace-text-note-line: var(--lace-font-size-3xl);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/* Carbon's expressive set, from `@carbon/type@11.71.0` (`es/index.js`, built from its
|
|
541
|
+
* `src/styles.ts` and `src/fluid.ts`): display is `fluid-display-01`, title `fluid-heading-05`,
|
|
542
|
+
* heading `fluid-heading-03`, body `body-02`, control `body-compact-02`, caption
|
|
543
|
+
* `helper-text-02`, label `label-02` (in Lace's mono caps face), code `code-02`, and note one step
|
|
544
|
+
* above body, as in the other two sets, at the 28px line Carbon gives a 20px run.
|
|
545
|
+
*
|
|
546
|
+
* Carbon sets a fluid role's size at each breakpoint and interpolates between neighbours. Here
|
|
547
|
+
* each is one `clamp()` from its size at sm to its size at max, a linear approximation of those
|
|
548
|
+
* steps, and its line is a ratio of the line-height scale, so the leading follows the size
|
|
549
|
+
* (Carbon's runs from 1.19 to 1.13 for display, 1.25 to 1.17 for title, 1.4 to 1.334 for
|
|
550
|
+
* heading).
|
|
551
|
+
*
|
|
552
|
+
* The size is its sm end plus the viewport's distance past sm times the slope, the role's size
|
|
553
|
+
* span over the viewport pair's span in px (`34 / 1264` is 76 - 42 over 1584 - 320). The slope is
|
|
554
|
+
* written as two numbers because a length divided by a length (typed arithmetic) is invalid in a
|
|
555
|
+
* browser without it, and an invalid custom property drops the whole `font` to the inherited one;
|
|
556
|
+
* a length times a number is valid wherever `clamp()` is. `text-roles.test.ts` holds each
|
|
557
|
+
* number equal to its tokens' span. */
|
|
558
|
+
[data-lace-type-set="expressive"] {
|
|
559
|
+
--lace-text-display-size: clamp(
|
|
560
|
+
var(--lace-font-size-42),
|
|
561
|
+
calc(var(--lace-font-size-42) + (100vw - var(--lace-size-viewport-sm)) * 34 / 1264),
|
|
562
|
+
var(--lace-font-size-76)
|
|
563
|
+
);
|
|
564
|
+
--lace-text-display-line: var(--lace-line-height-tight);
|
|
565
|
+
--lace-text-title-size: clamp(
|
|
566
|
+
var(--lace-font-size-32),
|
|
567
|
+
calc(var(--lace-font-size-32) + (100vw - var(--lace-size-viewport-sm)) * 28 / 1264),
|
|
568
|
+
var(--lace-font-size-60)
|
|
569
|
+
);
|
|
570
|
+
--lace-text-title-line: var(--lace-line-height-tight);
|
|
571
|
+
--lace-text-heading-size: clamp(
|
|
572
|
+
var(--lace-font-size-20),
|
|
573
|
+
calc(var(--lace-font-size-20) + (100vw - var(--lace-size-viewport-sm)) * 4 / 1264),
|
|
574
|
+
var(--lace-font-size-4xl)
|
|
575
|
+
);
|
|
576
|
+
--lace-text-heading-line: var(--lace-line-height-normal);
|
|
577
|
+
--lace-text-body-size: var(--lace-font-size-2xl);
|
|
578
|
+
--lace-text-body-line: var(--lace-font-size-4xl);
|
|
579
|
+
--lace-text-control-size: var(--lace-font-size-2xl);
|
|
580
|
+
--lace-text-control-line: var(--lace-font-size-3xl);
|
|
581
|
+
--lace-text-caption-size: var(--lace-font-size-xl);
|
|
582
|
+
--lace-text-caption-line: var(--lace-line-height-18);
|
|
583
|
+
--lace-text-label-size: var(--lace-font-size-xl);
|
|
584
|
+
--lace-text-label-line: var(--lace-line-height-18);
|
|
585
|
+
--lace-text-code-size: var(--lace-font-size-xl);
|
|
586
|
+
--lace-text-code-line: var(--lace-font-size-20);
|
|
587
|
+
--lace-text-note-size: var(--lace-font-size-20);
|
|
588
|
+
--lace-text-note-line: var(--lace-font-size-28);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/* The shorthand is composed where each set is declared, so a set's root nested in another
|
|
592
|
+
* substitutes its own size and line rather than inheriting the outer one already resolved. */
|
|
593
|
+
:root,
|
|
594
|
+
[data-lace-type-set] {
|
|
595
|
+
--lace-text-display:
|
|
596
|
+
var(--lace-text-display-weight) var(--lace-text-display-size) / var(--lace-text-display-line)
|
|
597
|
+
var(--lace-text-display-family);
|
|
598
|
+
--lace-text-title:
|
|
599
|
+
var(--lace-text-title-weight) var(--lace-text-title-size) / var(--lace-text-title-line)
|
|
600
|
+
var(--lace-text-title-family);
|
|
601
|
+
--lace-text-heading:
|
|
602
|
+
var(--lace-text-heading-weight) var(--lace-text-heading-size) / var(--lace-text-heading-line)
|
|
603
|
+
var(--lace-text-heading-family);
|
|
604
|
+
--lace-text-body:
|
|
605
|
+
var(--lace-text-body-weight) var(--lace-text-body-size) / var(--lace-text-body-line)
|
|
606
|
+
var(--lace-text-body-family);
|
|
607
|
+
--lace-text-control:
|
|
608
|
+
var(--lace-text-control-weight) var(--lace-text-control-size) / var(--lace-text-control-line)
|
|
609
|
+
var(--lace-text-control-family);
|
|
610
|
+
--lace-text-caption:
|
|
611
|
+
var(--lace-text-caption-weight) var(--lace-text-caption-size) / var(--lace-text-caption-line)
|
|
612
|
+
var(--lace-text-caption-family);
|
|
613
|
+
--lace-text-label:
|
|
614
|
+
var(--lace-text-label-weight) var(--lace-text-label-size) / var(--lace-text-label-line)
|
|
615
|
+
var(--lace-text-label-family);
|
|
616
|
+
--lace-text-code:
|
|
617
|
+
var(--lace-text-code-weight) var(--lace-text-code-size) / var(--lace-text-code-line)
|
|
618
|
+
var(--lace-text-code-family);
|
|
619
|
+
--lace-text-note:
|
|
620
|
+
italic var(--lace-text-note-weight) var(--lace-text-note-size) / var(--lace-text-note-line)
|
|
621
|
+
var(--lace-text-note-family);
|
|
360
622
|
}
|
|
361
623
|
|
|
362
624
|
/* ══════════════════════════════════════════════════════════════════════
|
|
@@ -367,14 +629,11 @@
|
|
|
367
629
|
* component-specific colors.
|
|
368
630
|
* ══════════════════════════════════════════════════════════════════════ */
|
|
369
631
|
|
|
370
|
-
:root
|
|
632
|
+
:root,
|
|
633
|
+
[data-lace-dark-tokens],
|
|
634
|
+
[data-lace-paper="blueprint"] {
|
|
371
635
|
/* ── Brand aliases (prefer semantic tokens) ── */
|
|
372
636
|
--lace-green: var(--lace-color-green-500);
|
|
373
|
-
--lace-green-bright: var(--lace-color-green-300);
|
|
374
|
-
--lace-gunmetal: var(--lace-color-teal-700);
|
|
375
|
-
--lace-gunmetal-light: var(--lace-color-teal-600);
|
|
376
|
-
--lace-night: var(--lace-color-neutral-900);
|
|
377
|
-
--lace-cyan: var(--lace-color-cyan-500);
|
|
378
637
|
--lace-grey: var(--lace-color-neutral-100);
|
|
379
638
|
|
|
380
639
|
/* ── Chat ── */
|
|
@@ -385,27 +644,10 @@
|
|
|
385
644
|
/* ── Surface aliases (prefer semantic tokens) ── */
|
|
386
645
|
--lace-bg-surface: var(--lace-color-bg-surface);
|
|
387
646
|
--lace-bg-surface-alt: var(--lace-color-bg-surface-alt);
|
|
388
|
-
--lace-bg-input: var(--lace-color-bg-input);
|
|
389
647
|
--lace-bg-context-menu: var(--lace-color-bg-context-menu);
|
|
390
648
|
--lace-border-default: var(--lace-color-border-default);
|
|
391
|
-
--lace-border-input: var(--lace-color-border-input);
|
|
392
|
-
--lace-border-input-hover: var(--lace-color-border-input-hover);
|
|
393
649
|
--lace-border-subtle: var(--lace-color-border-subtle);
|
|
394
650
|
|
|
395
|
-
/* ── Text aliases (prefer semantic tokens) ── */
|
|
396
|
-
--lace-text-danger: var(--lace-color-text-danger);
|
|
397
|
-
--lace-text-danger-light: var(--lace-color-text-danger-soft);
|
|
398
|
-
--lace-text-link: var(--lace-color-text-link);
|
|
399
|
-
--lace-text-muted: var(--lace-color-text-muted);
|
|
400
|
-
--lace-text-label: var(--lace-color-text-label);
|
|
401
|
-
--lace-text-description: var(--lace-color-text-description);
|
|
402
|
-
|
|
403
|
-
/* ── Alpha variants (prefer semantic tokens) ── */
|
|
404
|
-
--lace-green-alpha-10: var(--lace-color-green-alpha-10);
|
|
405
|
-
--lace-green-alpha-15: var(--lace-color-green-alpha-15);
|
|
406
|
-
--lace-green-alpha-20: var(--lace-color-green-alpha-20);
|
|
407
|
-
--lace-green-alpha-60: var(--lace-color-green-alpha-60);
|
|
408
|
-
|
|
409
651
|
/* ── Button ──
|
|
410
652
|
* The primary is the brand accent, used sparingly: the one call to
|
|
411
653
|
* action of a surface. green-500 holds its value in both themes, and
|
|
@@ -414,10 +656,7 @@
|
|
|
414
656
|
--lace-btn-primary-dim: var(--lace-color-green-300);
|
|
415
657
|
--lace-btn-secondary-bg: #2d2d2d;
|
|
416
658
|
--lace-btn-secondary-hover: #3a3a3a;
|
|
417
|
-
--lace-btn-success: var(--lace-color-success-strong);
|
|
418
659
|
--lace-btn-success-hover: var(--lace-color-success-hover);
|
|
419
|
-
--lace-btn-danger-bg: var(--lace-color-red-700);
|
|
420
|
-
--lace-btn-danger-hover: #8a3535;
|
|
421
660
|
--lace-btn-ghost-hover: var(--lace-color-accent-alpha-subtle);
|
|
422
661
|
--lace-btn-text-primary: var(--lace-color-text-on-accent);
|
|
423
662
|
--lace-btn-text-disabled: var(--lace-color-white-alpha-40);
|
|
@@ -429,12 +668,9 @@
|
|
|
429
668
|
--lace-modal-backdrop: var(--lace-color-black-alpha-60);
|
|
430
669
|
--lace-modal-shadow: var(--lace-shadow-xl);
|
|
431
670
|
|
|
432
|
-
/* ── Panel ── */
|
|
433
|
-
--lace-panel-shadow: 0 2px 12px var(--lace-color-black-alpha-35);
|
|
434
|
-
|
|
435
671
|
/* ── Input ── */
|
|
436
672
|
--lace-input-bg: var(--lace-color-bg-input);
|
|
437
|
-
--lace-input-border: var(--lace-color-border-
|
|
673
|
+
--lace-input-border: var(--lace-color-border-control);
|
|
438
674
|
--lace-input-border-hover: var(--lace-color-border-input-hover);
|
|
439
675
|
--lace-input-border-focus: var(--lace-color-focus-ring);
|
|
440
676
|
--lace-input-border-error: var(--lace-color-danger);
|
|
@@ -446,55 +682,12 @@
|
|
|
446
682
|
--lace-input-text: var(--lace-color-text-primary);
|
|
447
683
|
--lace-input-placeholder: var(--lace-color-text-muted);
|
|
448
684
|
|
|
449
|
-
/* ── ModeToggle ── */
|
|
450
|
-
--lace-mode-toggle-active-bg: var(--lace-btn-primary);
|
|
451
|
-
--lace-mode-toggle-active-border: var(--lace-btn-primary);
|
|
452
|
-
--lace-mode-toggle-active-text: var(--lace-btn-text-primary);
|
|
453
|
-
--lace-mode-toggle-inactive-bg: transparent;
|
|
454
|
-
--lace-mode-toggle-inactive-border: var(--lace-color-border-input);
|
|
455
|
-
--lace-mode-toggle-inactive-text: var(--lace-color-text-muted);
|
|
456
|
-
--lace-mode-toggle-inactive-hover-border: var(--lace-color-border-input-hover);
|
|
457
|
-
--lace-mode-toggle-inactive-hover-text: var(--lace-color-text-primary);
|
|
458
|
-
|
|
459
685
|
/* ── Toast ── */
|
|
460
686
|
--lace-toast-success-bg: var(--lace-color-teal-700);
|
|
461
687
|
--lace-toast-success-border: var(--lace-color-accent-alpha-medium);
|
|
462
688
|
--lace-toast-error-bg: var(--lace-color-red-800);
|
|
463
689
|
--lace-toast-error-border: var(--lace-color-red-alpha-30);
|
|
464
690
|
|
|
465
|
-
/* ── Badge ── */
|
|
466
|
-
--lace-badge-neutral-bg: transparent;
|
|
467
|
-
--lace-badge-neutral-border: var(--lace-color-border-default);
|
|
468
|
-
--lace-badge-neutral-text: var(--lace-color-text-muted);
|
|
469
|
-
--lace-badge-info-bg: var(--lace-color-tag-blue-bg);
|
|
470
|
-
--lace-badge-info-border: var(--lace-color-tag-blue-border);
|
|
471
|
-
--lace-badge-info-text: var(--lace-color-tag-blue-text);
|
|
472
|
-
--lace-badge-success-bg: var(--lace-color-green-bright-alpha-12);
|
|
473
|
-
--lace-badge-success-border: var(--lace-color-green-bright-alpha-35);
|
|
474
|
-
--lace-badge-success-text: var(--lace-color-success);
|
|
475
|
-
--lace-badge-danger-bg: transparent;
|
|
476
|
-
--lace-badge-danger-border: var(--lace-color-danger);
|
|
477
|
-
--lace-badge-danger-text: var(--lace-color-danger);
|
|
478
|
-
--lace-badge-warning-bg: var(--lace-color-warning-bg);
|
|
479
|
-
--lace-badge-warning-border: transparent;
|
|
480
|
-
--lace-badge-warning-text: var(--lace-color-warning-fg);
|
|
481
|
-
--lace-badge-purple-bg: rgba(176, 132, 240, 0.1);
|
|
482
|
-
--lace-badge-purple-border: rgba(176, 132, 240, 0.35);
|
|
483
|
-
--lace-badge-purple-text: var(--lace-color-purple-400);
|
|
484
|
-
/* Pink and orange carry CATEGORY, never severity. They are the two families
|
|
485
|
-
* with no claim above this tier, which is what qualifies them: a label that
|
|
486
|
-
* tells two members of one set apart must not borrow a hue that already means
|
|
487
|
-
* status (red, amber, green), scope (blue, purple) or brand (green, cyan). */
|
|
488
|
-
--lace-badge-pink-bg: rgba(242, 136, 198, 0.1);
|
|
489
|
-
--lace-badge-pink-border: rgba(242, 136, 198, 0.35);
|
|
490
|
-
--lace-badge-pink-text: var(--lace-color-pink-400);
|
|
491
|
-
--lace-badge-orange-bg: rgba(255, 138, 76, 0.1);
|
|
492
|
-
--lace-badge-orange-border: rgba(255, 138, 76, 0.35);
|
|
493
|
-
--lace-badge-orange-text: var(--lace-color-orange-400);
|
|
494
|
-
--lace-badge-gy-bg: var(--lace-color-green-500);
|
|
495
|
-
--lace-badge-gy-border: transparent;
|
|
496
|
-
--lace-badge-gy-text: var(--lace-color-text-on-accent);
|
|
497
|
-
|
|
498
691
|
/* ── Canvas nodes (inline-styled; tokens listed for completeness) ── */
|
|
499
692
|
/* A module call on the paper: a quiet card a step above the canvas, its
|
|
500
693
|
* header a step above the card, its name in the text colour — the accent
|
|
@@ -506,7 +699,13 @@
|
|
|
506
699
|
--lace-node-name: var(--lace-color-text-primary);
|
|
507
700
|
--lace-node-pin-label: var(--lace-color-text-description);
|
|
508
701
|
--lace-node-pin-label-wired: var(--lace-color-text-primary);
|
|
509
|
-
--lace-node-selected-ring: var(--lace-color-
|
|
702
|
+
--lace-node-selected-ring: var(--lace-color-ink);
|
|
703
|
+
/* A revision cloud around a card the Run in view changes: scallops of
|
|
704
|
+
* the ink on a band a step above the card, one reach wide. */
|
|
705
|
+
--lace-node-cloud-stroke: var(--lace-color-ink);
|
|
706
|
+
--lace-node-cloud-fill: var(--lace-color-bg-surface-alt);
|
|
707
|
+
--lace-node-cloud-reach: var(--lace-space-3);
|
|
708
|
+
--lace-node-cloud-scallop: var(--lace-space-3);
|
|
510
709
|
/* A group: a dashed container drawn on the paper, its name on a chip. */
|
|
511
710
|
--lace-group-border: var(--lace-color-border-input);
|
|
512
711
|
--lace-group-bg: var(--lace-color-white-alpha-03);
|
|
@@ -561,26 +760,18 @@
|
|
|
561
760
|
--lace-hover-outline: none;
|
|
562
761
|
/* The card a dragged connection would connect to is outlined; at high contrast in the
|
|
563
762
|
* active channel and a dashed shape, so the cue is not colour alone. */
|
|
564
|
-
--lace-node-drop-outline: 2px solid var(--lace-color-
|
|
763
|
+
--lace-node-drop-outline: 2px solid var(--lace-color-ink);
|
|
565
764
|
|
|
566
765
|
/* ── Canvas controls + minimap ── */
|
|
567
|
-
--lace-canvas-controls-bg: var(--lace-gunmetal);
|
|
568
|
-
--lace-canvas-controls-bg-hover: var(--lace-gunmetal-light);
|
|
569
|
-
--lace-canvas-controls-icon: var(--lace-color-accent);
|
|
570
|
-
--lace-canvas-controls-icon-hover: var(--lace-color-accent-strong);
|
|
571
|
-
--lace-canvas-controls-border: var(--lace-color-accent-alpha-medium);
|
|
572
766
|
--lace-canvas-minimap-bg: #111111;
|
|
573
|
-
--lace-canvas-minimap-border: var(--lace-color-border-default);
|
|
574
767
|
--lace-canvas-minimap-mask: var(--lace-color-black-alpha-60);
|
|
575
768
|
--lace-canvas-minimap-node: var(--lace-color-border-input);
|
|
576
|
-
--lace-canvas-edge-stroke: var(--lace-color-
|
|
577
|
-
--lace-canvas-edge-stroke-hover: var(--lace-color-accent-strong);
|
|
769
|
+
--lace-canvas-edge-stroke: color-mix(in srgb, var(--lace-color-ink) 50%, transparent);
|
|
578
770
|
--lace-canvas-edge-stroke-selected: var(--lace-color-accent-strong);
|
|
579
771
|
--lace-canvas-edge-stroke-width: 1.5px;
|
|
580
772
|
--lace-canvas-edge-stroke-width-selected: 2.5px;
|
|
581
773
|
--lace-canvas-edge-stroke-width-hover: 2px;
|
|
582
774
|
--lace-canvas-connection-stroke: #b1b1b7;
|
|
583
|
-
--lace-canvas-grid-dot: var(--lace-color-green-alpha-04);
|
|
584
775
|
|
|
585
776
|
/* ── Tooltip ──
|
|
586
777
|
* A floating label on the menus' floating surface; one declaration
|
|
@@ -591,22 +782,8 @@
|
|
|
591
782
|
--lace-tooltip-text-muted: var(--lace-color-text-muted);
|
|
592
783
|
|
|
593
784
|
/* ── Module detail panel ── */
|
|
594
|
-
--lace-accent-blue: var(--lace-color-blue-accent);
|
|
595
|
-
--lace-accent-green: var(--lace-color-success);
|
|
596
785
|
--lace-warning-bg: var(--lace-color-warning-bg);
|
|
597
786
|
--lace-warning-fg: var(--lace-color-warning-fg);
|
|
598
|
-
|
|
599
|
-
/* ── Policy sidebar ── */
|
|
600
|
-
--lace-policy-preview-badge-bg: var(--lace-color-white-alpha-06);
|
|
601
|
-
--lace-policy-section-divider: var(--lace-color-white-alpha-08);
|
|
602
|
-
--lace-policy-rule-fired-bg: var(--lace-color-amber-alpha-08);
|
|
603
|
-
--lace-policy-rule-default-bg: var(--lace-color-white-alpha-03);
|
|
604
|
-
--lace-policy-predicate-eval-bg: var(--lace-color-white-alpha-04);
|
|
605
|
-
|
|
606
|
-
/* ── Tag pill (prefer the Badge primitive) ── */
|
|
607
|
-
--lace-tag-border: var(--lace-color-tag-blue-border);
|
|
608
|
-
--lace-tag-bg: var(--lace-color-tag-blue-bg);
|
|
609
|
-
--lace-tag-text: var(--lace-color-tag-blue-text);
|
|
610
787
|
}
|
|
611
788
|
|
|
612
789
|
/* ══════════════════════════════════════════════════════════════════════
|
|
@@ -615,50 +792,43 @@
|
|
|
615
792
|
* Override Tier-2 semantic + Tier-3 component tokens for light surfaces.
|
|
616
793
|
* Tier-1 primitives (raw palette + alpha variants) stay theme-neutral.
|
|
617
794
|
* Apps opt in via `<html data-theme="light">`, or `high-contrast-light`, which
|
|
618
|
-
* takes these and the high-contrast remap below
|
|
619
|
-
* dark
|
|
795
|
+
* takes these and the high-contrast remap below. A nested surface may apply
|
|
796
|
+
* `[data-lace-dark-tokens]` to restore the dark semantic and component tokens.
|
|
620
797
|
* ══════════════════════════════════════════════════════════════════════ */
|
|
621
798
|
|
|
622
799
|
[data-theme="light"],
|
|
623
|
-
[data-theme="high-contrast-light"]
|
|
800
|
+
[data-theme="high-contrast-light"],
|
|
801
|
+
[data-theme="light"] [data-lace-paper="blueprint"],
|
|
802
|
+
[data-theme="high-contrast-light"] [data-lace-paper="blueprint"] {
|
|
624
803
|
/* ── Tier-2: Surface ── */
|
|
625
|
-
--lace-color-bg-canvas:
|
|
626
|
-
--lace-color-bg-surface:
|
|
627
|
-
--lace-color-bg-surface-alt:
|
|
804
|
+
--lace-color-bg-canvas: var(--lace-color-warm-50);
|
|
805
|
+
--lace-color-bg-surface: var(--lace-color-neutral-white);
|
|
806
|
+
--lace-color-bg-surface-alt: var(--lace-color-warm-100);
|
|
628
807
|
--lace-color-bg-input: #ffffff;
|
|
629
808
|
--lace-color-bg-context-menu: #ffffff;
|
|
630
809
|
|
|
631
810
|
/* ── Tier-2: Border ── */
|
|
632
|
-
--lace-color-border-default:
|
|
811
|
+
--lace-color-border-default: var(--lace-color-neutral-900-alpha-10);
|
|
633
812
|
--lace-color-border-subtle: #e2e8f0;
|
|
634
|
-
--lace-color-border-input:
|
|
635
|
-
|
|
813
|
+
--lace-color-border-input: var(--lace-color-neutral-900-alpha-20);
|
|
814
|
+
/* A text control's resting edge, 3:1 by WCAG 2.2 SC 1.4.11: #7a7a7a is 3.99:1 on bg-canvas,
|
|
815
|
+
* 4.29:1 on bg-surface and bg-input, 3.85:1 on bg-surface-alt. Hover darkens it further. */
|
|
816
|
+
--lace-color-border-control: #7a7a7a;
|
|
817
|
+
--lace-color-border-input-hover: #4b5563;
|
|
636
818
|
|
|
637
819
|
/* ── Tier-2: Text ── */
|
|
638
|
-
--lace-color-text-primary:
|
|
820
|
+
--lace-color-text-primary: var(--lace-color-neutral-900);
|
|
639
821
|
--lace-color-text-label: #1f2937;
|
|
640
|
-
--lace-color-text-muted:
|
|
641
|
-
--lace-color-text-description:
|
|
642
|
-
--lace-color-text-accent: #3d6600;
|
|
643
|
-
--lace-color-text-link: var(--lace-color-blue-deep-700);
|
|
822
|
+
--lace-color-text-muted: var(--lace-color-warm-600);
|
|
823
|
+
--lace-color-text-description: var(--lace-color-warm-700);
|
|
644
824
|
--lace-color-text-danger: #dc2626;
|
|
645
825
|
--lace-color-text-danger-soft: #ef4444;
|
|
646
|
-
--lace-color-text-faint: #94a3b8;
|
|
647
826
|
|
|
648
827
|
/* ── Tier-2: Row ── */
|
|
649
828
|
--lace-color-row-hover: rgba(0, 0, 0, 0.02);
|
|
650
829
|
|
|
651
|
-
/* ── Tier-2:
|
|
652
|
-
--lace-color-
|
|
653
|
-
--lace-color-badge-purple-bg: #faf5ff;
|
|
654
|
-
|
|
655
|
-
/* ── Tier-2: Accent ──
|
|
656
|
-
* Two-color brand system in light: --lace-color-green-500 (Tier-1,
|
|
657
|
-
* theme-neutral #cefe65) stays bright lime for brand stamps / glow
|
|
658
|
-
* effects on dark text-on-lime patches; --lace-color-accent (this
|
|
659
|
-
* Tier-2) darkens to #3d6600 for icons / accent text where neon lime
|
|
660
|
-
* would be illegible on white. Both are intentional. */
|
|
661
|
-
--lace-color-accent: #3d6600;
|
|
830
|
+
/* ── Tier-2: Accent (the fill stays lime; ink darkens to olive) ── */
|
|
831
|
+
--lace-color-ink: var(--lace-color-green-800);
|
|
662
832
|
--lace-color-accent-alpha-subtle: rgba(132, 204, 22, 0.08);
|
|
663
833
|
--lace-color-accent-alpha-medium: rgba(132, 204, 22, 0.16);
|
|
664
834
|
--lace-color-accent-strong: #2d4a00;
|
|
@@ -666,7 +836,6 @@
|
|
|
666
836
|
/* ── Tier-2: Status ── */
|
|
667
837
|
--lace-color-success: var(--lace-color-green-deep-700);
|
|
668
838
|
--lace-color-success-hover: var(--lace-color-green-deep-800);
|
|
669
|
-
--lace-color-success-strong: var(--lace-color-green-deep-900);
|
|
670
839
|
--lace-color-danger: #dc2626;
|
|
671
840
|
--lace-color-danger-bg-soft: #fef2f2;
|
|
672
841
|
/* Darker than the dark theme's, not lighter — the light theme's danger text
|
|
@@ -676,17 +845,7 @@
|
|
|
676
845
|
--lace-color-danger-fg: #b91c1c;
|
|
677
846
|
--lace-color-warning-bg: #fffbeb;
|
|
678
847
|
--lace-color-warning-fg: var(--lace-color-amber-deep-700);
|
|
679
|
-
|
|
680
|
-
/* ── Tier-2: Scope chip ── */
|
|
681
|
-
--lace-scope-org-bg: #eff6ff;
|
|
682
|
-
--lace-scope-org-fg: var(--lace-color-blue-deep-700);
|
|
683
|
-
--lace-scope-org-border: #bfdbfe;
|
|
684
|
-
--lace-scope-team-bg: #ecfdf5;
|
|
685
|
-
--lace-scope-team-fg: var(--lace-color-green-deep-700);
|
|
686
|
-
--lace-scope-team-border: #a7f3d0;
|
|
687
|
-
--lace-scope-aggregate-bg: #faf5ff;
|
|
688
|
-
--lace-scope-aggregate-fg: var(--lace-color-purple-700);
|
|
689
|
-
--lace-scope-aggregate-border: #e9d5ff;
|
|
848
|
+
--lace-color-info: var(--lace-color-blue-deep-700);
|
|
690
849
|
|
|
691
850
|
/* ── Tier-2: Forbidden state ── */
|
|
692
851
|
--lace-forbidden-bg: #f1f5f9;
|
|
@@ -694,17 +853,20 @@
|
|
|
694
853
|
--lace-forbidden-border: #cbd5e1;
|
|
695
854
|
--lace-forbidden-icon: #64748b;
|
|
696
855
|
|
|
697
|
-
/* ── Tier-2: Aggregate banner ── */
|
|
698
|
-
--lace-banner-aggregate-bg: #faf5ff;
|
|
699
|
-
--lace-banner-aggregate-fg: var(--lace-color-purple-700);
|
|
700
|
-
--lace-banner-aggregate-border: #e9d5ff;
|
|
701
|
-
|
|
702
856
|
/* ── Tier-2: Severity banner (bg/fg cascade from the status tokens) ── */
|
|
703
857
|
--lace-banner-warning-border: #fde68a;
|
|
704
858
|
--lace-banner-error-border: #fecaca;
|
|
705
859
|
|
|
706
860
|
/* ── Tier-2: Focus ── */
|
|
707
|
-
--lace-color-focus-ring: var(--lace-color-
|
|
861
|
+
--lace-color-focus-ring: var(--lace-color-ink);
|
|
862
|
+
|
|
863
|
+
/* ── Tier-2: Series (each hue's darker stroke) ── */
|
|
864
|
+
--lace-color-series-1: var(--lace-color-cyan-700);
|
|
865
|
+
--lace-color-series-2: var(--lace-color-purple-700);
|
|
866
|
+
--lace-color-series-3: var(--lace-color-amber-600);
|
|
867
|
+
--lace-color-series-4: var(--lace-color-pink-700);
|
|
868
|
+
--lace-color-series-5: var(--lace-color-orange-700);
|
|
869
|
+
--lace-color-series-6: var(--lace-color-green-700);
|
|
708
870
|
|
|
709
871
|
/* ── Tier-2: Paper grid (ink-on-white instead of green-on-dark) ── */
|
|
710
872
|
--lace-paper-thread-fine: var(--lace-color-neutral-900-alpha-04);
|
|
@@ -721,15 +883,7 @@
|
|
|
721
883
|
--lace-btn-primary-dim: var(--lace-color-green-300);
|
|
722
884
|
--lace-btn-secondary-bg: #f1f5f9;
|
|
723
885
|
--lace-btn-secondary-hover: #e2e8f0;
|
|
724
|
-
--lace-btn-danger-bg: #fef2f2;
|
|
725
|
-
--lace-btn-danger-hover: #fee2e2;
|
|
726
886
|
--lace-btn-text-disabled: rgba(0, 0, 0, 0.35);
|
|
727
|
-
/* btn-success points at success base (deep-700, ~7:1 with white)
|
|
728
|
-
* rather than success-strong (deep-900, too dark). Dark theme uses
|
|
729
|
-
* success-strong for white-text contrast on dark surfaces; light
|
|
730
|
-
* gets the conventional emerald-700 success-action hue. */
|
|
731
|
-
--lace-btn-success: var(--lace-color-success);
|
|
732
|
-
/* btn-success-hover cascades correctly via success-hover */
|
|
733
887
|
|
|
734
888
|
/* ── Tier-3: Toast (alpha-over-dark won't work on light) ── */
|
|
735
889
|
--lace-toast-success-bg: #ecfdf5;
|
|
@@ -737,35 +891,6 @@
|
|
|
737
891
|
--lace-toast-error-bg: #fef2f2;
|
|
738
892
|
--lace-toast-error-border: #fecaca;
|
|
739
893
|
|
|
740
|
-
/* ── Tier-3: Badge (light-friendly bg/border) ──
|
|
741
|
-
* Success/danger text cascade from Tier-2; only the bg/border
|
|
742
|
-
* pairs need explicit light values (alpha-over-dark would be
|
|
743
|
-
* invisible on white). */
|
|
744
|
-
--lace-badge-neutral-text: #64748b;
|
|
745
|
-
--lace-badge-info-bg: #eff6ff;
|
|
746
|
-
--lace-badge-info-border: #bfdbfe;
|
|
747
|
-
--lace-badge-info-text: var(--lace-color-blue-deep-700);
|
|
748
|
-
--lace-badge-success-bg: #ecfdf5;
|
|
749
|
-
--lace-badge-success-border: #a7f3d0;
|
|
750
|
-
--lace-badge-danger-bg: transparent;
|
|
751
|
-
--lace-badge-warning-bg: var(--lace-color-warning-bg);
|
|
752
|
-
--lace-badge-warning-border: var(--lace-color-amber-deep-700);
|
|
753
|
-
--lace-badge-warning-text: var(--lace-color-amber-deep-700);
|
|
754
|
-
--lace-badge-purple-bg: #faf5ff;
|
|
755
|
-
--lace-badge-purple-border: #e9d5ff;
|
|
756
|
-
--lace-badge-purple-text: var(--lace-color-purple-700);
|
|
757
|
-
--lace-badge-pink-bg: #fdf2f8;
|
|
758
|
-
--lace-badge-pink-border: #fbcfe8;
|
|
759
|
-
--lace-badge-pink-text: var(--lace-color-pink-700);
|
|
760
|
-
--lace-badge-orange-bg: #fff7ed;
|
|
761
|
-
--lace-badge-orange-border: #fed7aa;
|
|
762
|
-
--lace-badge-orange-text: var(--lace-color-orange-700);
|
|
763
|
-
--lace-badge-gy-bg: var(--lace-color-green-500);
|
|
764
|
-
--lace-badge-gy-border: transparent;
|
|
765
|
-
--lace-badge-gy-text: var(--lace-color-text-on-accent);
|
|
766
|
-
|
|
767
|
-
/* ── Tier-3: ModeToggle (cascades from --lace-btn-primary above) ── */
|
|
768
|
-
|
|
769
894
|
/* ── Tier-3: Canvas pin rings (3:1 against the card) ── */
|
|
770
895
|
--lace-pin-string-ring: var(--lace-pin-string-stroke);
|
|
771
896
|
--lace-pin-number-ring: var(--lace-pin-number-stroke);
|
|
@@ -776,36 +901,73 @@
|
|
|
776
901
|
--lace-pin-any-ring: var(--lace-pin-any-stroke);
|
|
777
902
|
|
|
778
903
|
/* ── Tier-3: Canvas controls + minimap ── */
|
|
779
|
-
--lace-canvas-controls-bg: #f8fafc;
|
|
780
|
-
--lace-canvas-controls-bg-hover: #e2e8f0;
|
|
781
|
-
--lace-canvas-controls-icon: #3d6600;
|
|
782
|
-
--lace-canvas-controls-icon-hover: #2d4a00;
|
|
783
|
-
--lace-canvas-controls-border: rgba(132, 204, 22, 0.24);
|
|
784
904
|
--lace-canvas-minimap-bg: #ffffff;
|
|
785
|
-
--lace-canvas-minimap-border: #cbd5e1;
|
|
786
905
|
--lace-canvas-minimap-mask: rgba(0, 0, 0, 0.08);
|
|
787
|
-
--lace-canvas-edge-stroke: var(--lace-color-
|
|
788
|
-
--lace-canvas-edge-stroke-hover: #2d4a00;
|
|
906
|
+
--lace-canvas-edge-stroke: var(--lace-color-ink);
|
|
789
907
|
--lace-canvas-edge-stroke-selected: #2d4a00;
|
|
790
|
-
--lace-canvas-grid-dot: rgba(0, 0, 0, 0.06);
|
|
791
908
|
--lace-group-bg: var(--lace-color-neutral-900-alpha-04);
|
|
909
|
+
}
|
|
792
910
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
911
|
+
/* ══════════════════════════════════════════════════════════════════════
|
|
912
|
+
* BLUEPRINT
|
|
913
|
+
*
|
|
914
|
+
* The paper the past is drawn on. `[data-lace-paper="blueprint"]` on a region's
|
|
915
|
+
* root (the kit's `BlueprintRegion`) re-points, in every theme, the paper's
|
|
916
|
+
* ground, its threads and the ink to one blue, so a page drawn as of an earlier
|
|
917
|
+
* revision cannot pass for now:
|
|
918
|
+
* - A blueprint is a contact print of a drawing as it stood: white lines on a
|
|
919
|
+
* Prussian-blue ground (Herschel's cyanotype, 1842), a copy that holds no
|
|
920
|
+
* colour of its own. So the region keeps the drawing (its pitch, 20 and
|
|
921
|
+
* 100 px, and its thread width, one device pixel on a 2x screen and 1px on
|
|
922
|
+
* 1x, are the paper recipe's) and draws it in the one blueprint ink: the
|
|
923
|
+
* brand's lime, which marks what is selected, what acts and what needs
|
|
924
|
+
* you, is not on it.
|
|
925
|
+
* https://en.wikipedia.org/wiki/Blueprint
|
|
926
|
+
* - Time Machine draws its timeline down the screen's right edge and marks the
|
|
927
|
+
* selected backup on it; Figma shows a version as a snapshot to pan, left
|
|
928
|
+
* by "Edit current version"; Google Docs' version view returns by "Back".
|
|
929
|
+
* Each draws the past apart from the document and names one way back,
|
|
930
|
+
* which the revision rule, the as-of banner and Back to now (Esc) take.
|
|
931
|
+
* https://support.apple.com/guide/mac-help/restore-files-mh11422/mac
|
|
932
|
+
* https://help.figma.com/hc/en-us/articles/360038006754-View-a-file-s-version-history
|
|
933
|
+
* https://support.google.com/docs/answer/190843
|
|
934
|
+
* The region is a theme scope, as `[data-lace-dark-tokens]` is: it is listed with :root
|
|
935
|
+
* in the semantic and component tiers, with the light themes in the light block and in
|
|
936
|
+
* the high-contrast remap, so every alias recomputes on the region from what the region
|
|
937
|
+
* re-points, rather than inheriting the value :root computed. The re-points below come
|
|
938
|
+
* after the light block and outrank it, so they hold in every theme; the high-contrast
|
|
939
|
+
* remap comes after them, so a high-contrast theme keeps its edges and rings and draws
|
|
940
|
+
* no threads here.
|
|
941
|
+
* ══════════════════════════════════════════════════════════════════════ */
|
|
942
|
+
|
|
943
|
+
[data-lace-paper="blueprint"],
|
|
944
|
+
[data-theme="light"] [data-lace-paper="blueprint"],
|
|
945
|
+
[data-theme="light"][data-lace-paper="blueprint"],
|
|
946
|
+
[data-theme="high-contrast-light"] [data-lace-paper="blueprint"],
|
|
947
|
+
[data-theme="high-contrast-light"][data-lace-paper="blueprint"] {
|
|
948
|
+
--lace-color-bg-canvas: var(--lace-color-cool-900);
|
|
949
|
+
--lace-paper-thread-fine: var(--lace-color-blue-accent-alpha-05);
|
|
950
|
+
--lace-paper-thread-major: var(--lace-color-blue-accent-alpha-11);
|
|
951
|
+
--lace-color-ink: var(--lace-color-blue-accent);
|
|
952
|
+
/* The accent is the ink: nothing on the blueprint is lime, and a fill drawn on it is the
|
|
953
|
+
* ink's, its tints the ink's at the accent's strengths. */
|
|
954
|
+
--lace-color-accent: var(--lace-color-ink);
|
|
955
|
+
--lace-color-accent-alpha-subtle: color-mix(in srgb, var(--lace-color-ink) 10%, transparent);
|
|
956
|
+
--lace-color-accent-alpha-medium: color-mix(in srgb, var(--lace-color-ink) 20%, transparent);
|
|
957
|
+
--lace-color-accent-strong: var(--lace-color-ink);
|
|
958
|
+
/* The label on the ink is the ground: dark on the dark theme's light blue, light on the
|
|
959
|
+
* light theme's deep one. */
|
|
960
|
+
--lace-color-text-on-accent: var(--lace-color-bg-canvas);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
[data-theme="light"] [data-lace-paper="blueprint"],
|
|
964
|
+
[data-theme="light"][data-lace-paper="blueprint"],
|
|
965
|
+
[data-theme="high-contrast-light"] [data-lace-paper="blueprint"],
|
|
966
|
+
[data-theme="high-contrast-light"][data-lace-paper="blueprint"] {
|
|
967
|
+
--lace-color-bg-canvas: var(--lace-color-cool-100);
|
|
968
|
+
--lace-paper-thread-fine: var(--lace-color-blue-deep-alpha-07);
|
|
969
|
+
--lace-paper-thread-major: var(--lace-color-blue-deep-alpha-14);
|
|
970
|
+
--lace-color-ink: var(--lace-color-blue-deep-800);
|
|
809
971
|
}
|
|
810
972
|
|
|
811
973
|
/* ══════════════════════════════════════════════════════════════════════
|
|
@@ -828,31 +990,30 @@
|
|
|
828
990
|
}
|
|
829
991
|
|
|
830
992
|
[data-theme="high-contrast"],
|
|
831
|
-
[data-theme="high-contrast-light"]
|
|
993
|
+
[data-theme="high-contrast-light"],
|
|
994
|
+
[data-theme="high-contrast"] [data-lace-dark-tokens],
|
|
995
|
+
[data-theme="high-contrast-light"] [data-lace-dark-tokens],
|
|
996
|
+
[data-theme="high-contrast"] [data-lace-paper="blueprint"],
|
|
997
|
+
[data-theme="high-contrast"][data-lace-paper="blueprint"],
|
|
998
|
+
[data-theme="high-contrast-light"] [data-lace-paper="blueprint"],
|
|
999
|
+
[data-theme="high-contrast-light"][data-lace-paper="blueprint"] {
|
|
832
1000
|
--lace-color-border-default: var(--lace-hc-edge);
|
|
833
1001
|
--lace-color-border-subtle: var(--lace-hc-edge);
|
|
834
1002
|
--lace-color-border-input: var(--lace-hc-edge);
|
|
1003
|
+
--lace-color-border-control: var(--lace-hc-edge);
|
|
835
1004
|
--lace-color-border-input-hover: var(--lace-hc-edge);
|
|
836
1005
|
--lace-color-focus-ring: var(--lace-hc-focus);
|
|
837
1006
|
--lace-group-border: var(--lace-hc-edge);
|
|
838
1007
|
--lace-forbidden-border: var(--lace-hc-edge);
|
|
839
1008
|
--lace-card-border: var(--lace-hc-edge);
|
|
840
|
-
--lace-
|
|
841
|
-
--lace-badge-info-border: var(--lace-hc-edge);
|
|
842
|
-
--lace-badge-purple-border: var(--lace-hc-edge);
|
|
843
|
-
--lace-badge-success-border: var(--lace-hc-edge);
|
|
844
|
-
--lace-badge-warning-border: var(--lace-hc-edge);
|
|
1009
|
+
--lace-color-accent-edge: var(--lace-hc-edge);
|
|
845
1010
|
--lace-banner-error-border: var(--lace-hc-edge);
|
|
846
1011
|
--lace-banner-warning-border: var(--lace-hc-edge);
|
|
847
|
-
--lace-mode-toggle-active-border: var(--lace-hc-edge);
|
|
848
1012
|
--lace-toast-error-border: var(--lace-hc-edge);
|
|
849
1013
|
--lace-toast-success-border: var(--lace-hc-edge);
|
|
850
1014
|
--lace-node-rename-border: var(--lace-hc-edge);
|
|
851
1015
|
--lace-green: var(--lace-hc-active);
|
|
852
|
-
--lace-canvas-controls-border: var(--lace-hc-edge);
|
|
853
|
-
--lace-canvas-minimap-border: var(--lace-hc-edge);
|
|
854
1016
|
--lace-canvas-edge-stroke: var(--lace-hc-edge);
|
|
855
|
-
--lace-canvas-edge-stroke-hover: var(--lace-hc-active);
|
|
856
1017
|
--lace-canvas-edge-stroke-selected: var(--lace-hc-active);
|
|
857
1018
|
--lace-canvas-connection-stroke: var(--lace-hc-active);
|
|
858
1019
|
--lace-node-selected-ring: var(--lace-hc-active);
|
|
@@ -860,6 +1021,8 @@
|
|
|
860
1021
|
--lace-node-new-border: var(--lace-hc-edge);
|
|
861
1022
|
--lace-node-bg: var(--lace-hc-surface);
|
|
862
1023
|
--lace-node-header-bg: var(--lace-hc-surface);
|
|
1024
|
+
--lace-node-cloud-stroke: var(--lace-hc-edge);
|
|
1025
|
+
--lace-node-cloud-fill: var(--lace-hc-surface);
|
|
863
1026
|
--lace-paper-thread-fine: transparent;
|
|
864
1027
|
--lace-paper-thread-major: transparent;
|
|
865
1028
|
--lace-pin-string-ring: var(--lace-hc-edge);
|
|
@@ -905,17 +1068,26 @@
|
|
|
905
1068
|
* without requiring each component to restate them.
|
|
906
1069
|
* ══════════════════════════════════════════════════════════════════════ */
|
|
907
1070
|
|
|
1071
|
+
/* The root sets no font size, so a rem is the reader's own default and a length spelled in rems
|
|
1072
|
+
* (a Tailwind step: `p-4`, `h-6`) draws the size it names. */
|
|
908
1073
|
html,
|
|
909
1074
|
body {
|
|
910
|
-
font-family: var(--lace-font-sans);
|
|
911
|
-
font-size: var(--lace-font-size-md);
|
|
912
|
-
line-height: var(--lace-line-height-normal);
|
|
913
1075
|
color: var(--lace-color-text-primary);
|
|
914
1076
|
background: var(--lace-color-bg-canvas);
|
|
915
1077
|
-webkit-font-smoothing: antialiased;
|
|
916
1078
|
-moz-osx-font-smoothing: grayscale;
|
|
917
1079
|
}
|
|
918
1080
|
|
|
1081
|
+
/* Text with no role of its own reads the body role of the set it sits in: the document's body,
|
|
1082
|
+
* and the root of every region inside it that declares a set (the canvas, a prose region, a
|
|
1083
|
+
* figure, a floating layer), so the text there takes that set's body, not the one it inherits.
|
|
1084
|
+
* A part names a role only where its text is not body. */
|
|
1085
|
+
body,
|
|
1086
|
+
[data-lace-type-set]:not(:root) {
|
|
1087
|
+
font: var(--lace-text-body);
|
|
1088
|
+
letter-spacing: var(--lace-text-body-tracking);
|
|
1089
|
+
}
|
|
1090
|
+
|
|
919
1091
|
*,
|
|
920
1092
|
*::before,
|
|
921
1093
|
*::after {
|
|
@@ -944,6 +1116,15 @@ body {
|
|
|
944
1116
|
* `.lace-paper-layers` on an element that positions itself and only
|
|
945
1117
|
* wants the grid recipe.
|
|
946
1118
|
*
|
|
1119
|
+
* `.lace-paper-frame` — THE FRAME, applied with `.lace-paper` on the shell
|
|
1120
|
+
* root: a mask that keeps the paper full at the window's edges, at 60%
|
|
1121
|
+
* strength to `--lace-paper-frame-hold` and gone at
|
|
1122
|
+
* `--lace-paper-frame-depth` from each edge.
|
|
1123
|
+
*
|
|
1124
|
+
* `.lace-paper-vignette` — THE VIGNETTE, applied with `.lace-paper-layers`
|
|
1125
|
+
* behind a centred column: a mask that clears the column's middle and
|
|
1126
|
+
* keeps the paper at the box's edges.
|
|
1127
|
+
*
|
|
947
1128
|
* The canvas mounts `.lace-paper-layers` on a layer filling its flow pane
|
|
948
1129
|
* behind the graph, at the shell paper's own pitch and threads: a backdrop
|
|
949
1130
|
* that stays put while the graph pans and zooms over it
|
|
@@ -993,6 +1174,61 @@ body {
|
|
|
993
1174
|
pointer-events: none;
|
|
994
1175
|
}
|
|
995
1176
|
|
|
1177
|
+
/* Two masks, across then down, added together: each is opaque at its two edges. */
|
|
1178
|
+
.lace-paper-frame {
|
|
1179
|
+
-webkit-mask-image:
|
|
1180
|
+
linear-gradient(
|
|
1181
|
+
90deg,
|
|
1182
|
+
var(--lace-color-neutral-black),
|
|
1183
|
+
var(--lace-color-black-alpha-60) var(--lace-paper-frame-hold),
|
|
1184
|
+
transparent var(--lace-paper-frame-depth),
|
|
1185
|
+
transparent calc(100% - var(--lace-paper-frame-depth)),
|
|
1186
|
+
var(--lace-color-black-alpha-60) calc(100% - var(--lace-paper-frame-hold)),
|
|
1187
|
+
var(--lace-color-neutral-black)
|
|
1188
|
+
),
|
|
1189
|
+
linear-gradient(
|
|
1190
|
+
var(--lace-color-neutral-black),
|
|
1191
|
+
var(--lace-color-black-alpha-60) var(--lace-paper-frame-hold),
|
|
1192
|
+
transparent var(--lace-paper-frame-depth),
|
|
1193
|
+
transparent calc(100% - var(--lace-paper-frame-depth)),
|
|
1194
|
+
var(--lace-color-black-alpha-60) calc(100% - var(--lace-paper-frame-hold)),
|
|
1195
|
+
var(--lace-color-neutral-black)
|
|
1196
|
+
);
|
|
1197
|
+
mask-image:
|
|
1198
|
+
linear-gradient(
|
|
1199
|
+
90deg,
|
|
1200
|
+
var(--lace-color-neutral-black),
|
|
1201
|
+
var(--lace-color-black-alpha-60) var(--lace-paper-frame-hold),
|
|
1202
|
+
transparent var(--lace-paper-frame-depth),
|
|
1203
|
+
transparent calc(100% - var(--lace-paper-frame-depth)),
|
|
1204
|
+
var(--lace-color-black-alpha-60) calc(100% - var(--lace-paper-frame-hold)),
|
|
1205
|
+
var(--lace-color-neutral-black)
|
|
1206
|
+
),
|
|
1207
|
+
linear-gradient(
|
|
1208
|
+
var(--lace-color-neutral-black),
|
|
1209
|
+
var(--lace-color-black-alpha-60) var(--lace-paper-frame-hold),
|
|
1210
|
+
transparent var(--lace-paper-frame-depth),
|
|
1211
|
+
transparent calc(100% - var(--lace-paper-frame-depth)),
|
|
1212
|
+
var(--lace-color-black-alpha-60) calc(100% - var(--lace-paper-frame-hold)),
|
|
1213
|
+
var(--lace-color-neutral-black)
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
/* The paper behind a centred column: gone across the column's middle, full from 80% of the
|
|
1218
|
+
* way out, so the threads frame the content and never cross it. */
|
|
1219
|
+
.lace-paper-vignette {
|
|
1220
|
+
-webkit-mask-image: radial-gradient(
|
|
1221
|
+
ellipse 55% 50% at 50% 50%,
|
|
1222
|
+
transparent 40%,
|
|
1223
|
+
var(--lace-color-neutral-black) 80%
|
|
1224
|
+
);
|
|
1225
|
+
mask-image: radial-gradient(
|
|
1226
|
+
ellipse 55% 50% at 50% 50%,
|
|
1227
|
+
transparent 40%,
|
|
1228
|
+
var(--lace-color-neutral-black) 80%
|
|
1229
|
+
);
|
|
1230
|
+
}
|
|
1231
|
+
|
|
996
1232
|
@media (forced-colors: active), print {
|
|
997
1233
|
.lace-paper,
|
|
998
1234
|
.lace-paper-layers {
|
|
@@ -1003,7 +1239,9 @@ body {
|
|
|
1003
1239
|
/* Windows forced colours: the high-contrast remap above, on system colours, for every theme.
|
|
1004
1240
|
* It is the last rule so it outranks each theme block at equal specificity. */
|
|
1005
1241
|
@media (forced-colors: active) {
|
|
1006
|
-
:root
|
|
1242
|
+
:root,
|
|
1243
|
+
[data-lace-dark-tokens],
|
|
1244
|
+
[data-lace-paper="blueprint"] {
|
|
1007
1245
|
--lace-hc-edge: CanvasText;
|
|
1008
1246
|
--lace-hc-active: Highlight;
|
|
1009
1247
|
--lace-hc-focus: Highlight;
|
|
@@ -1011,27 +1249,20 @@ body {
|
|
|
1011
1249
|
--lace-color-border-default: var(--lace-hc-edge);
|
|
1012
1250
|
--lace-color-border-subtle: var(--lace-hc-edge);
|
|
1013
1251
|
--lace-color-border-input: var(--lace-hc-edge);
|
|
1252
|
+
--lace-color-border-control: var(--lace-hc-edge);
|
|
1014
1253
|
--lace-color-border-input-hover: var(--lace-hc-edge);
|
|
1015
1254
|
--lace-color-focus-ring: var(--lace-hc-focus);
|
|
1016
1255
|
--lace-group-border: var(--lace-hc-edge);
|
|
1017
1256
|
--lace-forbidden-border: var(--lace-hc-edge);
|
|
1018
1257
|
--lace-card-border: var(--lace-hc-edge);
|
|
1019
|
-
--lace-
|
|
1020
|
-
--lace-badge-info-border: var(--lace-hc-edge);
|
|
1021
|
-
--lace-badge-purple-border: var(--lace-hc-edge);
|
|
1022
|
-
--lace-badge-success-border: var(--lace-hc-edge);
|
|
1023
|
-
--lace-badge-warning-border: var(--lace-hc-edge);
|
|
1258
|
+
--lace-color-accent-edge: var(--lace-hc-edge);
|
|
1024
1259
|
--lace-banner-error-border: var(--lace-hc-edge);
|
|
1025
1260
|
--lace-banner-warning-border: var(--lace-hc-edge);
|
|
1026
|
-
--lace-mode-toggle-active-border: var(--lace-hc-edge);
|
|
1027
1261
|
--lace-toast-error-border: var(--lace-hc-edge);
|
|
1028
1262
|
--lace-toast-success-border: var(--lace-hc-edge);
|
|
1029
1263
|
--lace-node-rename-border: var(--lace-hc-edge);
|
|
1030
1264
|
--lace-green: var(--lace-hc-active);
|
|
1031
|
-
--lace-canvas-controls-border: var(--lace-hc-edge);
|
|
1032
|
-
--lace-canvas-minimap-border: var(--lace-hc-edge);
|
|
1033
1265
|
--lace-canvas-edge-stroke: var(--lace-hc-edge);
|
|
1034
|
-
--lace-canvas-edge-stroke-hover: var(--lace-hc-active);
|
|
1035
1266
|
--lace-canvas-edge-stroke-selected: var(--lace-hc-active);
|
|
1036
1267
|
--lace-canvas-connection-stroke: var(--lace-hc-active);
|
|
1037
1268
|
--lace-node-selected-ring: var(--lace-hc-active);
|
|
@@ -1039,6 +1270,8 @@ body {
|
|
|
1039
1270
|
--lace-node-new-border: var(--lace-hc-edge);
|
|
1040
1271
|
--lace-node-bg: var(--lace-hc-surface);
|
|
1041
1272
|
--lace-node-header-bg: var(--lace-hc-surface);
|
|
1273
|
+
--lace-node-cloud-stroke: var(--lace-hc-edge);
|
|
1274
|
+
--lace-node-cloud-fill: var(--lace-hc-surface);
|
|
1042
1275
|
--lace-paper-thread-fine: transparent;
|
|
1043
1276
|
--lace-paper-thread-major: transparent;
|
|
1044
1277
|
--lace-pin-string-ring: var(--lace-hc-edge);
|