@lace-cloud/design-tokens 0.16.2 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tokens.css +8 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lace-cloud/design-tokens",
3
- "version": "0.16.2",
3
+ "version": "0.17.0",
4
4
  "license": "BUSL-1.1",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.ts",
package/tokens.css CHANGED
@@ -323,13 +323,13 @@
323
323
  /* ══════════════════════════════════════════════════════════════════════
324
324
  * TIER 3 — COMPONENT
325
325
  *
326
- * Specific-to-component tokens. Retained names match what composites
327
- * reference today so the migration is additive. New components should
328
- * prefer semantic tokens unless they need component-specific colors.
326
+ * Specific-to-component tokens: names composites reference directly.
327
+ * New components should prefer semantic tokens unless they need
328
+ * component-specific colors.
329
329
  * ══════════════════════════════════════════════════════════════════════ */
330
330
 
331
331
  :root {
332
- /* ── Brand aliases (legacy — prefer semantic) ── */
332
+ /* ── Brand aliases (prefer semantic tokens) ── */
333
333
  --lace-green: var(--lace-color-green-500);
334
334
  --lace-green-bright: var(--lace-color-green-300);
335
335
  --lace-gunmetal: var(--lace-color-teal-700);
@@ -338,7 +338,7 @@
338
338
  --lace-cyan: var(--lace-color-cyan-500);
339
339
  --lace-grey: var(--lace-color-neutral-100);
340
340
 
341
- /* ── Surface aliases (legacy) ── */
341
+ /* ── Surface aliases (prefer semantic tokens) ── */
342
342
  --lace-bg-surface: var(--lace-color-bg-surface);
343
343
  --lace-bg-surface-alt: var(--lace-color-bg-surface-alt);
344
344
  --lace-bg-input: var(--lace-color-bg-input);
@@ -348,7 +348,7 @@
348
348
  --lace-border-input-hover: var(--lace-color-border-input-hover);
349
349
  --lace-border-subtle: var(--lace-color-border-subtle);
350
350
 
351
- /* ── Text aliases (legacy) ── */
351
+ /* ── Text aliases (prefer semantic tokens) ── */
352
352
  --lace-text-danger: var(--lace-color-text-danger);
353
353
  --lace-text-danger-light: var(--lace-color-text-danger-soft);
354
354
  --lace-text-link: var(--lace-color-text-link);
@@ -356,7 +356,7 @@
356
356
  --lace-text-label: var(--lace-color-text-label);
357
357
  --lace-text-description: var(--lace-color-text-description);
358
358
 
359
- /* ── Alpha variants (legacy) ── */
359
+ /* ── Alpha variants (prefer semantic tokens) ── */
360
360
  --lace-green-alpha-10: var(--lace-color-green-alpha-10);
361
361
  --lace-green-alpha-15: var(--lace-color-green-alpha-15);
362
362
  --lace-green-alpha-20: var(--lace-color-green-alpha-20);
@@ -385,13 +385,6 @@
385
385
  /* ── Panel ── */
386
386
  --lace-panel-shadow: 0 2px 12px var(--lace-color-black-alpha-35);
387
387
 
388
- /* ── ActionBar ── */
389
- --lace-action-bar-bg: rgba(30, 30, 30, 0.8);
390
- --lace-action-bar-separator: #444444;
391
- --lace-action-bar-shadow: var(--lace-shadow-md);
392
- --lace-action-bar-generate-bg: var(--lace-color-success);
393
- --lace-action-bar-generate-bg-hover: var(--lace-color-success-hover);
394
-
395
388
  /* ── Input ── */
396
389
  --lace-input-bg: var(--lace-color-bg-input);
397
390
  --lace-input-border: var(--lace-color-border-default);
@@ -502,7 +495,7 @@
502
495
  --lace-policy-rule-default-bg: var(--lace-color-white-alpha-03);
503
496
  --lace-policy-predicate-eval-bg: var(--lace-color-white-alpha-04);
504
497
 
505
- /* ── Tag pill (legacy — prefer Badge primitive) ── */
498
+ /* ── Tag pill (prefer the Badge primitive) ── */
506
499
  --lace-tag-border: var(--lace-color-tag-blue-border);
507
500
  --lace-tag-bg: var(--lace-color-tag-blue-bg);
508
501
  --lace-tag-text: var(--lace-color-tag-blue-text);
@@ -649,11 +642,6 @@
649
642
  --lace-badge-gy-border: transparent;
650
643
  --lace-badge-gy-text: var(--lace-color-text-on-accent);
651
644
 
652
- /* ── Tier-3: ActionBar ──
653
- * Generate bg / hover cascade from Tier-2 success / success-hover. */
654
- --lace-action-bar-bg: rgba(248, 250, 252, 0.95);
655
- --lace-action-bar-separator: #cbd5e1;
656
-
657
645
  /* ── Tier-3: ModeToggle (cascades from --lace-btn-primary above) ── */
658
646
 
659
647
  /* ── Tier-3: Canvas controls + minimap ── */