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
@@ -1,977 +1,319 @@
1
- {
2
- "global": {
3
- "palette": {
4
- "color": {
5
- "gray": {
6
- "100": {
7
- "$type": "color",
8
- "$value": "#f5f5f5"
9
- },
10
- "200": {
11
- "$type": "color",
12
- "$value": "#e6e6e6"
13
- },
14
- "300": {
15
- "$type": "color",
16
- "$value": "#dbdbdb"
17
- },
18
- "400": {
19
- "$type": "color",
20
- "$value": "#d4d4d4"
21
- },
22
- "500": {
23
- "$type": "color",
24
- "$value": "#ccc"
25
- },
26
- "600": {
27
- "$type": "color",
28
- "$value": "#bfbfbf"
29
- },
30
- "700": {
31
- "$type": "color",
32
- "$value": "#b3b3b3"
33
- },
34
- "800": {
35
- "$type": "color",
36
- "$value": "#a6a6a6"
37
- },
38
- "900": {
39
- "$type": "color",
40
- "$value": "#999"
41
- },
42
- "950": {
43
- "$type": "color",
44
- "$value": "#707070"
45
- }
46
- },
47
- "dark": {
48
- "100": {
49
- "$type": "color",
50
- "$value": "#111"
51
- },
52
- "200": {
53
- "$type": "color",
54
- "$value": "#222"
55
- },
56
- "300": {
57
- "$type": "color",
58
- "$value": "#333"
59
- },
60
- "400": {
61
- "$type": "color",
62
- "$value": "#444"
63
- },
64
- "500": {
65
- "$type": "color",
66
- "$value": "#555"
67
- },
68
- "600": {
69
- "$type": "color",
70
- "$value": "#666"
71
- },
72
- "700": {
73
- "$type": "color",
74
- "$value": "#777"
75
- },
76
- "800": {
77
- "$type": "color",
78
- "$value": "#888"
79
- },
80
- "900": {
81
- "$type": "color",
82
- "$value": "#999"
83
- },
84
- "950": {
85
- "$type": "color",
86
- "$value": "#b2b2b2"
87
- }
88
- },
89
- "blue": {
90
- "100": {
91
- "$type": "color",
92
- "$value": "#e3f2fd"
93
- },
94
- "200": {
95
- "$type": "color",
96
- "$value": "#bbdefb"
97
- },
98
- "300": {
99
- "$type": "color",
100
- "$value": "#90caf9"
101
- },
102
- "400": {
103
- "$type": "color",
104
- "$value": "#64b5f6"
105
- },
106
- "500": {
107
- "$type": "color",
108
- "$value": "#2196f3"
109
- },
110
- "600": {
111
- "$type": "color",
112
- "$value": "#1e88e5"
113
- },
114
- "700": {
115
- "$type": "color",
116
- "$value": "#1976d2"
117
- },
118
- "800": {
119
- "$type": "color",
120
- "$value": "#1565c0"
121
- },
122
- "900": {
123
- "$type": "color",
124
- "$value": "#0d47a1"
125
- },
126
- "950": {
127
- "$type": "color",
128
- "$value": "#0a2f6b"
129
- }
130
- },
131
- "indigo": {
132
- "100": {
133
- "$type": "color",
134
- "$value": "#e8eaf6"
135
- },
136
- "200": {
137
- "$type": "color",
138
- "$value": "#c5cae9"
139
- },
140
- "300": {
141
- "$type": "color",
142
- "$value": "#7986cb"
143
- },
144
- "400": {
145
- "$type": "color",
146
- "$value": "#3f51b5"
147
- },
148
- "500": {
149
- "$type": "color",
150
- "$value": "#162c4e"
151
- },
152
- "600": {
153
- "$type": "color",
154
- "$value": "#122542"
155
- },
156
- "700": {
157
- "$type": "color",
158
- "$value": "#0e1d35"
159
- },
160
- "800": {
161
- "$type": "color",
162
- "$value": "#0a1628"
163
- },
164
- "900": {
165
- "$type": "color",
166
- "$value": "#070f1b"
167
- },
168
- "950": {
169
- "$type": "color",
170
- "$value": "#04080e"
171
- }
172
- },
173
- "red": {
174
- "100": {
175
- "$type": "color",
176
- "$value": "#ffebee"
177
- },
178
- "200": {
179
- "$type": "color",
180
- "$value": "#ffcdd2"
181
- },
182
- "300": {
183
- "$type": "color",
184
- "$value": "#ef9a9a"
185
- },
186
- "400": {
187
- "$type": "color",
188
- "$value": "#e57373"
189
- },
190
- "500": {
191
- "$type": "color",
192
- "$value": "#f44336"
193
- },
194
- "600": {
195
- "$type": "color",
196
- "$value": "#e53935"
197
- },
198
- "700": {
199
- "$type": "color",
200
- "$value": "#d32f2f"
201
- },
202
- "800": {
203
- "$type": "color",
204
- "$value": "#c62828"
205
- },
206
- "900": {
207
- "$type": "color",
208
- "$value": "#b71c1c"
209
- },
210
- "950": {
211
- "$type": "color",
212
- "$value": "#7f1212"
213
- }
214
- },
215
- "yellow": {
216
- "100": {
217
- "$type": "color",
218
- "$value": "#fff8e1"
219
- },
220
- "200": {
221
- "$type": "color",
222
- "$value": "#ffecb3"
223
- },
224
- "300": {
225
- "$type": "color",
226
- "$value": "#ffe082"
227
- },
228
- "400": {
229
- "$type": "color",
230
- "$value": "#ffd54f"
231
- },
232
- "500": {
233
- "$type": "color",
234
- "$value": "#ffb300"
235
- },
236
- "600": {
237
- "$type": "color",
238
- "$value": "#ffa000"
239
- },
240
- "700": {
241
- "$type": "color",
242
- "$value": "#ff8f00"
243
- },
244
- "800": {
245
- "$type": "color",
246
- "$value": "#ff6f00"
247
- },
248
- "900": {
249
- "$type": "color",
250
- "$value": "#e65100"
251
- },
252
- "950": {
253
- "$type": "color",
254
- "$value": "#9e3600"
255
- }
256
- },
257
- "green": {
258
- "100": {
259
- "$type": "color",
260
- "$value": "#e8f5e9"
261
- },
262
- "200": {
263
- "$type": "color",
264
- "$value": "#c8e6c9"
265
- },
266
- "300": {
267
- "$type": "color",
268
- "$value": "#a5d6a7"
269
- },
270
- "400": {
271
- "$type": "color",
272
- "$value": "#81c784"
273
- },
274
- "500": {
275
- "$type": "color",
276
- "$value": "#4caf50"
277
- },
278
- "600": {
279
- "$type": "color",
280
- "$value": "#43a047"
281
- },
282
- "700": {
283
- "$type": "color",
284
- "$value": "#388e3c"
285
- },
286
- "800": {
287
- "$type": "color",
288
- "$value": "#2e7d32"
289
- },
290
- "900": {
291
- "$type": "color",
292
- "$value": "#1b5e20"
293
- },
294
- "950": {
295
- "$type": "color",
296
- "$value": "#104015"
297
- }
298
- },
299
- "black": {
300
- "$type": "color",
301
- "$value": "#111"
302
- },
303
- "white": {
304
- "$type": "color",
305
- "$value": "#fafafa"
306
- },
307
- "primary": {
308
- "$type": "color",
309
- "$value": "{palette.color.blue.500}"
310
- },
311
- "secondary": {
312
- "$type": "color",
313
- "$value": "{palette.color.indigo.500}"
314
- },
315
- "danger": {
316
- "$type": "color",
317
- "$value": "{palette.color.red.500}"
318
- },
319
- "warning": {
320
- "$type": "color",
321
- "$value": "{palette.color.yellow.500}"
322
- },
323
- "info": {
324
- "$type": "color",
325
- "$value": "{palette.color.gray.900}"
326
- },
327
- "success": {
328
- "$type": "color",
329
- "$value": "{palette.color.green.500}"
330
- }
331
- },
332
- "text": {
333
- "h1": {
334
- "$type": "fontSizes",
335
- "$value": "40"
336
- },
337
- "h2": {
338
- "$type": "fontSizes",
339
- "$value": "36"
340
- },
341
- "h3": {
342
- "$type": "fontSizes",
343
- "$value": "28"
344
- },
345
- "h4": {
346
- "$type": "fontSizes",
347
- "$value": "24"
348
- },
349
- "h5": {
350
- "$type": "fontSizes",
351
- "$value": "20"
352
- },
353
- "h6": {
354
- "$type": "fontSizes",
355
- "$value": "16"
356
- },
357
- "body": {
358
- "$type": "fontSizes",
359
- "$value": "16"
360
- },
361
- "sm": {
362
- "$type": "fontSizes",
363
- "$value": "12"
364
- }
365
- },
366
- "font": {
367
- "weight": {
368
- "header": {
369
- "$type": "fontWeights",
370
- "$value": "700"
371
- }
372
- },
373
- "spoqaNeo": {
374
- "$type": "fontFamilies",
375
- "$value": "Spoqa Han Sans Neo"
376
- }
377
- },
378
- "radius": {
379
- "common": {
380
- "$type": "borderRadius",
381
- "$value": "4"
382
- },
383
- "circle": {
384
- "$type": "borderRadius",
385
- "$value": "10000000"
386
- }
387
- },
388
- "spacing": {
389
- "common": {
390
- "y": {
391
- "$type": "spacing",
392
- "$value": "12"
393
- },
394
- "x": {
395
- "$type": "spacing",
396
- "$value": "16"
397
- }
398
- },
399
- "gap": {
400
- "small": {
401
- "$type": "spacing",
402
- "$value": "4"
403
- }
404
- },
405
- "sm": {
406
- "y": {
407
- "$type": "spacing",
408
- "$value": "8"
409
- }
410
- },
411
- "small": {
412
- "$type": "sizing",
413
- "$value": "20"
414
- }
415
- }
416
- }
417
- },
418
- "white": {
419
- "bg": {
420
- "card": {
421
- "$type": "color",
422
- "$value": "{palette.color.white}"
423
- },
424
- "wrapper": {
425
- "$type": "color",
426
- "$value": "{palette.color.gray.200}"
427
- },
428
- "hover": {
429
- "$type": "color",
430
- "$value": "{palette.color.gray.200}"
431
- },
432
- "input": {
433
- "standard": {
434
- "$type": "color",
435
- "$value": "{palette.color.gray.100}"
436
- },
437
- "hover": {
438
- "$type": "color",
439
- "$value": "{palette.color.gray.200}"
440
- },
441
- "disabled": {
442
- "$type": "color",
443
- "$value": "{palette.color.gray.500}"
444
- }
445
- }
446
- },
447
- "text": {
448
- "title": {
449
- "$type": "color",
450
- "$value": "{palette.color.dark.100}"
451
- },
452
- "body": {
453
- "$type": "color",
454
- "$value": "{palette.color.dark.400}"
455
- },
456
- "sub": {
457
- "$type": "color",
458
- "$value": "{palette.color.gray.950}"
459
- },
460
- "standard": {
461
- "$type": "color",
462
- "$value": "{palette.color.dark.300}"
463
- },
464
- "active": {
465
- "$type": "color",
466
- "$value": "{palette.color.gray.100}"
467
- },
468
- "placeholder": {
469
- "$type": "color",
470
- "$value": "{palette.color.gray.950}"
471
- },
472
- "disabled": {
473
- "$type": "color",
474
- "$value": "{palette.color.gray.950}"
475
- }
476
- },
477
- "border": {
478
- "standard": {
479
- "$type": "color",
480
- "$value": "{palette.color.gray.500}"
481
- },
482
- "active": {
483
- "$type": "color",
484
- "$value": "{palette.color.dark.400}"
485
- }
486
- },
487
- "button": {
488
- "primary": {
489
- "bg": {
490
- "disabled": {
491
- "$type": "color",
492
- "$value": "{palette.color.blue.200}"
493
- }
494
- },
495
- "text": {
496
- "disabled": {
497
- "$type": "color",
498
- "$value": "{palette.color.blue.400}"
499
- }
500
- },
501
- "border": {
502
- "disabled": {
503
- "$type": "color",
504
- "$value": "{palette.color.blue.200}"
505
- }
506
- }
507
- },
508
- "secondary": {
509
- "bg": {
510
- "disabled": {
511
- "$type": "color",
512
- "$value": "{palette.color.indigo.200}"
513
- }
514
- },
515
- "text": {
516
- "disabled": {
517
- "$type": "color",
518
- "$value": "{palette.color.indigo.400}"
519
- }
520
- },
521
- "border": {
522
- "disabled": {
523
- "$type": "color",
524
- "$value": "{palette.color.indigo.200}"
525
- }
526
- }
527
- },
528
- "success": {
529
- "bg": {
530
- "disabled": {
531
- "$type": "color",
532
- "$value": "{palette.color.green.200}"
533
- }
534
- },
535
- "text": {
536
- "disabled": {
537
- "$type": "color",
538
- "$value": "{palette.color.green.400}"
539
- }
540
- },
541
- "border": {
542
- "disabled": {
543
- "$type": "color",
544
- "$value": "{palette.color.green.200}"
545
- }
546
- }
547
- },
548
- "danger": {
549
- "bg": {
550
- "disabled": {
551
- "$type": "color",
552
- "$value": "{palette.color.red.200}"
553
- }
554
- },
555
- "text": {
556
- "disabled": {
557
- "$type": "color",
558
- "$value": "{palette.color.red.400}"
559
- }
560
- },
561
- "border": {
562
- "disabled": {
563
- "$type": "color",
564
- "$value": "{palette.color.red.200}"
565
- }
566
- }
567
- },
568
- "warning": {
569
- "bg": {
570
- "disabled": {
571
- "$type": "color",
572
- "$value": "{palette.color.yellow.200}"
573
- }
574
- },
575
- "text": {
576
- "disabled": {
577
- "$type": "color",
578
- "$value": "{palette.color.yellow.400}"
579
- }
580
- },
581
- "border": {
582
- "disabled": {
583
- "$type": "color",
584
- "$value": "{palette.color.yellow.200}"
585
- }
586
- }
587
- },
588
- "gray": {
589
- "bg": {
590
- "disabled": {
591
- "$type": "color",
592
- "$value": "{palette.color.gray.200}"
593
- }
594
- },
595
- "text": {
596
- "disabled": {
597
- "$type": "color",
598
- "$value": "{palette.color.gray.500}"
599
- }
600
- },
601
- "border": {
602
- "disabled": {
603
- "$type": "color",
604
- "$value": "{palette.color.gray.300}"
605
- }
606
- }
607
- }
608
- },
609
- "table": {
610
- "header": {
611
- "bg": {
612
- "$type": "color",
613
- "$value": "{palette.color.gray.400}"
614
- },
615
- "text": {
616
- "$type": "color",
617
- "$value": "{palette.color.dark.500}"
618
- },
619
- "border": {
620
- "$type": "color",
621
- "$value": "{palette.color.gray.500}"
622
- }
623
- },
624
- "body": {
625
- "bg": {
626
- "$type": "color",
627
- "$value": "{palette.color.white}"
628
- },
629
- "bgEven": {
630
- "$type": "color",
631
- "$value": "{palette.color.gray.100}"
632
- },
633
- "text": {
634
- "$type": "color",
635
- "$value": "{palette.color.dark.300}"
636
- },
637
- "border": {
638
- "$type": "color",
639
- "$value": "{palette.color.gray.300}"
640
- }
641
- }
642
- },
643
- "pagination": {
644
- "bg": {
645
- "hover": {
646
- "$type": "color",
647
- "$value": "{palette.color.gray.100}"
648
- }
649
- }
650
- },
651
- "callout": {
652
- "note": {
653
- "bg": { "$type": "color", "$value": "{palette.color.gray.100}" },
654
- "text": { "$type": "color", "$value": "{palette.color.gray.900}" }
655
- },
656
- "tip": {
657
- "bg": { "$type": "color", "$value": "{palette.color.green.100}" },
658
- "text": { "$type": "color", "$value": "{palette.color.green.900}" }
659
- },
660
- "danger": {
661
- "bg": { "$type": "color", "$value": "{palette.color.red.100}" },
662
- "text": { "$type": "color", "$value": "{palette.color.red.900}" }
663
- },
664
- "warning": {
665
- "bg": { "$type": "color", "$value": "{palette.color.yellow.100}" },
666
- "text": { "$type": "color", "$value": "{palette.color.yellow.900}" }
667
- }
668
- }
669
- },
670
- "dark": {
671
- "bg": {
672
- "card": {
673
- "$type": "color",
674
- "$value": "{palette.color.dark.200}"
675
- },
676
- "wrapper": {
677
- "$type": "color",
678
- "$value": "{palette.color.black}"
679
- },
680
- "hover": {
681
- "$type": "color",
682
- "$value": "{palette.color.dark.400}"
683
- },
684
- "input": {
685
- "standard": {
686
- "$type": "color",
687
- "$value": "{palette.color.dark.300}"
688
- },
689
- "hover": {
690
- "$type": "color",
691
- "$value": "{palette.color.dark.400}"
692
- },
693
- "disabled": {
694
- "$type": "color",
695
- "$value": "{palette.color.dark.200}"
696
- }
697
- }
698
- },
699
- "text": {
700
- "title": {
701
- "$type": "color",
702
- "$value": "{palette.color.white}"
703
- },
704
- "body": {
705
- "$type": "color",
706
- "$value": "{palette.color.gray.200}"
707
- },
708
- "sub": {
709
- "$type": "color",
710
- "$value": "{palette.color.gray.600}"
711
- },
712
- "standard": {
713
- "$type": "color",
714
- "$value": "{palette.color.white}"
715
- },
716
- "active": {
717
- "$type": "color",
718
- "$value": "{palette.color.white}"
719
- },
720
- "placeholder": {
721
- "$type": "color",
722
- "$value": "{palette.color.gray.950}"
723
- },
724
- "disabled": {
725
- "$type": "color",
726
- "$value": "{palette.color.dark.400}"
727
- }
728
- },
729
- "border": {
730
- "standard": {
731
- "$type": "color",
732
- "$value": "{palette.color.dark.400}"
733
- },
734
- "active": {
735
- "$type": "color",
736
- "$value": "{palette.color.gray.500}"
737
- }
738
- },
739
- "button": {
740
- "primary": {
741
- "bg": {
742
- "disabled": {
743
- "$type": "color",
744
- "$value": "{palette.color.blue.900}"
745
- }
746
- },
747
- "text": {
748
- "disabled": {
749
- "$type": "color",
750
- "$value": "{palette.color.blue.700}"
751
- }
752
- },
753
- "border": {
754
- "disabled": {
755
- "$type": "color",
756
- "$value": "{palette.color.blue.800}"
757
- }
758
- }
759
- },
760
- "secondary": {
761
- "bg": {
762
- "disabled": {
763
- "$type": "color",
764
- "$value": "{palette.color.indigo.900}"
765
- }
766
- },
767
- "text": {
768
- "disabled": {
769
- "$type": "color",
770
- "$value": "{palette.color.indigo.700}"
771
- }
772
- },
773
- "border": {
774
- "disabled": {
775
- "$type": "color",
776
- "$value": "{palette.color.indigo.800}"
777
- }
778
- }
779
- },
780
- "success": {
781
- "bg": {
782
- "disabled": {
783
- "$type": "color",
784
- "$value": "{palette.color.green.900}"
785
- }
786
- },
787
- "text": {
788
- "disabled": {
789
- "$type": "color",
790
- "$value": "{palette.color.green.700}"
791
- }
792
- },
793
- "border": {
794
- "disabled": {
795
- "$type": "color",
796
- "$value": "{palette.color.green.800}"
797
- }
798
- }
799
- },
800
- "danger": {
801
- "bg": {
802
- "disabled": {
803
- "$type": "color",
804
- "$value": "{palette.color.red.900}"
805
- }
806
- },
807
- "text": {
808
- "disabled": {
809
- "$type": "color",
810
- "$value": "{palette.color.red.700}"
811
- }
812
- },
813
- "border": {
814
- "disabled": {
815
- "$type": "color",
816
- "$value": "{palette.color.red.800}"
817
- }
818
- }
819
- },
820
- "warning": {
821
- "bg": {
822
- "disabled": {
823
- "$type": "color",
824
- "$value": "{palette.color.yellow.900}"
825
- }
826
- },
827
- "text": {
828
- "disabled": {
829
- "$type": "color",
830
- "$value": "{palette.color.yellow.700}"
831
- }
832
- },
833
- "border": {
834
- "disabled": {
835
- "$type": "color",
836
- "$value": "{palette.color.yellow.800}"
837
- }
838
- }
839
- },
840
- "gray": {
841
- "bg": {
842
- "disabled": {
843
- "$type": "color",
844
- "$value": "{palette.color.gray.800}"
845
- }
846
- },
847
- "text": {
848
- "disabled": {
849
- "$type": "color",
850
- "$value": "{palette.color.gray.600}"
851
- }
852
- },
853
- "border": {
854
- "disabled": {
855
- "$type": "color",
856
- "$value": "{palette.color.gray.700}"
857
- }
858
- }
859
- }
860
- },
861
- "table": {
862
- "header": {
863
- "bg": {
864
- "$type": "color",
865
- "$value": "{palette.color.dark.400}"
866
- },
867
- "text": {
868
- "$type": "color",
869
- "$value": "{palette.color.gray.200}"
870
- },
871
- "border": {
872
- "$type": "color",
873
- "$value": "{palette.color.dark.600}"
874
- }
875
- },
876
- "body": {
877
- "bg": {
878
- "$type": "color",
879
- "$value": "{palette.color.dark.200}"
880
- },
881
- "bgEven": {
882
- "$type": "color",
883
- "$value": "{palette.color.dark.300}"
884
- },
885
- "text": {
886
- "$type": "color",
887
- "$value": "{palette.color.gray.200}"
888
- },
889
- "border": {
890
- "$type": "color",
891
- "$value": "{palette.color.dark.400}"
892
- }
893
- }
894
- },
895
- "pagination": {
896
- "bg": {
897
- "hover": {
898
- "$type": "color",
899
- "$value": "{palette.color.dark.300}"
900
- }
901
- }
902
- },
903
- "callout": {
904
- "note": {
905
- "bg": { "$type": "color", "$value": "{palette.color.dark.300}" },
906
- "text": { "$type": "color", "$value": "{palette.color.white}" }
907
- },
908
- "tip": {
909
- "bg": { "$type": "color", "$value": "{palette.color.green.950}" },
910
- "text": { "$type": "color", "$value": "{palette.color.green.200}" }
911
- },
912
- "danger": {
913
- "bg": { "$type": "color", "$value": "{palette.color.red.950}" },
914
- "text": { "$type": "color", "$value": "{palette.color.red.200}" }
915
- },
916
- "warning": {
917
- "bg": { "$type": "color", "$value": "{palette.color.yellow.950}" },
918
- "text": { "$type": "color", "$value": "{palette.color.yellow.200}" }
919
- }
920
- }
921
- },
922
- "$themes": [
923
- {
924
- "id": "52ab73ee-aaed-80ed-8007-612772e1331f",
925
- "name": "white",
926
- "group": "",
927
- "description": "",
928
- "isSource": false,
929
- "selectedTokenSets": {
930
- "white": "enabled"
931
- },
932
- "$figmaVariableReferences": {}
933
- },
934
- {
935
- "id": "52ab73ee-aaed-80ed-8007-6127962ed2ab",
936
- "name": "dark",
937
- "group": "",
938
- "description": "",
939
- "isSource": false,
940
- "selectedTokenSets": {
941
- "dark": "enabled"
942
- },
943
- "$figmaVariableReferences": {}
944
- },
945
- {
946
- "id": "topnav-standard-id",
947
- "name": "topnav-standard",
948
- "group": "topnav",
949
- "selectedTokenSets": {}
950
- },
951
- {
952
- "id": "topnav-dark-id",
953
- "name": "topnav-dark",
954
- "group": "topnav",
955
- "selectedTokenSets": {}
956
- },
957
- {
958
- "id": "sidenav-standard-id",
959
- "name": "sidenav-standard",
960
- "group": "sidenav",
961
- "selectedTokenSets": {}
962
- },
963
- {
964
- "id": "sidenav-dark-id",
965
- "name": "sidenav-dark",
966
- "group": "sidenav",
967
- "selectedTokenSets": {}
968
- }
969
- ],
970
- "$metadata": {
971
- "tokenSetOrder": [
972
- "global",
973
- "white",
974
- "dark"
975
- ]
976
- }
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
+ }
977
319
  }