@arun-dev/tokens 0.8.0 → 0.9.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 +1 -1
- package/src/components/textarea.css +26 -0
- package/src/components.css +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arun-dev/tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.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
|
+
/* Textarea component tokens — map semantic tokens onto the multi-line field's styleable
|
|
2
|
+
surfaces. Values match Input's so the two fields sit together, but map from the semantic
|
|
3
|
+
tier directly: overriding --input-* moves only inputs, and these move only textareas. */
|
|
4
|
+
:root {
|
|
5
|
+
/* Frame */
|
|
6
|
+
--textarea-min-height: 5rem;
|
|
7
|
+
--textarea-max-height: 20rem;
|
|
8
|
+
--textarea-padding-block: var(--space-2xs);
|
|
9
|
+
--textarea-padding-inline: var(--space-xs);
|
|
10
|
+
--textarea-radius: var(--radius-md);
|
|
11
|
+
--textarea-bg: var(--color-bg-primary);
|
|
12
|
+
--textarea-border-width: var(--space-px);
|
|
13
|
+
--textarea-border-color: var(--color-border-default);
|
|
14
|
+
--textarea-border-color-hover: var(--color-border-strong);
|
|
15
|
+
--textarea-border-color-focus: var(--color-text-accent);
|
|
16
|
+
--textarea-border-color-invalid: var(--color-status-error);
|
|
17
|
+
|
|
18
|
+
/* Text */
|
|
19
|
+
--textarea-font-size: var(--text-sm);
|
|
20
|
+
--textarea-line-height: var(--line-height-normal);
|
|
21
|
+
--textarea-color: var(--color-text-primary);
|
|
22
|
+
--textarea-placeholder-color: var(--color-text-muted);
|
|
23
|
+
|
|
24
|
+
--textarea-disabled-opacity: 0.5;
|
|
25
|
+
--textarea-duration: var(--duration-fast);
|
|
26
|
+
}
|
package/src/components.css
CHANGED