@arun-dev/tokens 0.21.0 → 0.22.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.21.0",
3
+ "version": "0.22.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,26 @@
1
+ /* Toast component tokens — brief messages stacked in a corner, over the page. */
2
+ :root {
3
+ --toast-viewport-inset: var(--space-md);
4
+ --toast-width: 22rem;
5
+ --toast-gap: var(--space-2xs);
6
+ --toast-padding: var(--space-sm);
7
+ --toast-radius: var(--radius-md);
8
+ --toast-bg: var(--color-bg-primary);
9
+ --toast-color: var(--color-text-primary);
10
+ --toast-description-color: var(--color-text-secondary);
11
+ --toast-border-color: var(--color-border-default);
12
+ --toast-shadow: var(--shadow-lg);
13
+ --toast-title-font-weight: var(--font-weight-semibold);
14
+ --toast-accent-width: var(--space-2px);
15
+ --toast-close-color: var(--color-text-secondary);
16
+ --toast-close-bg-hover: var(--color-bg-secondary);
17
+ --toast-focus-color: var(--color-text-accent);
18
+ --toast-duration: var(--duration-normal);
19
+
20
+ /* Types — the accent along the leading edge; no type keeps the border colour */
21
+ --toast-accent: var(--toast-border-color);
22
+ --toast-info-accent: var(--color-status-info);
23
+ --toast-success-accent: var(--color-status-success);
24
+ --toast-warning-accent: var(--color-status-warning);
25
+ --toast-error-accent: var(--color-status-error);
26
+ }
@@ -27,3 +27,4 @@
27
27
  @import './components/alert.css';
28
28
  @import './components/skeleton.css';
29
29
  @import './components/spinner.css';
30
+ @import './components/toast.css';