@uncinq/design-tokens 0.1.5 → 0.2.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": "@uncinq/design-tokens",
3
- "version": "0.1.5",
3
+ "version": "0.2.0",
4
4
  "description": "Framework-agnostic CSS design tokens — primitive and semantic layers.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -51,7 +51,10 @@
51
51
  /* Screen widths */
52
52
  --size-768: 48rem;
53
53
  --size-1024: 64rem;
54
+ --size-1200: 75rem;
55
+ --size-1280: 80rem;
54
56
  --size-1440: 90rem;
57
+ --size-1600: 100rem;
55
58
  --size-1920: 120rem;
56
59
  }
57
60
  }
@@ -9,6 +9,8 @@
9
9
  --form-color-border: var(--color-border);
10
10
  --form-color-border-hover: var(--form-color-accent);
11
11
  --form-color-text: var(--color-text);
12
+ --form-padding: var(--spacing-control);
13
+ --form-transition: var(--transition-normal);
12
14
 
13
15
  /* ── Input ─────────────────────────────────────────────────────────── */
14
16
  --input-border-radius: var(--form-border-radius);
@@ -18,7 +20,7 @@
18
20
  --input-color-border-hover: var(--form-color-border-hover);
19
21
  --input-color-placeholder: var(--color-text-muted);
20
22
  --input-color-text: var(--form-color-text);
21
- --input-padding: var(--spacing-control);
23
+ --input-padding: var(--form-padding);
22
24
 
23
25
  /* ── Textarea ──────────────────────────────────────────────────────── */
24
26
  --textarea-border-radius: var(--form-border-radius);
@@ -28,6 +30,8 @@
28
30
  --textarea-color-border-hover: var(--form-color-border-hover);
29
31
  --textarea-color-placeholder: var(--color-text-muted);
30
32
  --textarea-color-text: var(--form-color-text);
33
+ --textarea-min-height: 5lh;
34
+ --textarea-padding: var(--form-padding);
31
35
 
32
36
  /* ── Select ────────────────────────────────────────────────────────── */
33
37
  --select-border-radius: var(--form-border-radius);
@@ -39,6 +43,8 @@
39
43
  --select-color-text: var(--form-color-text);
40
44
  --select-icon: var(--icon-chevron);
41
45
  --select-icon-size: var(--size-16);
46
+ --select-padding: var(--form-padding);
47
+ --select-padding-end: 2rem;
42
48
 
43
49
  /* ── Label ─────────────────────────────────────────────────────────── */
44
50
  --label-color-text: var(--form-color-text);
@@ -71,7 +71,7 @@
71
71
  * Prevents overly long lines causing reading fatigue (WCAG 1.4.8).
72
72
  * Headings use a shorter value: larger font = physically wider chars.
73
73
  */
74
- --max-width-heading: 40ch;
74
+ --max-width-heading: 50ch;
75
75
  --max-width-paragraph: 70ch;
76
76
  }
77
77
  }
@@ -6,7 +6,7 @@
6
6
  --z-index-raised: 10; /* cards, sticky elements within flow */
7
7
  --z-index-dropdown: 100; /* dropdowns, popovers */
8
8
  --z-index-sticky: 200; /* sticky header/sidebar */
9
- --z-index-offcanvas: 300; /* drawer, side panel */
9
+ --z-index-drawer: 300; /* drawer, side panel */
10
10
  --z-index-modal: 400; /* modal dialogs */
11
11
  --z-index-toast: 500; /* notifications, toasts */
12
12
  --z-index-tooltip: 600; /* tooltips (always on top) */