@arun-dev/tokens 0.21.0 → 0.23.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.23.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,10 @@
1
+ /* Breadcrumb component tokens — where the page sits, as a trail of links. */
2
+ :root {
3
+ --breadcrumb-gap: var(--space-2xs);
4
+ --breadcrumb-font-size: var(--text-sm);
5
+ --breadcrumb-link-color: var(--color-text-secondary);
6
+ --breadcrumb-link-color-hover: var(--color-text-primary);
7
+ --breadcrumb-current-color: var(--color-text-primary);
8
+ --breadcrumb-separator-color: var(--color-text-muted);
9
+ --breadcrumb-focus-color: var(--color-text-accent);
10
+ }
@@ -0,0 +1,10 @@
1
+ /* Kbd component tokens — a key on the keyboard. */
2
+ :root {
3
+ --kbd-font-size: 0.8em;
4
+ --kbd-padding-inline: 0.4em;
5
+ --kbd-min-inline-size: 1.6em;
6
+ --kbd-radius: var(--radius-sm);
7
+ --kbd-bg: var(--color-bg-secondary);
8
+ --kbd-color: var(--color-text-primary);
9
+ --kbd-border-color: var(--color-border-default);
10
+ }
@@ -0,0 +1,13 @@
1
+ /* Pagination component tokens — page links or buttons in a row. */
2
+ :root {
3
+ --pagination-gap: var(--space-3xs);
4
+ --pagination-item-size: 2.25rem;
5
+ --pagination-item-radius: var(--radius-md);
6
+ --pagination-font-size: var(--text-sm);
7
+ --pagination-color: var(--color-text-primary);
8
+ --pagination-bg-hover: var(--color-bg-secondary);
9
+ --pagination-current-bg: var(--color-text-accent);
10
+ --pagination-current-color: var(--color-text-on-accent);
11
+ --pagination-disabled-color: var(--color-text-muted);
12
+ --pagination-focus-color: var(--color-text-accent);
13
+ }
@@ -0,0 +1,13 @@
1
+ /* Table component tokens — a native table, ruled between rows. */
2
+ :root {
3
+ --table-font-size: var(--text-sm);
4
+ --table-cell-padding-block: var(--space-2xs);
5
+ --table-cell-padding-inline: var(--space-sm);
6
+ --table-border-color: var(--color-border-default);
7
+ --table-head-color: var(--color-text-secondary);
8
+ --table-head-font-weight: var(--font-weight-semibold);
9
+ --table-head-bg: var(--color-bg-secondary);
10
+ --table-row-bg-hover: var(--color-bg-secondary);
11
+ --table-caption-color: var(--color-text-muted);
12
+ --table-radius: var(--radius-md);
13
+ }
@@ -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,8 @@
27
27
  @import './components/alert.css';
28
28
  @import './components/skeleton.css';
29
29
  @import './components/spinner.css';
30
+ @import './components/toast.css';
31
+ @import './components/breadcrumb.css';
32
+ @import './components/kbd.css';
33
+ @import './components/pagination.css';
34
+ @import './components/table.css';