@arun-dev/tokens 0.31.0 → 0.32.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.31.0",
3
+ "version": "0.32.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,30 @@
1
+ /* Stepper component tokens — the numbered steps of a multi-step flow and the lines between.
2
+ Override any of these to restyle steppers without moving other components. */
3
+ :root {
4
+ /* Indicator */
5
+ --stepper-indicator-size: var(--space-lg);
6
+ --stepper-indicator-border-width: var(--space-2px);
7
+ --stepper-indicator-font-size: var(--text-sm);
8
+ --stepper-indicator-bg: var(--color-bg-primary);
9
+
10
+ /* States — complete is the accent fill, as a checked Checkbox; current is outlined in it */
11
+ --stepper-upcoming-color: var(--color-text-muted);
12
+ --stepper-current-color: var(--color-text-accent);
13
+ --stepper-complete-bg: var(--color-text-accent);
14
+ --stepper-complete-color: var(--color-text-on-accent);
15
+
16
+ /* Label */
17
+ --stepper-label-color: var(--color-text-secondary);
18
+ --stepper-current-label-color: var(--color-text-primary);
19
+ --stepper-label-font-size: var(--text-sm);
20
+ --stepper-label-gap: var(--space-2xs);
21
+
22
+ /* Connector */
23
+ --stepper-connector-color: var(--color-border-default);
24
+ --stepper-connector-thickness: var(--space-2px);
25
+ --stepper-connector-gap: var(--space-2xs);
26
+
27
+ /* Vertical — a wider gap and a tighter connector, so the line between steps reads as one */
28
+ --stepper-vertical-gap: var(--space-lg);
29
+ --stepper-vertical-connector-gap: var(--space-3xs);
30
+ }
@@ -41,3 +41,4 @@
41
41
  @import './components/paragraph.css';
42
42
  @import './components/drawer.css';
43
43
  @import './components/hover-card.css';
44
+ @import './components/stepper.css';