@1d1s/design-system 1.2.8 → 1.2.9

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": "@1d1s/design-system",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "type": "module",
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",
@@ -72,6 +72,14 @@
72
72
  --color-sky-100: var(--sky-100);
73
73
  --color-sky-200: var(--sky-200);
74
74
  --color-sky-700: var(--sky-700);
75
+
76
+ /* Purple Colors (v3) */
77
+ --color-purple-200: var(--purple-200);
78
+ --color-purple-300: var(--purple-300);
79
+ --color-purple-400: var(--purple-400);
80
+ --color-purple-500: var(--purple-500);
81
+ --color-purple-600: var(--purple-600);
82
+ --color-purple-700: var(--purple-700);
75
83
  }
76
84
 
77
85
  :root {
@@ -148,4 +156,12 @@
148
156
  --sky-100: #e0f2fe;
149
157
  --sky-200: #bae6fd;
150
158
  --sky-700: #0369a1;
159
+
160
+ /* Purple Colors (v3) */
161
+ --purple-200: #ddd6fe;
162
+ --purple-300: #c4b5fd;
163
+ --purple-400: #a78bfa;
164
+ --purple-500: #8b5cf6;
165
+ --purple-600: #7c3aed;
166
+ --purple-700: #6d28d9;
151
167
  }
@@ -1,14 +1,31 @@
1
1
  @theme inline {
2
- /* shadow */
2
+ /* shadow — elevation */
3
3
  --shadow-sm: var(--shadow-sm);
4
4
  --shadow-default: var(--shadow-default);
5
5
  --shadow-lg: var(--shadow-lg);
6
+ --shadow-xl: var(--shadow-xl);
7
+ --shadow-up: var(--shadow-up);
8
+ /* shadow — brand / interactive */
6
9
  --shadow-warm: var(--shadow-warm);
10
+ --shadow-brand-glow: var(--shadow-brand-glow);
11
+ --shadow-knob: var(--shadow-knob);
12
+ /* shadow — focus rings */
13
+ --shadow-focus: var(--shadow-focus);
14
+ --shadow-focus-error: var(--shadow-focus-error);
7
15
  }
8
16
 
9
17
  :root {
18
+ /* elevation */
10
19
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
11
20
  --shadow-default: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
12
21
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
22
+ --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.18);
23
+ --shadow-up: 0 -8px 32px rgba(0, 0, 0, 0.14);
24
+ /* brand / interactive */
13
25
  --shadow-warm: 0 4px 24px rgba(255, 87, 34, 0.10);
26
+ --shadow-brand-glow: 0 4px 10px rgba(255, 87, 34, 0.22);
27
+ --shadow-knob: 0 1px 3px rgba(0, 0, 0, 0.15);
28
+ /* focus rings */
29
+ --shadow-focus: 0 0 0 3px rgba(255, 87, 34, 0.12);
30
+ --shadow-focus-error: 0 0 0 3px rgba(255, 82, 82, 0.12);
14
31
  }
@@ -6,6 +6,8 @@
6
6
  --font-body: var(--font-body);
7
7
 
8
8
  /* font size */
9
+ --text-3xs: var(--text-3xs);
10
+ --text-2xs: var(--text-2xs);
9
11
  --text-xs: var(--text-xs);
10
12
  --text-sm: var(--text-sm);
11
13
  --text-base: var(--text-base);
@@ -17,6 +19,8 @@
17
19
  --text-5xl: var(--text-5xl);
18
20
 
19
21
  /* line height (paired with font-size in Tailwind v4) */
22
+ --text-3xs--line-height: var(--text-3xs--line-height);
23
+ --text-2xs--line-height: var(--text-2xs--line-height);
20
24
  --text-xs--line-height: var(--text-xs--line-height);
21
25
  --text-sm--line-height: var(--text-sm--line-height);
22
26
  --text-base--line-height: var(--text-base--line-height);
@@ -56,6 +60,8 @@
56
60
  --font-body: var(--font-pretendard);
57
61
 
58
62
  /* font size */
63
+ --text-3xs: 0.625rem; /* 10px */
64
+ --text-2xs: 0.6875rem; /* 11px */
59
65
  --text-xs: 0.75rem; /* 12px */
60
66
  --text-sm: 0.8125rem; /* 13px */
61
67
  --text-base: 0.875rem; /* 14px */
@@ -67,6 +73,8 @@
67
73
  --text-5xl: 2rem; /* 32px */
68
74
 
69
75
  /* line height — body sizes get breathing room, display sizes tighten */
76
+ --text-3xs--line-height: 1.4;
77
+ --text-2xs--line-height: 1.45;
70
78
  --text-xs--line-height: 1.5;
71
79
  --text-sm--line-height: 1.55;
72
80
  --text-base--line-height: 1.6;