@duckcodeailabs/dql-ui 1.5.2 → 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 +1 -1
- package/src/styles/tokens.css +10 -0
package/package.json
CHANGED
package/src/styles/tokens.css
CHANGED
|
@@ -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
|