@lessly/ui 0.16.0 → 0.16.1

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/dist/styles.css +9 -7
  2. package/package.json +2 -2
package/dist/styles.css CHANGED
@@ -15,6 +15,7 @@
15
15
  --bg-secondary: #12141b;
16
16
  --bg-surface: #1f222d;
17
17
  --bg-elevated: #252936;
18
+ --bg-overlay: #252936;
18
19
  --bg-sunken: #0e1015;
19
20
  --bg-brand: #06297d;
20
21
  --bg-brand-subtle: #1f2541;
@@ -276,6 +277,7 @@
276
277
  --bg-secondary: #eeeff0;
277
278
  --bg-surface: #f2f3f4;
278
279
  --bg-elevated: #edeef0;
280
+ --bg-overlay: #ffffff;
279
281
  --bg-sunken: #e1e2e4;
280
282
  --bg-brand-subtle: #e4ecfe;
281
283
  --bg-brand-hover: #05226a;
@@ -742,10 +744,11 @@
742
744
  }
743
745
  :root {
744
746
  /* === Nav / menu surfaces (0.3.0 sidebar) === */
745
- /* --menu-shadow sits on the package's --shadow-overlay role; theme.css re-resolves
746
- it per theme, so `.light` needs no override. */
747
+ /* The floating surface sits on the package's overlay pair: --menu-bg on
748
+ --bg-overlay, --menu-shadow on --shadow-overlay. theme.css re-resolves both
749
+ per theme, so `.light` needs no override for either. */
747
750
  --hov-bg: color-mix(in srgb, var(--text-primary) 7%, transparent);
748
- --menu-bg: var(--bg-elevated);
751
+ --menu-bg: var(--bg-overlay);
749
752
  --menu-shadow: var(--shadow-overlay);
750
753
  --menu-hov: var(--hov-bg);
751
754
 
@@ -763,11 +766,10 @@
763
766
  }
764
767
 
765
768
  .light {
766
- /* Light keeps opaque plates: a translucent text-mix would vanish on a white menu.
767
- Pinned 0.3.0-prototype literals — deliberately NOT var(--bg-elevated), which
768
- resolves to #edeef0 in the package, not this white. */
769
+ /* Light keeps opaque hover plates: a translucent text-mix would vanish on a
770
+ white menu. Pinned 0.3.0-prototype literals — the package has no hover-surface
771
+ roles yet, so these can't move onto tokens the way --menu-bg did. */
769
772
  --hov-bg: #ffffff;
770
- --menu-bg: #ffffff;
771
773
  --menu-hov: #f2f4f7;
772
774
 
773
775
  /* Auth screen — see :root above. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/ui",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Lessly design system — shared UI primitives, tokens, and theme",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.30.3",
@@ -62,7 +62,7 @@
62
62
  }
63
63
  },
64
64
  "dependencies": {
65
- "@lessly/tokens": "^0.4.0",
65
+ "@lessly/tokens": "^0.5.0",
66
66
  "@radix-ui/react-accordion": "^1.2.16",
67
67
  "@radix-ui/react-alert-dialog": "^1.1.19",
68
68
  "@radix-ui/react-aspect-ratio": "^1.1.11",