@lace-cloud/design-tokens 0.16.1 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tokens.css +12 -21
package/package.json
CHANGED
package/tokens.css
CHANGED
|
@@ -189,7 +189,8 @@
|
|
|
189
189
|
|
|
190
190
|
/* ── Font family ── */
|
|
191
191
|
--lace-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
|
|
192
|
-
--lace-font-mono:
|
|
192
|
+
--lace-font-mono:
|
|
193
|
+
"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
193
194
|
|
|
194
195
|
/* ── Scale: radius ── */
|
|
195
196
|
--lace-radius-sm: 4px;
|
|
@@ -208,6 +209,8 @@
|
|
|
208
209
|
--lace-z-chrome: 10; /* action bar, toast, banner */
|
|
209
210
|
--lace-z-scrim: 40; /* context-menu dismiss overlay */
|
|
210
211
|
--lace-z-overlay: 50; /* context menu, modal */
|
|
212
|
+
/* portalled dropdown, over the modal it opens from */
|
|
213
|
+
--lace-z-popover: calc(var(--lace-z-overlay) + 1);
|
|
211
214
|
--lace-z-tooltip: 60;
|
|
212
215
|
|
|
213
216
|
/* ── Motion ── */
|
|
@@ -320,13 +323,13 @@
|
|
|
320
323
|
/* ══════════════════════════════════════════════════════════════════════
|
|
321
324
|
* TIER 3 — COMPONENT
|
|
322
325
|
*
|
|
323
|
-
* Specific-to-component tokens
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
+
* Specific-to-component tokens: names composites reference directly.
|
|
327
|
+
* New components should prefer semantic tokens unless they need
|
|
328
|
+
* component-specific colors.
|
|
326
329
|
* ══════════════════════════════════════════════════════════════════════ */
|
|
327
330
|
|
|
328
331
|
:root {
|
|
329
|
-
/* ── Brand aliases (
|
|
332
|
+
/* ── Brand aliases (prefer semantic tokens) ── */
|
|
330
333
|
--lace-green: var(--lace-color-green-500);
|
|
331
334
|
--lace-green-bright: var(--lace-color-green-300);
|
|
332
335
|
--lace-gunmetal: var(--lace-color-teal-700);
|
|
@@ -335,7 +338,7 @@
|
|
|
335
338
|
--lace-cyan: var(--lace-color-cyan-500);
|
|
336
339
|
--lace-grey: var(--lace-color-neutral-100);
|
|
337
340
|
|
|
338
|
-
/* ── Surface aliases (
|
|
341
|
+
/* ── Surface aliases (prefer semantic tokens) ── */
|
|
339
342
|
--lace-bg-surface: var(--lace-color-bg-surface);
|
|
340
343
|
--lace-bg-surface-alt: var(--lace-color-bg-surface-alt);
|
|
341
344
|
--lace-bg-input: var(--lace-color-bg-input);
|
|
@@ -345,7 +348,7 @@
|
|
|
345
348
|
--lace-border-input-hover: var(--lace-color-border-input-hover);
|
|
346
349
|
--lace-border-subtle: var(--lace-color-border-subtle);
|
|
347
350
|
|
|
348
|
-
/* ── Text aliases (
|
|
351
|
+
/* ── Text aliases (prefer semantic tokens) ── */
|
|
349
352
|
--lace-text-danger: var(--lace-color-text-danger);
|
|
350
353
|
--lace-text-danger-light: var(--lace-color-text-danger-soft);
|
|
351
354
|
--lace-text-link: var(--lace-color-text-link);
|
|
@@ -353,7 +356,7 @@
|
|
|
353
356
|
--lace-text-label: var(--lace-color-text-label);
|
|
354
357
|
--lace-text-description: var(--lace-color-text-description);
|
|
355
358
|
|
|
356
|
-
/* ── Alpha variants (
|
|
359
|
+
/* ── Alpha variants (prefer semantic tokens) ── */
|
|
357
360
|
--lace-green-alpha-10: var(--lace-color-green-alpha-10);
|
|
358
361
|
--lace-green-alpha-15: var(--lace-color-green-alpha-15);
|
|
359
362
|
--lace-green-alpha-20: var(--lace-color-green-alpha-20);
|
|
@@ -382,13 +385,6 @@
|
|
|
382
385
|
/* ── Panel ── */
|
|
383
386
|
--lace-panel-shadow: 0 2px 12px var(--lace-color-black-alpha-35);
|
|
384
387
|
|
|
385
|
-
/* ── ActionBar ── */
|
|
386
|
-
--lace-action-bar-bg: rgba(30, 30, 30, 0.8);
|
|
387
|
-
--lace-action-bar-separator: #444444;
|
|
388
|
-
--lace-action-bar-shadow: var(--lace-shadow-md);
|
|
389
|
-
--lace-action-bar-generate-bg: var(--lace-color-success);
|
|
390
|
-
--lace-action-bar-generate-bg-hover: var(--lace-color-success-hover);
|
|
391
|
-
|
|
392
388
|
/* ── Input ── */
|
|
393
389
|
--lace-input-bg: var(--lace-color-bg-input);
|
|
394
390
|
--lace-input-border: var(--lace-color-border-default);
|
|
@@ -499,7 +495,7 @@
|
|
|
499
495
|
--lace-policy-rule-default-bg: var(--lace-color-white-alpha-03);
|
|
500
496
|
--lace-policy-predicate-eval-bg: var(--lace-color-white-alpha-04);
|
|
501
497
|
|
|
502
|
-
/* ── Tag pill (
|
|
498
|
+
/* ── Tag pill (prefer the Badge primitive) ── */
|
|
503
499
|
--lace-tag-border: var(--lace-color-tag-blue-border);
|
|
504
500
|
--lace-tag-bg: var(--lace-color-tag-blue-bg);
|
|
505
501
|
--lace-tag-text: var(--lace-color-tag-blue-text);
|
|
@@ -646,11 +642,6 @@
|
|
|
646
642
|
--lace-badge-gy-border: transparent;
|
|
647
643
|
--lace-badge-gy-text: var(--lace-color-text-on-accent);
|
|
648
644
|
|
|
649
|
-
/* ── Tier-3: ActionBar ──
|
|
650
|
-
* Generate bg / hover cascade from Tier-2 success / success-hover. */
|
|
651
|
-
--lace-action-bar-bg: rgba(248, 250, 252, 0.95);
|
|
652
|
-
--lace-action-bar-separator: #cbd5e1;
|
|
653
|
-
|
|
654
645
|
/* ── Tier-3: ModeToggle (cascades from --lace-btn-primary above) ── */
|
|
655
646
|
|
|
656
647
|
/* ── Tier-3: Canvas controls + minimap ── */
|