@duckcodeailabs/dql-ui 1.4.4 → 1.6.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckcodeailabs/dql-ui",
3
- "version": "1.4.4",
3
+ "version": "1.6.0",
4
4
  "description": "Design tokens, theme provider, and headless primitives for the DQL notebook + dashboard shell",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -58,6 +58,16 @@
58
58
  /* Neutral hover (generic surface hover — lists, menu items, small buttons) */
59
59
  --bg-hover: rgba(255, 255, 255, 0.045);
60
60
 
61
+ /* Legacy component aliases. Several OSS surfaces still use these names in
62
+ inline styles; keep them mapped to the active Luna theme instead of
63
+ allowing light fallbacks like #fff inside dark themes. */
64
+ --color-bg: var(--bg-1);
65
+ --surface: var(--bg-2);
66
+ --surface-subtle: var(--bg-0);
67
+ --surface-hover: var(--bg-3);
68
+ --surface-elevated: var(--bg-3);
69
+ --border-color: var(--border-subtle);
70
+
61
71
  /* Status semantics (error / warning / success / info) — each theme
62
72
  supplies a tuned hue + 0.10-0.14 background + 0.30-0.40 border so
63
73
  alerts read clean on every surface. Obsidian keeps saturation low