@lunit/design-system 1.0.0-a.2 → 1.0.0-a.3

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 (161) hide show
  1. package/.babelrc.json +16 -0
  2. package/dist/cjs/components/Alert/index.js +1 -1
  3. package/dist/cjs/components/Alert/index.js.map +1 -1
  4. package/dist/cjs/components/Button/index.js +1 -1
  5. package/dist/cjs/components/Button/index.js.map +1 -1
  6. package/dist/cjs/components/Chip/index.js +1 -1
  7. package/dist/cjs/components/Chip/index.js.map +1 -1
  8. package/dist/cjs/components/TextField/index.js +1 -1
  9. package/dist/cjs/components/TextField/index.js.map +1 -1
  10. package/dist/cjs/components/ToggleButton/index.js +1 -1
  11. package/dist/cjs/components/ToggleButton/index.js.map +1 -1
  12. package/dist/cjs/index.js +1 -1
  13. package/dist/cjs/index.js.map +1 -1
  14. package/dist/components/Alert/Alert.js +16 -4
  15. package/dist/components/Alert/Alert.js.map +1 -1
  16. package/dist/components/Alert/Alert.styled.js +48 -0
  17. package/dist/components/Alert/Alert.styled.js.map +1 -0
  18. package/dist/components/Alert/Alert.types.js +2 -0
  19. package/dist/components/Alert/Alert.types.js.map +1 -0
  20. package/dist/components/Alert/Alert.utils..js +38 -0
  21. package/dist/components/Alert/Alert.utils..js.map +1 -0
  22. package/dist/components/Button/Button.js +1 -1
  23. package/dist/components/Button/Button.js.map +1 -1
  24. package/dist/components/Button/Button.styled.js +31 -21
  25. package/dist/components/Button/Button.styled.js.map +1 -1
  26. package/dist/components/Button/utils/getHoverStyle.js +7 -0
  27. package/dist/components/Button/utils/getHoverStyle.js.map +1 -0
  28. package/dist/components/Chip/Chip.js +1 -1
  29. package/dist/components/Chip/Chip.js.map +1 -1
  30. package/dist/components/Chip/Chip.styled.js +2 -3
  31. package/dist/components/Chip/Chip.styled.js.map +1 -1
  32. package/dist/components/TextField/TextField.js +15 -3
  33. package/dist/components/TextField/TextField.js.map +1 -1
  34. package/dist/components/TextField/TextField.style.js +245 -0
  35. package/dist/components/TextField/TextField.style.js.map +1 -0
  36. package/dist/components/TextField/TextField.types.js +2 -0
  37. package/dist/components/TextField/TextField.types.js.map +1 -0
  38. package/dist/components/TextField/TextFieldIcon.js +7 -0
  39. package/dist/components/TextField/TextFieldIcon.js.map +1 -0
  40. package/dist/components/Toast/Toast.js +26 -0
  41. package/dist/components/Toast/Toast.js.map +1 -0
  42. package/dist/components/Toast/Toast.styled.js +49 -0
  43. package/dist/components/Toast/Toast.styled.js.map +1 -0
  44. package/dist/components/Toast/Toast.types.js +2 -0
  45. package/dist/components/Toast/Toast.types.js.map +1 -0
  46. package/dist/components/Toast/Toast.utils.js +14 -0
  47. package/dist/components/Toast/Toast.utils.js.map +1 -0
  48. package/dist/components/Toast/index.js +2 -0
  49. package/dist/components/Toast/index.js.map +1 -0
  50. package/dist/foundation/colors/base/grey.js +16 -0
  51. package/dist/foundation/colors/base/grey.js.map +1 -1
  52. package/dist/foundation/colors/base/lunitGreen.js +2 -2
  53. package/dist/foundation/colors/base/lunitGreen.js.map +1 -1
  54. package/dist/foundation/colors/base/lunitTeal.js +5 -5
  55. package/dist/foundation/colors/base/lunitTeal.js.map +1 -1
  56. package/dist/foundation/colors/base/red.js +2 -2
  57. package/dist/foundation/colors/index.js +24 -4
  58. package/dist/foundation/colors/index.js.map +1 -1
  59. package/dist/foundation/colors/token/component.js +265 -291
  60. package/dist/foundation/colors/token/component.js.map +1 -1
  61. package/dist/foundation/colors/token/core.js +132 -125
  62. package/dist/foundation/colors/token/core.js.map +1 -1
  63. package/dist/index.js +1 -0
  64. package/dist/index.js.map +1 -1
  65. package/dist/theme.js +5 -0
  66. package/dist/theme.js.map +1 -1
  67. package/dist/types/components/Alert/Alert.d.ts +3 -1
  68. package/dist/types/components/Alert/Alert.styled.d.ts +6 -0
  69. package/dist/types/components/Alert/Alert.types.d.ts +9 -0
  70. package/dist/types/components/Alert/Alert.utils..d.ts +4 -0
  71. package/dist/types/components/Button/Button.d.ts +1 -1
  72. package/dist/types/components/Button/Button.styled.d.ts +26 -2
  73. package/dist/types/components/Button/Button.types.d.ts +4 -4
  74. package/dist/types/components/Button/utils/getHoverStyle.d.ts +6 -0
  75. package/dist/types/components/Chip/Chip.styled.d.ts +9 -9
  76. package/dist/types/components/Chip/Chip.types.d.ts +1 -1
  77. package/dist/types/components/TextField/TextField.d.ts +2 -1
  78. package/dist/types/components/TextField/TextField.style.d.ts +9 -0
  79. package/dist/types/components/TextField/TextField.types.d.ts +29 -0
  80. package/dist/types/components/TextField/TextFieldIcon.d.ts +8 -0
  81. package/dist/types/components/TextField/index.d.ts +1 -0
  82. package/dist/types/components/Toast/Toast.d.ts +4 -0
  83. package/dist/types/components/Toast/Toast.styled.d.ts +1 -0
  84. package/dist/types/components/Toast/Toast.types.d.ts +4 -0
  85. package/dist/types/components/Toast/Toast.utils.d.ts +2 -0
  86. package/dist/types/components/Toast/index.d.ts +1 -0
  87. package/dist/types/components/ToggleButton/ToggleButton.styled.d.ts +1 -1
  88. package/dist/types/components/ToggleButton/ToggleButton.types.d.ts +4 -4
  89. package/dist/types/foundation/colors/base/grey.d.ts +16 -0
  90. package/dist/types/foundation/colors/base/lunitGreen.d.ts +2 -2
  91. package/dist/types/foundation/colors/base/lunitTeal.d.ts +2 -2
  92. package/dist/types/foundation/colors/index.d.ts +42 -9
  93. package/dist/types/foundation/colors/types.d.ts +1 -3
  94. package/dist/types/foundation/index.d.ts +37 -5
  95. package/dist/types/index.d.ts +1 -0
  96. package/package.json +21 -16
  97. package/src/components/Alert/Alert.styled.ts +60 -0
  98. package/src/components/Alert/Alert.tsx +49 -5
  99. package/src/components/Alert/Alert.types.ts +10 -0
  100. package/src/components/Alert/Alert.utils..ts +41 -0
  101. package/src/components/Button/Button.styled.ts +33 -21
  102. package/src/components/Button/Button.tsx +1 -5
  103. package/src/components/Button/Button.types.ts +4 -4
  104. package/src/components/Button/utils/getHoverStyle.ts +7 -0
  105. package/src/components/Chip/Chip.styled.ts +6 -4
  106. package/src/components/Chip/Chip.tsx +1 -1
  107. package/src/components/Chip/Chip.types.ts +2 -2
  108. package/src/components/TextField/TextField.style.ts +316 -0
  109. package/src/components/TextField/TextField.tsx +75 -3
  110. package/src/components/TextField/TextField.types.ts +38 -0
  111. package/src/components/TextField/TextFieldIcon.tsx +24 -0
  112. package/src/components/TextField/index.ts +6 -0
  113. package/src/components/Toast/Toast.styled.ts +49 -0
  114. package/src/components/Toast/Toast.tsx +66 -0
  115. package/src/components/Toast/Toast.types.ts +14 -0
  116. package/src/components/Toast/Toast.utils.ts +15 -0
  117. package/src/components/Toast/index.tsx +1 -0
  118. package/src/components/ToggleButton/ToggleButton.types.ts +4 -7
  119. package/src/foundation/colors/base/grey.ts +17 -0
  120. package/src/foundation/colors/base/lunitGreen.ts +2 -2
  121. package/src/foundation/colors/base/lunitTeal.ts +5 -5
  122. package/src/foundation/colors/base/red.ts +2 -2
  123. package/src/foundation/colors/index.ts +29 -8
  124. package/src/foundation/colors/token/component.ts +300 -326
  125. package/src/foundation/colors/token/core.ts +152 -145
  126. package/src/foundation/colors/types.ts +1 -3
  127. package/src/index.ts +1 -0
  128. package/src/stories/components/Alert/Alert.stories.tsx +148 -4
  129. package/src/stories/components/Button/BasicButton.stories.tsx +19 -28
  130. package/src/stories/components/Button/IconButton.stories.tsx +39 -28
  131. package/src/stories/components/Button/Kind.stories.tsx +83 -57
  132. package/src/stories/components/Chip/Chip.stories.tsx +94 -82
  133. package/src/stories/components/DataTable/DataTable.stories.tsx +6 -4
  134. package/src/stories/components/DatePicker/DatePicker.stories.tsx +6 -4
  135. package/src/stories/components/Dropdown/Dropdown.stories.tsx +12 -6
  136. package/src/stories/components/Modal/Modal.stories.tsx +6 -4
  137. package/src/stories/components/SelectControl/Checkbox.stories.tsx +31 -23
  138. package/src/stories/components/SelectControl/RadioGroup.stories.tsx +6 -5
  139. package/src/stories/components/SelectControl/RadioStatus.stories.tsx +6 -4
  140. package/src/stories/components/SelectControl/Toggle.stories.tsx +33 -19
  141. package/src/stories/components/TextField/TextFieldMulti.stories.tsx +137 -0
  142. package/src/stories/components/TextField/TextFieldSingle.stories.tsx +283 -0
  143. package/src/stories/components/TextField/TextFieldSize.stories.tsx +134 -0
  144. package/src/stories/components/Toast/Toast.stories.tsx +152 -0
  145. package/src/stories/components/ToggleButton/Basic.stories.tsx +35 -31
  146. package/src/stories/components/ToggleButton/Group.stories.tsx +21 -21
  147. package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +53 -43
  148. package/src/stories/components/ToggleButton/WithIcon.stories.tsx +35 -36
  149. package/src/stories/components/Tooltip/Tooltip.stories.tsx +6 -4
  150. package/src/stories/foundation/Elevation/Elevation.stories.tsx +10 -6
  151. package/src/stories/foundation/Typography/{Typography.stories.mdx → Typography.mdx} +10 -5
  152. package/src/stories/foundation/Typography/Typography.stories.tsx +46 -36
  153. package/src/stories/foundation/Typography/TypographyExamples.stories.tsx +44 -0
  154. package/src/stories/foundation/colors/Colors.stories.tsx +7 -5
  155. package/src/stories/foundation/colors/Mui.stories.tsx +18 -0
  156. package/src/stories/foundation/colors/Token.inComponent.stories.tsx +2 -2
  157. package/src/stories/foundation/colors/TokenPaletteTable.stories.tsx +28 -0
  158. package/src/stories/foundation/colors/TokenPaletteTable.tsx +127 -0
  159. package/src/theme.ts +5 -0
  160. package/src/stories/components/TextField/TextField.stories.tsx +0 -13
  161. package/src/stories/foundation/colors/Token.stories.tsx +0 -190
