atomsystem 0.1.47 → 0.1.49

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.
Files changed (62) hide show
  1. package/README.md +153 -55
  2. package/atom.design.md +155 -0
  3. package/atom.uxPattern.md +431 -0
  4. package/components/ui/Badge.tsx +20 -0
  5. package/components/ui/Button.tsx +33 -0
  6. package/components/ui/Card.tsx +20 -0
  7. package/components/ui/Input.tsx +35 -0
  8. package/components/ui/Modal.tsx +54 -0
  9. package/components/ui/index.ts +5 -0
  10. package/css/atom-ui.css +216 -0
  11. package/dist/cli.cjs +105 -0
  12. package/dist/cli.cjs.map +1 -0
  13. package/dist/cli.d.cts +1 -0
  14. package/dist/cli.d.ts +1 -0
  15. package/dist/cli.js +97 -0
  16. package/dist/cli.js.map +1 -0
  17. package/dist/index.cjs +7897 -0
  18. package/dist/index.cjs.map +1 -0
  19. package/dist/index.d.cts +218 -0
  20. package/dist/index.d.ts +218 -0
  21. package/dist/index.js +7845 -447
  22. package/dist/index.js.map +1 -0
  23. package/package.json +120 -81
  24. package/presets/default.design.md +155 -0
  25. package/presets/uxPattern.md +431 -0
  26. package/skills/atomsystem.skill.md +104 -0
  27. package/tokens/token.json +319 -0
  28. package/tokens/tokens.json +318 -976
  29. package/app/templates/Animations/Animation.tsx +0 -282
  30. package/app/templates/Badge/Badge.tsx +0 -28
  31. package/app/templates/Badge/badge.css +0 -28
  32. package/app/templates/Button/Button.tsx +0 -31
  33. package/app/templates/Button/button.css +0 -135
  34. package/app/templates/Card/Card.tsx +0 -50
  35. package/app/templates/Card/card.css +0 -17
  36. package/app/templates/CodeBlock/CodeBlock.tsx +0 -68
  37. package/app/templates/Collapse/Collapse.tsx +0 -207
  38. package/app/templates/Collapse/collapse.css +0 -24
  39. package/app/templates/Dropdown/Dropdown.css +0 -112
  40. package/app/templates/Dropdown/Dropdown.tsx +0 -103
  41. package/app/templates/Form/Form.tsx +0 -289
  42. package/app/templates/Form/form.css +0 -115
  43. package/app/templates/Modal/Modal.tsx +0 -71
  44. package/app/templates/Modal/modal.css +0 -98
  45. package/app/templates/Navigation/Navigation.tsx +0 -169
  46. package/app/templates/Navigation/navigation.css +0 -59
  47. package/app/templates/Pagination/Pagination.tsx +0 -104
  48. package/app/templates/Pagination/pagination.css +0 -66
  49. package/app/templates/Sidebar/Sidebar.tsx +0 -139
  50. package/app/templates/Sidebar/sidebar.css +0 -4
  51. package/app/templates/TOC/TOC.tsx +0 -165
  52. package/app/templates/Tab/Tab.tsx +0 -117
  53. package/app/templates/Tab/tab.css +0 -56
  54. package/app/templates/Table/Table.tsx +0 -54
  55. package/app/templates/Table/table.css +0 -58
  56. package/app/templates/Theme/Theme.tsx +0 -121
  57. package/app/templates/Toast/Toast.tsx +0 -106
  58. package/app/templates/Toast/toast.css +0 -69
  59. package/build/build-tokens.js +0 -223
  60. package/build/css/_variables.css +0 -251
  61. package/build/typescript/theme.ts +0 -6
  62. package/css/text.css +0 -18
