@lessly/ui 0.3.1 → 0.3.2

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/dist/index.d.ts CHANGED
@@ -760,11 +760,10 @@ type NavRowProps = NavRowOwnProps & Omit<React$1.ComponentPropsWithoutRef<'butto
760
760
  /** Nav row primitive (rail and menu variants). Composes an icon, label and trailing slot
761
761
  * into a button, or into a single child via `asChild` (e.g. a router `<Link>`).
762
762
  *
763
- * Rail rows are designed for the `bg-surface` canvas: in the light theme `--hov-bg`
764
- * equals `--color-bg-elevated`/`--menu-bg` (`#ffffff`), so a rail `NavRow` placed on an
765
- * elevated/white surface has no hover contrast in light mode. This is the approved
766
- * design and the token is not expected to change — avoid using rail `NavRow` off the
767
- * `bg-surface` canvas in light theme. */
763
+ * Rail rows are designed for the `bg-surface` canvas. In the light theme `--hov-bg` is an
764
+ * opaque `#ffffff` plate, so a rail `NavRow` has no hover contrast on a surface that is
765
+ * already white notably a `--menu-bg` plate. Use the `menu` variant there; its
766
+ * `--menu-hov` is tuned for that surface. */
768
767
  declare const NavRow: React$1.ForwardRefExoticComponent<NavRowProps & React$1.RefAttributes<HTMLButtonElement>>;
769
768
 
770
769
  type NavSectionLabelProps = React$1.HTMLAttributes<HTMLDivElement>;
package/dist/styles.css CHANGED
@@ -59,13 +59,13 @@
59
59
  --spacing: 0.25rem;
60
60
  }
61
61
  :root {
62
- --color-bg-primary: #0e1015;
62
+ --color-bg-primary: #191b24;
63
63
  --color-bg-secondary: #12141b;
64
- --color-bg-surface: #191b24;
65
- --color-bg-elevated: #1f222d;
66
- --color-bg-sunken: #08090c;
64
+ --color-bg-surface: #1f222d;
65
+ --color-bg-elevated: #252936;
66
+ --color-bg-sunken: #0e1015;
67
67
  --color-bg-brand: #06297d;
68
- --color-bg-brand-subtle: #080d1b;
68
+ --color-bg-brand-subtle: #1f2541;
69
69
  --color-bg-brand-bright: #165ff2;
70
70
  --color-bg-brand-hover: #08349b;
71
71
  --color-bg-success: #13703c;
@@ -79,7 +79,7 @@
79
79
  --color-bg-rose-subtle: #1a090b;
80
80
  --color-text-primary: #eeeff0;
81
81
  --color-text-secondary: #a5a9b5;
82
- --color-text-tertiary: #737c95;
82
+ --color-text-tertiary: #8a93a8;
83
83
  --color-text-disabled: #60687f;
84
84
  --color-text-inverse: #0e1015;
85
85
  --color-text-on-brand: #f6f7f7;
@@ -99,7 +99,7 @@
99
99
  --color-icon-success: #2eda76;
100
100
  --color-icon-warning: #efb042;
101
101
  --color-icon-danger: #f06a6a;
102
- --color-border-subtle: #1f222d;
102
+ --color-border-subtle: #2a2e3b;
103
103
  --color-border-default: #60687f;
104
104
  --color-border-strong: #737c95;
105
105
  --color-border-brand: #165ff2;
@@ -118,10 +118,10 @@
118
118
  }
119
119
 
120
120
  .light {
121
- --color-bg-primary: #e1e2e4;
121
+ --color-bg-primary: #f6f7f7;
122
122
  --color-bg-secondary: #eeeff0;
123
- --color-bg-surface: #f6f7f7;
124
- --color-bg-elevated: #ffffff;
123
+ --color-bg-surface: #f2f3f4;
124
+ --color-bg-elevated: #edeef0;
125
125
  --color-bg-sunken: #e1e2e4;
126
126
  --color-bg-brand: #06297d;
127
127
  --color-bg-brand-subtle: #e4ecfe;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/ui",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Lessly design system — shared UI primitives, tokens, and theme",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.30.3",