@@ -9,448 +9,422 @@ export interface TokenComponentColorValue {
9
9
  export const tokenComponentColor: TokenComponentColorValue = {
10
10
  btn: {
11
11
  btn_contained_primary_bg: {
12
- light1: "--lunitTeal-40",
13
- light2: "--lunitTeal-40",
14
- dark1: "--lunitTeal-40",
15
- dark2: "--lunitTeal-40",
16
- dark3: "--lunitTeal-40",
17
- dark4: "--lunitTeal-40",
12
+ light1: "--lunit_teal_30",
13
+ light2: "--lunit_teal_30",
14
+ dark1: "--lunit_teal_40",
15
+ dark2: "--lunit_teal_40",
16
+ dark3: "--lunit_teal_40",
17
+ dark4: "--lunit_teal_40",
18
18
  },
19
19
  btn_contained_primary_text: {
20
- light1: "--grey-95",
21
- light2: "--grey-95",
22
- dark1: "--grey-95",
23
- dark2: "--grey-95",
24
- dark3: "--grey-95",
25
- dark4: "--grey-95",
20
+ light1: "--grey_95",
21
+ light2: "--grey_95",
22
+ dark1: "--grey_95",
23
+ dark2: "--grey_95",
24
+ dark3: "--grey_95",
25
+ dark4: "--grey_95",
26
26
  },
27
27
  btn_contained_secondary_bg: {
28
- light1: "--grey-15",
29
- light2: "--grey-15",
30
- dark1: "--grey-60",
31
- dark2: "--grey-60",
32
- dark3: "--grey-60",
33
- dark4: "--grey-60",
28
+ light1: "--grey_15",
29
+ light2: "--grey_15",
30
+ dark1: "--grey_60",
31
+ dark2: "--grey_60",
32
+ dark3: "--grey_60",
33
+ dark4: "--grey_60",
34
34
  },
35
35
  btn_contained_secondary_text: {
36
- light1: "--grey-95",
37
- light2: "--grey-95",
38
- dark1: "--grey-5",
39
- dark2: "--grey-5",
40
- dark3: "--grey-5",
41
- dark4: "--grey-5",
36
+ light1: "--grey_95",
37
+ light2: "--grey_95",
38
+ dark1: "--grey_5",
39
+ dark2: "--grey_5",
40
+ dark3: "--grey_5",
41
+ dark4: "--grey_5",
42
42
  },
43
43
  btn_contained_error_bg: {
44
- light1: "--red-40",
45
- light2: "--red-40",
46
- dark1: "--red-40",
47
- dark2: "--red-40",
48
- dark3: "--red-40",
49
- dark4: "--red-40",
44
+ light1: "--red_30",
45
+ light2: "--red_30",
46
+ dark1: "--red_40",
47
+ dark2: "--red_40",
48
+ dark3: "--red_40",
49
+ dark4: "--red_40",
50
50
  },
51
51
  btn_contained_error_text: {
52
- light1: "--grey-95",
53
- light2: "--grey-95",
54
- dark1: "--grey-95",
55
- dark2: "--grey-95",
56
- dark3: "--grey-95",
57
- dark4: "--grey-95",
52
+ light1: "--grey_95",
53
+ light2: "--grey_95",
54
+ dark1: "--grey_95",
55
+ dark2: "--grey_95",
56
+ dark3: "--grey_95",
57
+ dark4: "--grey_95",
58
58
  },
59
59
  btn_outlined_primary_border: {
60
- light1: "--lunitTeal-50",
61
- light2: "--lunitTeal-50",
62
- dark1: "--lunitTeal-40",
63
- dark2: "--lunitTeal-40",
64
- dark3: "--lunitTeal-40",
65
- dark4: "--lunitTeal-40",
60
+ light1: "--lunit_teal_40",
61
+ light2: "--lunit_teal_40",
62
+ dark1: "--lunit_teal_40",
63
+ dark2: "--lunit_teal_40",
64
+ dark3: "--lunit_teal_40",
65
+ dark4: "--lunit_teal_40",
66
66
  },
67
67
  btn_outlined_primary_text: {
68
- light1: "--lunitTeal-50",
69
- light2: "--lunitTeal-50",
70
- dark1: "--lunitTeal-40",
71
- dark2: "--lunitTeal-40",
72
- dark3: "--lunitTeal-40",
73
- dark4: "--lunitTeal-40",
68
+ light1: "--lunit_teal_50",
69
+ light2: "--lunit_teal_50",
70
+ dark1: "--lunit_teal_40",
71
+ dark2: "--lunit_teal_40",
72
+ dark3: "--lunit_teal_40",
73
+ dark4: "--lunit_teal_40",
74
74
  },
75
75
  btn_ghost_primary_text: {
76
- light1: "--lunitTeal-50",
77
- light2: "--lunitTeal-50",
78
- dark1: "--lunitTeal-40",
79
- dark2: "--lunitTeal-40",
80
- dark3: "--lunitTeal-40",
81
- dark4: "--lunitTeal-40",
76
+ light1: "--lunit_teal_50",
77
+ light2: "--lunit_teal_50",
78
+ dark1: "--lunit_teal_40",
79
+ dark2: "--lunit_teal_40",
80
+ dark3: "--lunit_teal_40",
81
+ dark4: "--lunit_teal_40",
82
82
  },
83
83
  btn_ghost_secondary_text: {
84
- light1: "--grey-95",
85
- light2: "--grey-95",
86
- dark1: "--grey-5",
87
- dark2: "--grey-5",
88
- dark3: "--grey-5",
89
- dark4: "--grey-5",
84
+ light1: "--grey_95",
85
+ light2: "--grey_95",
86
+ dark1: "--grey_5",
87
+ dark2: "--grey_5",
88
+ dark3: "--grey_5",
89
+ dark4: "--grey_5",
90
90
  },
91
91
  btn_ghost_error_text: {
92
- light1: "--red-40",
93
- light2: "--red-40",
94
- dark1: "--red-40",
95
- dark2: "--red-40",
96
- dark3: "--red-30",
97
- dark4: "--red-30",
92
+ light1: "--red_40",
93
+ light2: "--red_40",
94
+ dark1: "--red_40",
95
+ dark2: "--red_40",
96
+ dark3: "--red_30",
97
+ dark4: "--red_30",
98
98
  },
99
99
  btn_selected_primary_bg: {
100
- light1: "--lunitTeal-80",
101
- light2: "--lunitTeal-80",
102
- dark1: "--lunitTeal-10",
103
- dark2: "--lunitTeal-10",
104
- dark3: "--lunitTeal-10",
105
- dark4: "--lunitTeal-10",
100
+ light1: "--lunit_teal_80",
101
+ light2: "--lunit_teal_80",
102
+ dark1: "--lunit_teal_10",
103
+ dark2: "--lunit_teal_10",
104
+ dark3: "--lunit_teal_10",
105
+ dark4: "--lunit_teal_10",
106
106
  },
107
107
  btn_selected_primary_text: {
108
- light1: "--lunitTeal-10",
109
- light2: "--lunitTeal-10",
110
- dark1: "--lunitTeal-80",
111
- dark2: "--lunitTeal-80",
112
- dark3: "--lunitTeal-80",
113
- dark4: "--lunitTeal-80",
108
+ light1: "--lunit_teal_10",
109
+ light2: "--lunit_teal_10",
110
+ dark1: "--lunit_teal_80",
111
+ dark2: "--lunit_teal_80",
112
+ dark3: "--lunit_teal_80",
113
+ dark4: "--lunit_teal_80",
114
114
  },
115
115
  btn_selected_secondary_bg: {
116
- // TODO: 피그마에 작성된 코드와 색상의 값이 달라 확인중
117
- light1: "--lunitTeal-10",
118
- light2: "--lunitTeal-10",
119
- dark1: "--grey-80",
120
- dark2: "--grey-75",
121
- dark3: "--grey-70",
122
- dark4: "--grey-75",
116
+ light1: "--lunit_teal_10",
117
+ light2: "--lunit_teal_10",
118
+ dark1: "--grey_80",
119
+ dark2: "--grey_75",
120
+ dark3: "--grey_70",
121
+ dark4: "--grey_75",
123
122
  },
124
123
  btn_selected_secondary_text: {
125
- light1: "--grey-95",
126
- light2: "--grey-95",
127
- dark1: "--lunitTeal-30",
128
- dark2: "--lunitTeal-30",
129
- dark3: "--lunitTeal-30",
130
- dark4: "--lunitTeal-30",
124
+ light1: "--grey_95",
125
+ light2: "--grey_95",
126
+ dark1: "--lunit_teal_30",
127
+ dark2: "--lunit_teal_30",
128
+ dark3: "--lunit_teal_30",
129
+ dark4: "--lunit_teal_30",
131
130
  },
132
131
  },
133
132
  selectControl: {
134
133
  selectcontrol_on: {
135
- light1: "--lunitTeal-40",
136
- light2: "--lunitTeal-40",
137
- dark1: "--lunitTeal-40",
138
- dark2: "--lunitTeal-40",
139
- dark3: "--lunitTeal-40",
140
- dark4: "--lunitTeal-40",
134
+ light1: "--lunit_teal_40",
135
+ light2: "--lunit_teal_40",
136
+ dark1: "--lunit_teal_40",
137
+ dark2: "--lunit_teal_40",
138
+ dark3: "--lunit_teal_40",
139
+ dark4: "--lunit_teal_40",
141
140
  },
142
141
  selectcontrol_off: {
143
- light1: "--grey-40",
144
- light2: "--grey-40",
145
- dark1: "--grey-40",
146
- dark2: "--grey-40",
147
- dark3: "--grey-40",
148
- dark4: "--grey-40",
142
+ light1: "--grey_40",
143
+ light2: "--grey_40",
144
+ dark1: "--grey_40",
145
+ dark2: "--grey_40",
146
+ dark3: "--grey_40",
147
+ dark4: "--grey_40",
149
148
  },
150
149
  selectcontrol_handler: {
151
- light1: "--grey-0",
152
- light2: "--grey-0",
153
- dark1: "--grey-0",
154
- dark2: "--grey-0",
155
- dark3: "--grey-0",
156
- dark4: "--grey-0",
150
+ light1: "--grey_0",
151
+ light2: "--grey_0",
152
+ dark1: "--grey_0",
153
+ dark2: "--grey_0",
154
+ dark3: "--grey_0",
155
+ dark4: "--grey_0",
157
156
  },
158
157
  selectcontrol_handler_shadow: {
159
- light1: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
160
- light2: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
161
- dark1: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
162
- dark2: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
163
- dark3: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
164
- dark4: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
158
+ light1: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
159
+ light2: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
160
+ dark1: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
161
+ dark2: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
162
+ dark3: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
163
+ dark4: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
165
164
  },
166
165
  },
167
166
  textFields: {
168
167
  textfield_bg: {
169
- light1: "--grey-10",
170
- light2: "--grey-00",
171
- dark1: "--grey-80",
172
- dark2: "--grey-75",
173
- dark3: "--grey-70",
174
- dark4: "--grey-75",
168
+ light1: "--grey_10",
169
+ light2: "--grey_0",
170
+ dark1: "--grey_80",
171
+ dark2: "--grey_75",
172
+ dark3: "--grey_70",
173
+ dark4: "--grey_75",
175
174
  },
176
175
  textfield_border_error: {
177
- light1: "--red-40",
178
- light2: "--red-40",
179
- dark1: "--red-40",
180
- dark2: "--red-40",
181
- dark3: "--red-40",
182
- dark4: "--red-40",
176
+ light1: "--red_40",
177
+ light2: "--red_40",
178
+ dark1: "--red_40",
179
+ dark2: "--red_40",
180
+ dark3: "--red_40",
181
+ dark4: "--red_40",
183
182
  },
184
183
  },
185
184
  dropdown: {
186
- dropdown_option_selected: {
187
- light1: "--lunitTeal-10",
188
- light2: "--lunitTeal-10",
189
- dark1: "--lunitTeal-80",
190
- dark2: "--lunitTeal-80",
191
- dark3: "--lunitTeal-80",
192
- dark4: "--lunitTeal-80",
193
- },
194
185
  dropdown_divider_border: {
195
- light1: "--grey-15",
196
- light2: "--grey-15",
197
- dark1: "--grey-60",
198
- dark2: "--grey-60",
199
- dark3: "--grey-60",
200
- dark4: "--grey-60",
201
- },
202
- dropdown_option_activatied: {
203
- // TODO: 오타 수정 요청 => activated. 피그마에 토큰이 없어서 사용하는지 여부 확인중
204
- light1: "--lunitTeal-10",
205
- light2: "--lunitTeal-10",
206
- dark1: "--lunitTeal-80",
207
- dark2: "--lunitTeal-80",
208
- dark3: "--lunitTeal-80",
209
- dark4: "--lunitTeal-80",
186
+ light1: "--grey_15",
187
+ light2: "--grey_15",
188
+ dark1: "--grey_60",
189
+ dark2: "--grey_60",
190
+ dark3: "--grey_60",
191
+ dark4: "--grey_60",
210
192
  },
211
193
  },
212
194
  dataTable: {
213
- datatable_cell_selected: {
214
- light1: "--lunitTeal-10",
215
- light2: "--lunitTeal-10",
216
- dark1: "--lunitTeal-80",
217
- dark2: "--lunitTeal-80",
218
- dark3: "--lunitTeal-80",
219
- dark4: "--lunitTeal-80",
220
- },
221
195
  datatable_border_01: {
222
- light1: "--grey-20",
223
- light2: "--grey-30",
224
- dark1: "--grey-50",
225
- dark2: "--grey-50",
226
- dark3: "--grey-50",
227
- dark4: "--grey-40",
196
+ light1: "--grey_20",
197
+ light2: "--grey_30",
198
+ dark1: "--grey_50",
199
+ dark2: "--grey_50",
200
+ dark3: "--grey_50",
201
+ dark4: "--grey_40",
228
202
  },
229
203
  datatable_border_02: {
230
- light1: "--grey-10",
231
- light2: "--grey-15",
232
- dark1: "--grey-80",
233
- dark2: "--grey-75",
234
- dark3: "--grey-75",
235
- dark4: "--grey-60",
204
+ light1: "--grey_10",
205
+ light2: "--grey_15",
206
+ dark1: "--grey_80",
207
+ dark2: "--grey_75",
208
+ dark3: "--grey_75",
209
+ dark4: "--grey_60",
236
210
  },
237
211
  datatable_zebra: {
238
- light1: "rgba(0, 0, 0, 0.03)", // "--grey-100 3%",
239
- light2: "rgba(0, 0, 0, 0.03)", // "--grey-100 3%",
240
- dark1: "rgba(255, 255, 255, 0.03)", // "--grey-00 3%",
241
- dark2: "rgba(255, 255, 255, 0.03)", // "--grey-00 3%",
242
- dark3: "rgba(255, 255, 255, 0.03)", // "--grey-00 3%",
243
- dark4: "rgba(255, 255, 255, 0.03)", // "--grey-00 3%",
212
+ light1: "rgba(0, 0, 0, 0.03)", // "--grey_100 3%",
213
+ light2: "rgba(0, 0, 0, 0.03)", // "--grey_100 3%",
214
+ dark1: "rgba(255, 255, 255, 0.03)", // "--grey_00 3%",
215
+ dark2: "rgba(255, 255, 255, 0.03)", // "--grey_00 3%",
216
+ dark3: "rgba(255, 255, 255, 0.03)", // "--grey_00 3%",
217
+ dark4: "rgba(255, 255, 255, 0.03)", // "--grey_00 3%",
244
218
  },
245
219
  },
246
220
  scrollbars: {
247
221
  scrollbars_bg: {
248
- light1: "--grey-20",
249
- light2: "--grey-20",
250
- dark1: "--grey-60",
251
- dark2: "--grey-60",
252
- dark3: "--grey-50",
253
- dark4: "--grey-50",
222
+ light1: "--grey_20",
223
+ light2: "--grey_20",
224
+ dark1: "--grey_60",
225
+ dark2: "--grey_60",
226
+ dark3: "--grey_50",
227
+ dark4: "--grey_50",
254
228
  },
255
229
  scrollbars_hover: {
256
- light1: "--grey-30",
257
- light2: "--grey-30",
258
- dark1: "--grey-50",
259
- dark2: "--grey-50",
260
- dark3: "--grey-40",
261
- dark4: "--grey-40",
230
+ light1: "--grey_30",
231
+ light2: "--grey_30",
232
+ dark1: "--grey_50",
233
+ dark2: "--grey_50",
234
+ dark3: "--grey_40",
235
+ dark4: "--grey_40",
262
236
  },
263
237
  scrollbars_pressed: {
264
- light1: "--grey-50",
265
- light2: "--grey-50",
266
- dark1: "--grey-30",
267
- dark2: "--grey-30",
268
- dark3: "--grey-20",
269
- dark4: "--grey-20",
238
+ light1: "--grey_50",
239
+ light2: "--grey_50",
240
+ dark1: "--grey_30",
241
+ dark2: "--grey_30",
242
+ dark3: "--grey_20",
243
+ dark4: "--grey_20",
270
244
  },
271
245
  },
272
246
  modal: {
273
247
  modal_overlay: {
274
- light1: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
275
- light2: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
276
- dark1: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
277
- dark2: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
278
- dark3: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
279
- dark4: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
248
+ light1: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
249
+ light2: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
250
+ dark1: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
251
+ dark2: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
252
+ dark3: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
253
+ dark4: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
280
254
  },
281
255
  },
282
256
  tooltip: {
283
257
  tooltip_bg: {
284
- light1: "--grey-70",
285
- light2: "--grey-70",
286
- dark1: "--grey-70",
287
- dark2: "--grey-70",
288
- dark3: "--grey-70",
289
- dark4: "--grey-70",
258
+ light1: "--grey_70",
259
+ light2: "--grey_70",
260
+ dark1: "--grey_70",
261
+ dark2: "--grey_70",
262
+ dark3: "--grey_70",
263
+ dark4: "--grey_70",
290
264
  },
291
265
  tooltip_text_normal: {
292
- light1: "--grey-5",
293
- light2: "--grey-5",
294
- dark1: "--grey-5",
295
- dark2: "--grey-5",
296
- dark3: "--grey-5",
297
- dark4: "--grey-5",
266
+ light1: "--grey_5",
267
+ light2: "--grey_5",
268
+ dark1: "--grey_5",
269
+ dark2: "--grey_5",
270
+ dark3: "--grey_5",
271
+ dark4: "--grey_5",
298
272
  },
299
273
  tooltip_text_medium: {
300
- light1: "--grey-40",
301
- light2: "--grey-40",
302
- dark1: "--grey-40",
303
- dark2: "--grey-40",
304
- dark3: "--grey-40",
305
- dark4: "--grey-40",
274
+ light1: "--grey_40",
275
+ light2: "--grey_40",
276
+ dark1: "--grey_40",
277
+ dark2: "--grey_40",
278
+ dark3: "--grey_40",
279
+ dark4: "--grey_40",
306
280
  },
307
281
  },
308
282
  alert: {
309
283
  alert_error_bg: {
310
- light1: "rgba(250, 77, 86, 0.16)", // "--red-40 16%",
311
- light2: "rgba(250, 77, 86, 0.16)", // "--red-40 16%",
312
- dark1: "rgba(255, 131, 137, 0.32)", // "--red-30 32%",
313
- dark2: "rgba(255, 131, 137, 0.32)", // "--red-30 32%",
314
- dark3: "rgba(255, 131, 137, 0.32)", // "--red-30 32%",
315
- dark4: "rgba(255, 131, 137, 0.32)", // "--red-30 32%",
284
+ light1: "rgba(250, 77, 86, 0.16)", // "--red_40 16%",
285
+ light2: "rgba(250, 77, 86, 0.16)", // "--red_40 16%",
286
+ dark1: "rgba(255, 131, 137, 0.32)", // "--red_30 32%",
287
+ dark2: "rgba(255, 131, 137, 0.32)", // "--red_30 32%",
288
+ dark3: "rgba(255, 131, 137, 0.32)", // "--red_30 32%",
289
+ dark4: "rgba(255, 131, 137, 0.32)", // "--red_30 32%",
316
290
  },
317
291
  alert_error_border: {
318
- light1: "--red-40",
319
- light2: "--red-40",
320
- dark1: "--red-30",
321
- dark2: "--red-30",
322
- dark3: "--red-30",
323
- dark4: "--red-30",
292
+ light1: "--red_40",
293
+ light2: "--red_40",
294
+ dark1: "--red_30",
295
+ dark2: "--red_30",
296
+ dark3: "--red_30",
297
+ dark4: "--red_30",
324
298
  },
325
299
  alert_success_bg: {
326
- light1: "rgba(36, 161, 72, 0.16)", // "--green-40 16%",
327
- light2: "rgba(36, 161, 72, 0.16)", // "--green-40 16%",
328
- dark1: "rgba(66, 190, 101, 0.32)", // "--green-30 32%",
329
- dark2: "rgba(66, 190, 101, 0.32)", // "--green-30 32%",
330
- dark3: "rgba(66, 190, 101, 0.32)", // "--green-30 32%",
331
- dark4: "rgba(66, 190, 101, 0.32)", // "--green-30 32%",
300
+ light1: "rgba(36, 161, 72, 0.16)", // "--green_40 16%",
301
+ light2: "rgba(36, 161, 72, 0.16)", // "--green_40 16%",
302
+ dark1: "rgba(66, 190, 101, 0.32)", // "--green_30 32%",
303
+ dark2: "rgba(66, 190, 101, 0.32)", // "--green_30 32%",
304
+ dark3: "rgba(66, 190, 101, 0.32)", // "--green_30 32%",
305
+ dark4: "rgba(66, 190, 101, 0.32)", // "--green_30 32%",
332
306
  },
333
307
  alert_success_border: {
334
- light1: "--green-30",
335
- light2: "--green-30",
336
- dark1: "--green-30",
337
- dark2: "--green-30",
338
- dark3: "--green-30",
339
- dark4: "--green-30",
308
+ light1: "--green_30",
309
+ light2: "--green_30",
310
+ dark1: "--green_30",
311
+ dark2: "--green_30",
312
+ dark3: "--green_30",
313
+ dark4: "--green_30",
340
314
  },
341
315
  alert_info_bg: {
342
- light1: "rgba(69, 137, 255, 0.16)", // "--blue-40 16%",
343
- light2: "rgba(69, 137, 255, 0.16)", // "--blue-40 16%",
344
- dark1: "rgba(120, 169, 255, 0.32)", // "--blue-30 32%",
345
- dark2: "rgba(120, 169, 255, 0.32)", // "--blue-30 32%",
346
- dark3: "rgba(120, 169, 255, 0.32)", // "--blue-30 32%",
347
- dark4: "rgba(120, 169, 255, 0.32)", // "--blue-30 32%",
316
+ light1: "rgba(69, 137, 255, 0.16)", // "--blue_40 16%",
317
+ light2: "rgba(69, 137, 255, 0.16)", // "--blue_40 16%",
318
+ dark1: "rgba(120, 169, 255, 0.32)", // "--blue_30 32%",
319
+ dark2: "rgba(120, 169, 255, 0.32)", // "--blue_30 32%",
320
+ dark3: "rgba(120, 169, 255, 0.32)", // "--blue_30 32%",
321
+ dark4: "rgba(120, 169, 255, 0.32)", // "--blue_30 32%",
348
322
  },
349
323
  alert_info_border: {
350
- light1: "--blue-40",
351
- light2: "--blue-40",
352
- dark1: "--blue-30",
353
- dark2: "--blue-30",
354
- dark3: "--blue-30",
355
- dark4: "--blue-30",
324
+ light1: "--blue_40",
325
+ light2: "--blue_40",
326
+ dark1: "--blue_30",
327
+ dark2: "--blue_30",
328
+ dark3: "--blue_30",
329
+ dark4: "--blue_30",
356
330
  },
357
331
  alert_warning_bg: {
358
- light1: "rgba(245, 134, 54, 0.16)", // "--orange-40 16%",
359
- light2: "rgba(245, 134, 54, 0.16)", // "--orange-40 16%",
360
- dark1: "rgba(255, 155, 84, 0.32)", // "--orange-30 32%",
361
- dark2: "rgba(255, 155, 84, 0.32)", // "--orange-30 32%",
362
- dark3: "rgba(255, 155, 84, 0.32)", // "--orange-30 32%",
363
- dark4: "rgba(255, 155, 84, 0.32)", // "--orange-30 32%",
332
+ light1: "rgba(245, 134, 54, 0.16)", // "--orange_40 16%",
333
+ light2: "rgba(245, 134, 54, 0.16)", // "--orange_40 16%",
334
+ dark1: "rgba(255, 155, 84, 0.32)", // "--orange_30 32%",
335
+ dark2: "rgba(255, 155, 84, 0.32)", // "--orange_30 32%",
336
+ dark3: "rgba(255, 155, 84, 0.32)", // "--orange_30 32%",
337
+ dark4: "rgba(255, 155, 84, 0.32)", // "--orange_30 32%",
364
338
  },
365
339
  alert_warning_border: {
366
- light1: "--orange-40",
367
- light2: "--orange-40",
368
- dark1: "--orange-30",
369
- dark2: "--orange-30",
370
- dark3: "--orange-30",
371
- dark4: "--orange-30",
340
+ light1: "--orange_40",
341
+ light2: "--orange_40",
342
+ dark1: "--orange_30",
343
+ dark2: "--orange_30",
344
+ dark3: "--orange_30",
345
+ dark4: "--orange_30",
372
346
  },
373
347
  },
374
348
  chip: {
375
349
  chip_primary_bg: {
376
- light1: "--lunitTeal-20",
377
- light2: "--lunitTeal-20",
378
- dark1: "--lunitTeal-60",
379
- dark2: "--lunitTeal-60",
380
- dark3: "--lunitTeal-60",
381
- dark4: "--lunitTeal-60",
350
+ light1: "--lunit_teal_20",
351
+ light2: "--lunit_teal_20",
352
+ dark1: "--lunit_teal_60",
353
+ dark2: "--lunit_teal_60",
354
+ dark3: "--lunit_teal_60",
355
+ dark4: "--lunit_teal_60",
382
356
  },
383
357
  chip_primary_text: {
384
- light1: "--lunitTeal-50",
385
- light2: "--lunitTeal-50",
386
- dark1: "--lunitTeal-40",
387
- dark2: "--lunitTeal-40",
388
- dark3: "--lunitTeal-40",
389
- dark4: "--lunitTeal-40",
358
+ light1: "--lunit_teal_50",
359
+ light2: "--lunit_teal_50",
360
+ dark1: "--lunit_teal_40",
361
+ dark2: "--lunit_teal_40",
362
+ dark3: "--lunit_teal_40",
363
+ dark4: "--lunit_teal_40",
390
364
  },
391
365
  chip_secondary_bg: {
392
- light1: "--grey-15",
393
- light2: "--grey-15",
394
- dark1: "--grey-60",
395
- dark2: "--grey-60",
396
- dark3: "--grey-60",
397
- dark4: "--grey-60",
366
+ light1: "--grey_15",
367
+ light2: "--grey_15",
368
+ dark1: "--grey_60",
369
+ dark2: "--grey_60",
370
+ dark3: "--grey_60",
371
+ dark4: "--grey_60",
398
372
  },
399
373
  chip_secondary_text: {
400
- light1: "--grey-40",
401
- light2: "--grey-40",
402
- dark1: "--grey-30",
403
- dark2: "--grey-30",
404
- dark3: "--grey-30",
405
- dark4: "--grey-30",
374
+ light1: "--grey_40",
375
+ light2: "--grey_40",
376
+ dark1: "--grey_30",
377
+ dark2: "--grey_30",
378
+ dark3: "--grey_30",
379
+ dark4: "--grey_30",
406
380
  },
407
381
  chip_error_bg: {
408
- light1: "--red-20",
409
- light2: "--red-20",
410
- dark1: "--red-60",
411
- dark2: "--red-60",
412
- dark3: "--red-60",
413
- dark4: "--red-60",
382
+ light1: "--red_20",
383
+ light2: "--red_20",
384
+ dark1: "--red_60",
385
+ dark2: "--red_60",
386
+ dark3: "--red_60",
387
+ dark4: "--red_60",
414
388
  },
415
389
  chip_error_text: {
416
- light1: "--red-40",
417
- light2: "--red-40",
418
- dark1: "--red-30",
419
- dark2: "--red-30",
420
- dark3: "--red-30",
421
- dark4: "--red-30",
390
+ light1: "--red_40",
391
+ light2: "--red_40",
392
+ dark1: "--red_30",
393
+ dark2: "--red_30",
394
+ dark3: "--red_30",
395
+ dark4: "--red_30",
422
396
  },
423
397
  chip_warning_bg: {
424
- light1: "--orange-20",
425
- light2: "--orange-20",
426
- dark1: "--orange-60",
427
- dark2: "--orange-60",
428
- dark3: "--orange-60",
429
- dark4: "--orange-60",
398
+ light1: "--orange_20",
399
+ light2: "--orange_20",
400
+ dark1: "--orange_60",
401
+ dark2: "--orange_60",
402
+ dark3: "--orange_60",
403
+ dark4: "--orange_60",
430
404
  },
431
405
  chip_warning_text: {
432
- light1: "--orange-40",
433
- light2: "--orange-40",
434
- dark1: "--orange-30",
435
- dark2: "--orange-30",
436
- dark3: "--orange-30",
437
- dark4: "--orange-30",
406
+ light1: "--orange_40",
407
+ light2: "--orange_40",
408
+ dark1: "--orange_30",
409
+ dark2: "--orange_30",
410
+ dark3: "--orange_30",
411
+ dark4: "--orange_30",
438
412
  },
439
413
  chip_success_bg: {
440
- light1: "--green-20",
441
- light2: "--green-20",
442
- dark1: "--green-60",
443
- dark2: "--green-60",
444
- dark3: "--green-60",
445
- dark4: "--green-60",
414
+ light1: "--green_20",
415
+ light2: "--green_20",
416
+ dark1: "--green_60",
417
+ dark2: "--green_60",
418
+ dark3: "--green_60",
419
+ dark4: "--green_60",
446
420
  },
447
421
  chip_success_text: {
448
- light1: "--green-40",
449
- light2: "--green-40",
450
- dark1: "--green-30",
451
- dark2: "--green-30",
452
- dark3: "--green-30",
453
- dark4: "--green-30",
422
+ light1: "--green_40",
423
+ light2: "--green_40",
424
+ dark1: "--green_30",
425
+ dark2: "--green_30",
426
+ dark3: "--green_30",
427
+ dark4: "--green_30",
454
428
  },
455
429
  },
456
430
  };