@arun-dev/tokens 0.23.0 → 0.24.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
|
+
"version": "0.24.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,8 @@
|
|
|
1
|
+
/* Avatar component tokens — a person's picture, or their initials. */
|
|
2
|
+
:root {
|
|
3
|
+
--avatar-size: 2.5rem;
|
|
4
|
+
--avatar-radius: var(--radius-full);
|
|
5
|
+
--avatar-bg: var(--color-border-default);
|
|
6
|
+
--avatar-color: var(--color-text-secondary);
|
|
7
|
+
--avatar-font-weight: var(--font-weight-medium);
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* Toggle component tokens — a button that stays pressed; also the items of a ToggleGroup and
|
|
2
|
+
a Toolbar. */
|
|
3
|
+
:root {
|
|
4
|
+
--toggle-height: 2.25rem;
|
|
5
|
+
--toggle-padding-inline: var(--space-xs);
|
|
6
|
+
--toggle-radius: var(--radius-md);
|
|
7
|
+
--toggle-font-size: var(--text-sm);
|
|
8
|
+
--toggle-color: var(--color-text-secondary);
|
|
9
|
+
--toggle-bg-hover: var(--color-bg-secondary);
|
|
10
|
+
--toggle-pressed-bg: var(--color-bg-accent);
|
|
11
|
+
--toggle-pressed-color: var(--color-text-accent);
|
|
12
|
+
--toggle-focus-color: var(--color-text-accent);
|
|
13
|
+
--toggle-disabled-opacity: 0.5;
|
|
14
|
+
--toggle-group-gap: var(--space-3xs);
|
|
15
|
+
--toggle-group-padding: var(--space-3xs);
|
|
16
|
+
--toggle-group-border-color: var(--color-border-default);
|
|
17
|
+
--toggle-group-radius: var(--radius-md);
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* Toolbar component tokens — a row of controls with one Tab stop. */
|
|
2
|
+
:root {
|
|
3
|
+
--toolbar-gap: var(--space-3xs);
|
|
4
|
+
--toolbar-padding: var(--space-3xs);
|
|
5
|
+
--toolbar-radius: var(--radius-md);
|
|
6
|
+
--toolbar-border-color: var(--color-border-default);
|
|
7
|
+
--toolbar-bg: var(--color-bg-primary);
|
|
8
|
+
--toolbar-separator-color: var(--color-border-default);
|
|
9
|
+
--toolbar-input-inline-size: 4rem;
|
|
10
|
+
}
|