@arun-dev/tokens 0.3.0 → 0.5.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.3.0",
3
+ "version": "0.5.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",
@@ -32,6 +32,8 @@
32
32
  "./components": "./src/components.css",
33
33
  "./components/chip": "./src/components/chip.css",
34
34
  "./components/badge": "./src/components/badge.css",
35
+ "./components/button": "./src/components/button.css",
36
+ "./components/switch": "./src/components/switch.css",
35
37
  "./primitives/typography": "./src/primitives/typography.css",
36
38
  "./primitives/spacing": "./src/primitives/spacing.css",
37
39
  "./primitives/radius": "./src/primitives/radius.css",
@@ -0,0 +1,5 @@
1
+ /* Button component tokens — map semantic tokens onto the button's styleable surfaces.
2
+ Override any of these to restyle buttons without moving other components. */
3
+ :root {
4
+ --btn-disabled-opacity: 0.5;
5
+ }
@@ -4,4 +4,5 @@
4
4
  Imported by base.css; also exported standalone as @arun-dev/tokens/components. */
5
5
  @import './components/chip.css';
6
6
  @import './components/badge.css';
7
+ @import './components/button.css';
7
8
  @import './components/switch.css';