@@ -0,0 +1,319 @@
1
+ {
2
+ "$schema": "https://design-tokens.github.io/community-group/format/",
3
+ "name": "AtomDesignToken System",
4
+ "version": "0.1.49",
5
+ "color": {
6
+ "brand": {
7
+ "color-primary": {
8
+ "$value": "#3182f6",
9
+ "$type": "color",
10
+ "$description": "주요 액션 버튼, 활성 탭, 브랜드 강조 영역의 핵심 색상",
11
+ "variable": "--atom-color-primary"
12
+ },
13
+ "color-primary-hover": {
14
+ "$value": "#1b64da",
15
+ "$type": "color",
16
+ "$description": "Primary 컴포넌트에 마우스를 올렸을 때 적용되는 딥 톤",
17
+ "variable": "--atom-color-primary-hover"
18
+ },
19
+ "color-primary-subtle": {
20
+ "$value": "#e8f3ff",
21
+ "$type": "color",
22
+ "$description": "배지 배경, 활성 리스트 아이템, 선택 하이라이트 배경",
23
+ "variable": "--atom-color-primary-subtle"
24
+ }
25
+ },
26
+ "surface": {
27
+ "bg-primary": {
28
+ "$value": "#ffffff",
29
+ "$type": "color",
30
+ "$description": "웹 전체 페이지의 기본 캔버스 배경 (다크모드: #090a0f)",
31
+ "variable": "--atom-bg-primary"
32
+ },
33
+ "bg-surface": {
34
+ "$value": "#f8f9fa",
35
+ "$type": "color",
36
+ "$description": "카드, 모달 다이얼로그, 패널, 드롭다운 메뉴의 바탕색",
37
+ "variable": "--atom-bg-surface"
38
+ },
39
+ "bg-muted": {
40
+ "$value": "#f1f3f5",
41
+ "$type": "color",
42
+ "$description": "비활성화된 폼 필드, 태그 칩, 보조 영역 배경",
43
+ "variable": "--atom-bg-muted"
44
+ }
45
+ },
46
+ "text": {
47
+ "text-primary": {
48
+ "$value": "#191f28",
49
+ "$type": "color",
50
+ "$description": "가장 높은 명도 대비를 갖는 핵심 본문 및 헤드라인 텍스트",
51
+ "variable": "--atom-text-primary"
52
+ },
53
+ "text-secondary": {
54
+ "$value": "#8b95a1",
55
+ "$type": "color",
56
+ "$description": "설명문, 부가 라벨, 플레이스홀더, 서브 텍스트",
57
+ "variable": "--atom-text-secondary"
58
+ },
59
+ "text-muted": {
60
+ "$value": "#b0b8c1",
61
+ "$type": "color",
62
+ "$description": "타임스탬프, 비활성화된 라벨, 장식성 힌트 텍스트",
63
+ "variable": "--atom-text-muted"
64
+ }
65
+ },
66
+ "border": {
67
+ "border-subtle": {
68
+ "$value": "#f2f4f6",
69
+ "$type": "color",
70
+ "$description": "카드 구분선, 리스트 경계선 등 부드러운 분리선",
71
+ "variable": "--atom-border-subtle"
72
+ },
73
+ "border-strong": {
74
+ "$value": "#e5e8eb",
75
+ "$type": "color",
76
+ "$description": "인풋 필드 외곽선, 명확한 아웃라인 버튼, 모달 경계선",
77
+ "variable": "--atom-border-strong"
78
+ }
79
+ },
80
+ "status": {
81
+ "status-success": {
82
+ "$value": "#10b981",
83
+ "$type": "color",
84
+ "$description": "성공 완료 알림, 온라인 상태, 송금 완료 상태",
85
+ "variable": "--atom-status-success"
86
+ },
87
+ "status-danger": {
88
+ "$value": "#f43f5e",
89
+ "$type": "color",
90
+ "$description": "폼 유효성 에러, 경고 메시지, 삭제 등 파괴적 액션",
91
+ "variable": "--atom-status-danger"
92
+ },
93
+ "status-warning": {
94
+ "$value": "#f59e0b",
95
+ "$type": "color",
96
+ "$description": "주의 알림, 대기 중인 상태, 결제 보류",
97
+ "variable": "--atom-status-warning"
98
+ }
99
+ }
100
+ },
101
+ "typography": {
102
+ "--atom-font-display": {
103
+ "$value": {
104
+ "fontSize": "36px (2.25rem)",
105
+ "lineHeight": "1.25",
106
+ "fontWeight": "800 (ExtraBold)"
107
+ },
108
+ "$type": "typography",
109
+ "variable": "--atom-font-display",
110
+ "sample": "디자이너의 피그마 해방, 말로 디자인하는 시대"
111
+ },
112
+ "--atom-font-title-1": {
113
+ "$value": {
114
+ "fontSize": "28px (1.75rem)",
115
+ "lineHeight": "1.3",
116
+ "fontWeight": "700 (Bold)"
117
+ },
118
+ "$type": "typography",
119
+ "variable": "--atom-font-title-1",
120
+ "sample": "원클릭으로 끝내는 디자인 토큰 시스템"
121
+ },
122
+ "--atom-font-title-2": {
123
+ "$value": {
124
+ "fontSize": "20px (1.25rem)",
125
+ "lineHeight": "1.35",
126
+ "fontWeight": "700 (Bold)"
127
+ },
128
+ "$type": "typography",
129
+ "variable": "--atom-font-title-2",
130
+ "sample": "프레임워크 무관한 표준 CSS 변수 체계"
131
+ },
132
+ "--atom-font-title-3": {
133
+ "$value": {
134
+ "fontSize": "16px (1.0rem)",
135
+ "lineHeight": "1.4",
136
+ "fontWeight": "600 (SemiBold)"
137
+ },
138
+ "$type": "typography",
139
+ "variable": "--atom-font-title-3",
140
+ "sample": "계좌 송금 및 실시간 인증 패턴"
141
+ },
142
+ "--atom-font-body-1": {
143
+ "$value": {
144
+ "fontSize": "14px (0.875rem)",
145
+ "lineHeight": "1.5",
146
+ "fontWeight": "400 (Regular)"
147
+ },
148
+ "$type": "typography",
149
+ "variable": "--atom-font-body-1",
150
+ "sample": "React, Vue, 바닐라 HTML 어디서나 복사 한 번으로 즉시 렌더링됩니다."
151
+ },
152
+ "--atom-font-body-2": {
153
+ "$value": {
154
+ "fontSize": "12px (0.75rem)",
155
+ "lineHeight": "1.5",
156
+ "fontWeight": "500 (Medium)"
157
+ },
158
+ "$type": "typography",
159
+ "variable": "--atom-font-body-2",
160
+ "sample": "W3C DTCG 호환 tokens.json 기반 스타일 딕셔너리 컴파일"
161
+ },
162
+ "--atom-font-mono": {
163
+ "$value": {
164
+ "fontSize": "11px (0.6875rem)",
165
+ "lineHeight": "1.6",
166
+ "fontWeight": "500 (Medium)"
167
+ },
168
+ "$type": "typography",
169
+ "variable": "--atom-font-mono",
170
+ "sample": "npx atomsystem init --preset toss"
171
+ }
172
+ },
173
+ "radius": {
174
+ "none": {
175
+ "$value": "0px",
176
+ "$type": "dimension",
177
+ "$description": "단단한 테크니컬 대시보드 및 플랫 디자인",
178
+ "variable": "--atom-radius-none"
179
+ },
180
+ "sm": {
181
+ "$value": "6px",
182
+ "$type": "dimension",
183
+ "$description": "태그 배지, 미니 인풋, 정밀 데이터 테이블 컨트롤",
184
+ "variable": "--atom-radius-sm"
185
+ },
186
+ "md": {
187
+ "$value": "10px",
188
+ "$type": "dimension",
189
+ "$description": "일반적인 버튼, 인풋 필드, 툴팁",
190
+ "variable": "--atom-radius-md"
191
+ },
192
+ "lg": {
193
+ "$value": "16px",
194
+ "$type": "dimension",
195
+ "$description": "카드, 대화상자 모달, 주요 모바일 시트",
196
+ "variable": "--atom-radius-lg"
197
+ },
198
+ "xl": {
199
+ "$value": "24px",
200
+ "$type": "dimension",
201
+ "$description": "바텀시트 최상단 모서리, 히어로 배너 카드",
202
+ "variable": "--atom-radius-xl"
203
+ },
204
+ "full": {
205
+ "$value": "9999px",
206
+ "$type": "dimension",
207
+ "$description": "필터 칩, 플로팅 액션 버튼(FAB), 원형 아바타",
208
+ "variable": "--atom-radius-full"
209
+ }
210
+ },
211
+ "spacing": {
212
+ "1": {
213
+ "$value": "4px",
214
+ "$type": "dimension",
215
+ "px": 4,
216
+ "variable": "--atom-space-1"
217
+ },
218
+ "2": {
219
+ "$value": "8px",
220
+ "$type": "dimension",
221
+ "px": 8,
222
+ "variable": "--atom-space-2"
223
+ },
224
+ "3": {
225
+ "$value": "12px",
226
+ "$type": "dimension",
227
+ "px": 12,
228
+ "variable": "--atom-space-3"
229
+ },
230
+ "4": {
231
+ "$value": "16px",
232
+ "$type": "dimension",
233
+ "px": 16,
234
+ "variable": "--atom-space-4"
235
+ },
236
+ "5": {
237
+ "$value": "20px",
238
+ "$type": "dimension",
239
+ "px": 20,
240
+ "variable": "--atom-space-5"
241
+ },
242
+ "6": {
243
+ "$value": "24px",
244
+ "$type": "dimension",
245
+ "px": 24,
246
+ "variable": "--atom-space-6"
247
+ },
248
+ "8": {
249
+ "$value": "32px",
250
+ "$type": "dimension",
251
+ "px": 32,
252
+ "variable": "--atom-space-8"
253
+ },
254
+ "12": {
255
+ "$value": "48px",
256
+ "$type": "dimension",
257
+ "px": 48,
258
+ "variable": "--atom-space-12"
259
+ },
260
+ "16": {
261
+ "$value": "64px",
262
+ "$type": "dimension",
263
+ "px": 64,
264
+ "variable": "--atom-space-16"
265
+ }
266
+ },
267
+ "shadow": {
268
+ "sm": {
269
+ "$value": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
270
+ "$type": "shadow",
271
+ "$description": "기본 카드, 인풋 포커스 상태, 미세한 구분",
272
+ "variable": "--atom-shadow-sm"
273
+ },
274
+ "md": {
275
+ "$value": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
276
+ "$type": "shadow",
277
+ "$description": "호버된 카드, 드롭다운 메뉴, 팝오버 툴팁",
278
+ "variable": "--atom-shadow-md"
279
+ },
280
+ "lg": {
281
+ "$value": "0 10px 15px -3px rgb(0 0 0 / 0.1)",
282
+ "$type": "shadow",
283
+ "$description": "플로팅 내비게이션 바, 토스트 알림 메시지",
284
+ "variable": "--atom-shadow-lg"
285
+ },
286
+ "xl": {
287
+ "$value": "0 20px 25px -5px rgb(0 0 0 / 0.15)",
288
+ "$type": "shadow",
289
+ "$description": "화면 최상단 레이어의 모달 다이얼로그, 바텀시트",
290
+ "variable": "--atom-shadow-xl"
291
+ }
292
+ },
293
+ "presets": {
294
+ "toss": {
295
+ "name": "토스 스타일 (Toss)",
296
+ "brandColor": "#3182f6",
297
+ "radius": "16px",
298
+ "description": "Vivid Blue, 16px 볼드 라운딩, 시원한 여백과 극도의 미니멀리즘"
299
+ },
300
+ "daangn": {
301
+ "name": "당근 스타일 (Daangn)",
302
+ "brandColor": "#ff6f0f",
303
+ "radius": "12px",
304
+ "description": "Warm Orange, 12px 소프트 라운딩, 친근하고 따뜻한 커뮤니티 감성"
305
+ },
306
+ "hyper-violet": {
307
+ "name": "모던 바이올렛 (Violet Tech)",
308
+ "brandColor": "#7c3aed",
309
+ "radius": "8px",
310
+ "description": "세련된 보라색 테크 감성, 8px 샤프 라운딩, 개발자/B2B 최적화"
311
+ },
312
+ "forest-emerald": {
313
+ "name": "에코 에메랄드 (Emerald)",
314
+ "brandColor": "#10b981",
315
+ "radius": "14px",
316
+ "description": "자연스럽고 편안한 딥 그린, 핀테크 자산 및 웰니스 서비스용"
317
+ }
318
+ }
319
+ }