@arun-dev/tokens 0.36.1 → 0.37.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 +5 -4
- package/src/components/menubar.css +20 -0
- package/src/components.css +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arun-dev/tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.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",
|
|
@@ -54,15 +54,16 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
|
-
"access": "public"
|
|
57
|
+
"access": "public",
|
|
58
|
+
"provenance": true
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
61
|
+
"@arun-dev/config": "0.0.0",
|
|
60
62
|
"eslint": "10.12.0",
|
|
61
63
|
"tsdown": "0.23.0",
|
|
62
64
|
"typescript": "6.0.3",
|
|
63
65
|
"vite": "8.3.4",
|
|
64
|
-
"vitest": "5.0.3"
|
|
65
|
-
"@arun-dev/config": "0.0.0"
|
|
66
|
+
"vitest": "5.0.3"
|
|
66
67
|
},
|
|
67
68
|
"scripts": {
|
|
68
69
|
"build": "tsdown",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* Menubar component tokens — a bar of menus with one Tab stop. The bar is framed like a
|
|
2
|
+
Toolbar; its Triggers are buttons that stay highlighted while their menu is open. The menus
|
|
3
|
+
themselves are Menu's, with --menu-* tokens. */
|
|
4
|
+
:root {
|
|
5
|
+
--menubar-gap: var(--space-3xs);
|
|
6
|
+
--menubar-padding: var(--space-3xs);
|
|
7
|
+
--menubar-radius: var(--radius-md);
|
|
8
|
+
--menubar-border-color: var(--color-border-default);
|
|
9
|
+
--menubar-bg: var(--color-bg-primary);
|
|
10
|
+
|
|
11
|
+
/* Trigger */
|
|
12
|
+
--menubar-trigger-height: 2.25rem;
|
|
13
|
+
--menubar-trigger-padding-inline: var(--space-sm);
|
|
14
|
+
--menubar-trigger-radius: var(--radius-sm);
|
|
15
|
+
--menubar-trigger-font-size: var(--text-sm);
|
|
16
|
+
--menubar-trigger-color: var(--color-text-primary);
|
|
17
|
+
--menubar-trigger-bg-highlight: var(--color-bg-secondary);
|
|
18
|
+
--menubar-trigger-focus-color: var(--color-text-accent);
|
|
19
|
+
--menubar-trigger-disabled-opacity: 0.5;
|
|
20
|
+
}
|
package/src/components.css
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
@import './components/dialog.css';
|
|
11
11
|
@import './components/input.css';
|
|
12
12
|
@import './components/menu.css';
|
|
13
|
+
@import './components/menubar.css';
|
|
13
14
|
@import './components/popover.css';
|
|
14
15
|
@import './components/radio-group.css';
|
|
15
16
|
@import './components/select.css';
|