@arun-dev/tokens 0.15.0 → 0.16.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": "@arun-dev/tokens",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Pure-CSS design tokens with white-label brand generation — primitives, brand palettes, semantic layers, and the createBrand() generator",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -0,0 +1,24 @@
1
+ /* Menu component tokens — map semantic tokens onto the anchored list and its items.
2
+ The panel matches Popover's, but maps from the semantic tier directly: overriding
3
+ --popover-* moves only popovers, and these move only menus. */
4
+ :root {
5
+ --menu-offset: var(--space-2xs);
6
+ --menu-min-width: 10rem;
7
+ --menu-max-width: 20rem;
8
+ --menu-padding: var(--space-3xs);
9
+ --menu-radius: var(--radius-md);
10
+ --menu-bg: var(--color-bg-primary);
11
+ --menu-color: var(--color-text-primary);
12
+ --menu-border-width: var(--space-px);
13
+ --menu-border-color: var(--color-border-default);
14
+ --menu-shadow: var(--shadow-lg);
15
+ --menu-font-size: var(--text-sm);
16
+ --menu-duration: var(--duration-fast);
17
+
18
+ /* Item */
19
+ --menu-item-padding-block: var(--space-2xs);
20
+ --menu-item-padding-inline: var(--space-xs);
21
+ --menu-item-radius: var(--radius-sm);
22
+ --menu-item-bg-highlight: var(--color-bg-secondary);
23
+ --menu-disabled-opacity: 0.5;
24
+ }
@@ -8,6 +8,7 @@
8
8
  @import './components/checkbox.css';
9
9
  @import './components/dialog.css';
10
10
  @import './components/input.css';
11
+ @import './components/menu.css';
11
12
  @import './components/popover.css';
12
13
  @import './components/radio-group.css';
13
14
  @import './components/select.css';