@lunit/design-system 1.0.0 → 2.0.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/dist/cjs/components/Alert/index.js +1 -1
- package/dist/cjs/components/Alert/index.js.map +1 -1
- package/dist/cjs/components/Button/index.js +1 -1
- package/dist/cjs/components/Button/index.js.map +1 -1
- package/dist/cjs/components/Checkbox/index.js +1 -1
- package/dist/cjs/components/Checkbox/index.js.map +1 -1
- package/dist/cjs/components/Dialog/index.js +2 -0
- package/dist/cjs/components/Dialog/index.js.map +1 -0
- package/dist/cjs/components/Radio/index.js +1 -1
- package/dist/cjs/components/Radio/index.js.map +1 -1
- package/dist/cjs/components/ToggleButton/index.js +1 -1
- package/dist/cjs/components/ToggleButton/index.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/components/Button/Button.styled.js +1 -1
- package/dist/components/Button/Button.styled.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +9 -19
- package/dist/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Dialog/Dialog.js +61 -0
- package/dist/components/Dialog/Dialog.js.map +1 -0
- package/dist/components/Dialog/Dialog.styled.js +137 -0
- package/dist/components/Dialog/Dialog.styled.js.map +1 -0
- package/dist/components/Dialog/components/DialogAction.js +18 -0
- package/dist/components/Dialog/components/DialogAction.js.map +1 -0
- package/dist/components/Dialog/index.js +2 -0
- package/dist/components/Dialog/index.js.map +1 -0
- package/dist/components/Radio/Radio.js +7 -21
- package/dist/components/Radio/Radio.js.map +1 -1
- package/dist/components/ToggleButton/ToggleButton.styled.js +1 -1
- package/dist/components/ToggleButton/ToggleButton.styled.js.map +1 -1
- package/dist/foundation/Elevation/index.js +1 -1
- package/dist/foundation/Elevation/index.js.map +1 -1
- package/dist/foundation/Typography/index.js +0 -6
- package/dist/foundation/Typography/index.js.map +1 -1
- package/dist/foundation/Typography/tokens.js +1 -1
- package/dist/foundation/colors/base/grey.js +3 -1
- package/dist/foundation/colors/base/grey.js.map +1 -1
- package/dist/foundation/colors/index.js +5 -6
- package/dist/foundation/colors/index.js.map +1 -1
- package/dist/foundation/colors/token/component.js +31 -115
- package/dist/foundation/colors/token/component.js.map +1 -1
- package/dist/foundation/colors/token/core.js +43 -75
- package/dist/foundation/colors/token/core.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/components/Alert/Alert.utils.d.ts +3 -3
- package/dist/types/components/Button/Button.styled.d.ts +9 -9
- package/dist/types/components/Chip/Chip.styled.d.ts +12 -12
- package/dist/types/components/Dialog/Dialog.d.ts +50 -0
- package/dist/types/components/Dialog/Dialog.styled.d.ts +12 -0
- package/dist/types/components/Dialog/components/DialogAction.d.ts +8 -0
- package/dist/types/components/Dialog/index.d.ts +2 -0
- package/dist/types/components/Toast/Toast.utils.d.ts +1 -1
- package/dist/types/components/ToggleButton/ToggleButton.styled.d.ts +2 -2
- package/dist/types/foundation/Elevation/index.d.ts +1 -1
- package/dist/types/foundation/Typography/index.d.ts +1 -7
- package/dist/types/foundation/Typography/tokens.d.ts +1 -1
- package/dist/types/foundation/colors/base/grey.d.ts +2 -0
- package/dist/types/foundation/colors/index.d.ts +5 -6
- package/dist/types/foundation/colors/token/types.d.ts +0 -2
- package/dist/types/foundation/colors/types.d.ts +78 -76
- package/dist/types/foundation/index.d.ts +5 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/Button/Button.styled.ts +1 -1
- package/src/components/Checkbox/Checkbox.tsx +39 -22
- package/src/components/Dialog/Dialog.styled.ts +165 -0
- package/src/components/Dialog/Dialog.tsx +195 -0
- package/src/components/Dialog/components/DialogAction.tsx +36 -0
- package/src/components/Dialog/index.ts +14 -0
- package/src/components/Radio/Radio.tsx +37 -25
- package/src/components/ToggleButton/ToggleButton.styled.ts +1 -1
- package/src/foundation/Elevation/index.ts +1 -1
- package/src/foundation/Typography/index.ts +0 -6
- package/src/foundation/Typography/tokens.ts +1 -1
- package/src/foundation/colors/base/grey.ts +3 -1
- package/src/foundation/colors/index.ts +5 -6
- package/src/foundation/colors/token/component.ts +24 -108
- package/src/foundation/colors/token/core.ts +39 -71
- package/src/foundation/colors/token/types.ts +0 -2
- package/src/foundation/colors/types.ts +78 -75
- package/src/index.ts +1 -1
- package/src/stories/GettingStarted.mdx +88 -0
- package/src/stories/components/Button/BasicButton.stories.tsx +80 -52
- package/src/stories/components/Button/ButtonDocs.mdx +187 -0
- package/src/stories/components/Button/Color.stories.tsx +132 -0
- package/src/stories/components/Button/IconButton.stories.tsx +41 -35
- package/src/stories/components/Button/Kind.stories.tsx +13 -52
- package/src/stories/components/{SelectControl/Checkbox.stories.tsx → CheckBox/BasicCheckbox.stories.tsx} +84 -105
- package/src/stories/components/CheckBox/CheckboxDocs.mdx +85 -0
- package/src/stories/components/Chip/Chip.stories.tsx +65 -0
- package/src/stories/components/Chip/ChipDocs.mdx +132 -0
- package/src/stories/components/Dialog/Dialog.stories.tsx +320 -0
- package/src/stories/components/TextField/BasicTextField.stories.tsx +214 -0
- package/src/stories/components/TextField/TextFieldDocs.mdx +140 -0
- package/src/stories/components/TextField/TextFieldSize.stories.tsx +26 -3
- package/src/stories/components/ToggleButton/Basic.stories.tsx +312 -0
- package/src/stories/components/ToggleButton/ToggleButtonDocs.mdx +180 -0
- package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +65 -0
- package/src/stories/components/ToggleButton/WithIcon.stories.tsx +138 -0
- package/src/stories/foundation/Typography/Typography.mdx +31 -46
- package/src/stories/foundation/Typography/Typography.stories.tsx +30 -1
- package/src/stories/foundation/colors/ColorSystem.tsx +86 -0
- package/src/stories/foundation/colors/Docs.mdx +225 -0
- package/src/stories/foundation/colors/TokenPaletteTable.tsx +1 -5
- package/src/components/Modal/Modal.tsx +0 -8
- package/src/components/Modal/index.ts +0 -1
- package/src/stories/components/Modal/Modal.stories.tsx +0 -15
- package/src/stories/foundation/Typography/TypographyExamples.stories.tsx +0 -44
|
@@ -13,104 +13,90 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
13
13
|
light2: "--lunit_teal_30",
|
|
14
14
|
dark1: "--lunit_teal_40",
|
|
15
15
|
dark2: "--lunit_teal_40",
|
|
16
|
-
dark3: "--lunit_teal_40",
|
|
17
|
-
dark4: "--lunit_teal_40",
|
|
18
16
|
},
|
|
19
17
|
btn_secondary_bg: {
|
|
20
|
-
light1: "--
|
|
21
|
-
light2: "--
|
|
18
|
+
light1: "--grey_10",
|
|
19
|
+
light2: "--grey_00",
|
|
22
20
|
dark1: "--grey_60",
|
|
23
21
|
dark2: "--grey_60",
|
|
24
|
-
dark3: "--grey_60",
|
|
25
|
-
dark4: "--grey_60",
|
|
26
22
|
},
|
|
27
23
|
btn_error_bg: {
|
|
28
24
|
light1: "--red_30",
|
|
29
25
|
light2: "--red_30",
|
|
30
26
|
dark1: "--red_40",
|
|
31
27
|
dark2: "--red_40",
|
|
32
|
-
dark3: "--red_40",
|
|
33
|
-
dark4: "--red_40",
|
|
34
28
|
},
|
|
35
29
|
btn_primary_border: {
|
|
36
30
|
light1: "--lunit_teal_40",
|
|
37
31
|
light2: "--lunit_teal_40",
|
|
38
32
|
dark1: "--lunit_teal_40",
|
|
39
33
|
dark2: "--lunit_teal_40",
|
|
40
|
-
dark3: "--lunit_teal_40",
|
|
41
|
-
dark4: "--lunit_teal_40",
|
|
42
34
|
},
|
|
43
35
|
btn_secondary_border: {
|
|
44
36
|
light1: "--grey_15",
|
|
45
37
|
light2: "--grey_15",
|
|
46
38
|
dark1: "--grey_5",
|
|
47
39
|
dark2: "--grey_5",
|
|
48
|
-
dark3: "--grey_5",
|
|
49
|
-
dark4: "--grey_5",
|
|
50
40
|
},
|
|
51
41
|
btn_primary_text_1: {
|
|
52
42
|
light1: "--lunit_teal_50",
|
|
53
43
|
light2: "--lunit_teal_50",
|
|
54
44
|
dark1: "--lunit_teal_40",
|
|
55
45
|
dark2: "--lunit_teal_40",
|
|
56
|
-
dark3: "--lunit_teal_40",
|
|
57
|
-
dark4: "--lunit_teal_40",
|
|
58
46
|
},
|
|
59
47
|
btn_primary_text_2: {
|
|
60
48
|
light1: "--grey_95",
|
|
61
49
|
light2: "--grey_95",
|
|
62
50
|
dark1: "--grey_95",
|
|
63
51
|
dark2: "--grey_95",
|
|
64
|
-
dark3: "--grey_95",
|
|
65
|
-
dark4: "--grey_95",
|
|
66
52
|
},
|
|
67
53
|
btn_secondary_text: {
|
|
68
54
|
light1: "--grey_95",
|
|
69
55
|
light2: "--grey_95",
|
|
70
56
|
dark1: "--grey_5",
|
|
71
57
|
dark2: "--grey_5",
|
|
72
|
-
dark3: "--grey_5",
|
|
73
|
-
dark4: "--grey_5",
|
|
74
58
|
},
|
|
75
59
|
btn_error_text: {
|
|
76
60
|
light1: "--red_40",
|
|
77
61
|
light2: "--red_40",
|
|
78
62
|
dark1: "--red_40",
|
|
79
|
-
dark2: "--
|
|
80
|
-
dark3: "--red_30",
|
|
81
|
-
dark4: "--red_30",
|
|
63
|
+
dark2: "--red_30",
|
|
82
64
|
},
|
|
83
65
|
btn_selected_primary_bg: {
|
|
84
66
|
light1: "--lunit_teal_80",
|
|
85
67
|
light2: "--lunit_teal_80",
|
|
86
68
|
dark1: "--lunit_teal_10",
|
|
87
69
|
dark2: "--lunit_teal_10",
|
|
88
|
-
dark3: "--lunit_teal_10",
|
|
89
|
-
dark4: "--lunit_teal_10",
|
|
90
70
|
},
|
|
91
71
|
btn_selected_primary_text: {
|
|
92
72
|
light1: "--lunit_teal_10",
|
|
93
73
|
light2: "--lunit_teal_10",
|
|
94
74
|
dark1: "--lunit_teal_80",
|
|
95
75
|
dark2: "--lunit_teal_80",
|
|
96
|
-
dark3: "--lunit_teal_80",
|
|
97
|
-
dark4: "--lunit_teal_80",
|
|
98
76
|
},
|
|
99
77
|
btn_selected_secondary_bg: {
|
|
100
78
|
light1: "--lunit_teal_10",
|
|
101
79
|
light2: "--lunit_teal_10",
|
|
102
80
|
dark1: "--grey_80",
|
|
103
|
-
dark2: "--
|
|
104
|
-
dark3: "--grey_70",
|
|
105
|
-
dark4: "--grey_75",
|
|
81
|
+
dark2: "--grey_80",
|
|
106
82
|
},
|
|
107
83
|
btn_selected_secondary_text: {
|
|
108
|
-
light1: "--
|
|
109
|
-
light2: "--
|
|
84
|
+
light1: "--lunit_teal_70",
|
|
85
|
+
light2: "--lunit_teal_70",
|
|
110
86
|
dark1: "--lunit_teal_30",
|
|
111
87
|
dark2: "--lunit_teal_30",
|
|
112
|
-
|
|
113
|
-
|
|
88
|
+
},
|
|
89
|
+
btn_selected_tertiary_bg: {
|
|
90
|
+
light1: "--grey_95",
|
|
91
|
+
light2: "--grey_95",
|
|
92
|
+
dark1: "--grey_0",
|
|
93
|
+
dark2: "--grey_0",
|
|
94
|
+
},
|
|
95
|
+
btn_selected_tertiary_text: {
|
|
96
|
+
light1: "--grey_0",
|
|
97
|
+
light2: "--grey_0",
|
|
98
|
+
dark1: "--grey_100",
|
|
99
|
+
dark2: "--grey_100",
|
|
114
100
|
},
|
|
115
101
|
},
|
|
116
102
|
selectControl: {
|
|
@@ -119,32 +105,24 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
119
105
|
light2: "--lunit_teal_40",
|
|
120
106
|
dark1: "--lunit_teal_40",
|
|
121
107
|
dark2: "--lunit_teal_40",
|
|
122
|
-
dark3: "--lunit_teal_40",
|
|
123
|
-
dark4: "--lunit_teal_40",
|
|
124
108
|
},
|
|
125
109
|
selectcontrol_off: {
|
|
126
110
|
light1: "--grey_40",
|
|
127
111
|
light2: "--grey_40",
|
|
128
112
|
dark1: "--grey_40",
|
|
129
113
|
dark2: "--grey_40",
|
|
130
|
-
dark3: "--grey_40",
|
|
131
|
-
dark4: "--grey_40",
|
|
132
114
|
},
|
|
133
115
|
selectcontrol_handler: {
|
|
134
116
|
light1: "--grey_0",
|
|
135
117
|
light2: "--grey_0",
|
|
136
118
|
dark1: "--grey_0",
|
|
137
119
|
dark2: "--grey_0",
|
|
138
|
-
dark3: "--grey_0",
|
|
139
|
-
dark4: "--grey_0",
|
|
140
120
|
},
|
|
141
121
|
selectcontrol_handler_shadow: {
|
|
142
122
|
light1: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
143
123
|
light2: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
144
124
|
dark1: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
145
125
|
dark2: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
146
|
-
dark3: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
147
|
-
dark4: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
148
126
|
},
|
|
149
127
|
},
|
|
150
128
|
textFields: {
|
|
@@ -152,17 +130,13 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
152
130
|
light1: "--grey_10",
|
|
153
131
|
light2: "--grey_0",
|
|
154
132
|
dark1: "--grey_80",
|
|
155
|
-
dark2: "--
|
|
156
|
-
dark3: "--grey_70",
|
|
157
|
-
dark4: "--grey_75",
|
|
133
|
+
dark2: "--grey_70",
|
|
158
134
|
},
|
|
159
135
|
textfield_border_error: {
|
|
160
136
|
light1: "--red_40",
|
|
161
137
|
light2: "--red_40",
|
|
162
138
|
dark1: "--red_40",
|
|
163
139
|
dark2: "--red_40",
|
|
164
|
-
dark3: "--red_40",
|
|
165
|
-
dark4: "--red_40",
|
|
166
140
|
},
|
|
167
141
|
},
|
|
168
142
|
dropdown: {
|
|
@@ -171,8 +145,6 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
171
145
|
light2: "--grey_15",
|
|
172
146
|
dark1: "--grey_60",
|
|
173
147
|
dark2: "--grey_60",
|
|
174
|
-
dark3: "--grey_60",
|
|
175
|
-
dark4: "--grey_60",
|
|
176
148
|
},
|
|
177
149
|
},
|
|
178
150
|
dataTable: {
|
|
@@ -180,25 +152,19 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
180
152
|
light1: "--grey_20",
|
|
181
153
|
light2: "--grey_30",
|
|
182
154
|
dark1: "--grey_50",
|
|
183
|
-
dark2: "--
|
|
184
|
-
dark3: "--grey_50",
|
|
185
|
-
dark4: "--grey_40",
|
|
155
|
+
dark2: "--grey_40",
|
|
186
156
|
},
|
|
187
157
|
datatable_border_02: {
|
|
188
158
|
light1: "--grey_10",
|
|
189
159
|
light2: "--grey_15",
|
|
190
160
|
dark1: "--grey_80",
|
|
191
|
-
dark2: "--
|
|
192
|
-
dark3: "--grey_75",
|
|
193
|
-
dark4: "--grey_60",
|
|
161
|
+
dark2: "--grey_60",
|
|
194
162
|
},
|
|
195
163
|
datatable_zebra: {
|
|
196
164
|
light1: "rgba(0, 0, 0, 0.03)", // "--grey_100 3%",
|
|
197
165
|
light2: "rgba(0, 0, 0, 0.03)", // "--grey_100 3%",
|
|
198
166
|
dark1: "rgba(255, 255, 255, 0.03)", // "--grey_00 3%",
|
|
199
167
|
dark2: "rgba(255, 255, 255, 0.03)", // "--grey_00 3%",
|
|
200
|
-
dark3: "rgba(255, 255, 255, 0.03)", // "--grey_00 3%",
|
|
201
|
-
dark4: "rgba(255, 255, 255, 0.03)", // "--grey_00 3%",
|
|
202
168
|
},
|
|
203
169
|
},
|
|
204
170
|
scrollbars: {
|
|
@@ -206,25 +172,19 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
206
172
|
light1: "--grey_20",
|
|
207
173
|
light2: "--grey_20",
|
|
208
174
|
dark1: "--grey_60",
|
|
209
|
-
dark2: "--
|
|
210
|
-
dark3: "--grey_50",
|
|
211
|
-
dark4: "--grey_50",
|
|
175
|
+
dark2: "--grey_50",
|
|
212
176
|
},
|
|
213
177
|
scrollbars_hover: {
|
|
214
178
|
light1: "--grey_30",
|
|
215
179
|
light2: "--grey_30",
|
|
216
180
|
dark1: "--grey_50",
|
|
217
|
-
dark2: "--
|
|
218
|
-
dark3: "--grey_40",
|
|
219
|
-
dark4: "--grey_40",
|
|
181
|
+
dark2: "--grey_40",
|
|
220
182
|
},
|
|
221
183
|
scrollbars_pressed: {
|
|
222
184
|
light1: "--grey_50",
|
|
223
185
|
light2: "--grey_50",
|
|
224
186
|
dark1: "--grey_30",
|
|
225
|
-
dark2: "--
|
|
226
|
-
dark3: "--grey_20",
|
|
227
|
-
dark4: "--grey_20",
|
|
187
|
+
dark2: "--grey_20",
|
|
228
188
|
},
|
|
229
189
|
},
|
|
230
190
|
modal: {
|
|
@@ -233,8 +193,6 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
233
193
|
light2: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
|
|
234
194
|
dark1: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
|
|
235
195
|
dark2: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
|
|
236
|
-
dark3: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
|
|
237
|
-
dark4: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
|
|
238
196
|
},
|
|
239
197
|
},
|
|
240
198
|
tooltip: {
|
|
@@ -243,24 +201,18 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
243
201
|
light2: "--grey_70",
|
|
244
202
|
dark1: "--grey_70",
|
|
245
203
|
dark2: "--grey_70",
|
|
246
|
-
dark3: "--grey_70",
|
|
247
|
-
dark4: "--grey_70",
|
|
248
204
|
},
|
|
249
205
|
tooltip_text_normal: {
|
|
250
206
|
light1: "--grey_5",
|
|
251
207
|
light2: "--grey_5",
|
|
252
208
|
dark1: "--grey_5",
|
|
253
209
|
dark2: "--grey_5",
|
|
254
|
-
dark3: "--grey_5",
|
|
255
|
-
dark4: "--grey_5",
|
|
256
210
|
},
|
|
257
211
|
tooltip_text_medium: {
|
|
258
212
|
light1: "--grey_40",
|
|
259
213
|
light2: "--grey_40",
|
|
260
214
|
dark1: "--grey_40",
|
|
261
215
|
dark2: "--grey_40",
|
|
262
|
-
dark3: "--grey_40",
|
|
263
|
-
dark4: "--grey_40",
|
|
264
216
|
},
|
|
265
217
|
},
|
|
266
218
|
alert: {
|
|
@@ -269,64 +221,48 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
269
221
|
light2: "rgba(250, 77, 86, 0.16)", // "--red_40 16%",
|
|
270
222
|
dark1: "rgba(255, 131, 137, 0.32)", // "--red_30 32%",
|
|
271
223
|
dark2: "rgba(255, 131, 137, 0.32)", // "--red_30 32%",
|
|
272
|
-
dark3: "rgba(255, 131, 137, 0.32)", // "--red_30 32%",
|
|
273
|
-
dark4: "rgba(255, 131, 137, 0.32)", // "--red_30 32%",
|
|
274
224
|
},
|
|
275
225
|
alert_error_border: {
|
|
276
226
|
light1: "--red_40",
|
|
277
227
|
light2: "--red_40",
|
|
278
228
|
dark1: "--red_30",
|
|
279
229
|
dark2: "--red_30",
|
|
280
|
-
dark3: "--red_30",
|
|
281
|
-
dark4: "--red_30",
|
|
282
230
|
},
|
|
283
231
|
alert_success_bg: {
|
|
284
232
|
light1: "rgba(36, 161, 72, 0.16)", // "--green_40 16%",
|
|
285
233
|
light2: "rgba(36, 161, 72, 0.16)", // "--green_40 16%",
|
|
286
234
|
dark1: "rgba(66, 190, 101, 0.32)", // "--green_30 32%",
|
|
287
235
|
dark2: "rgba(66, 190, 101, 0.32)", // "--green_30 32%",
|
|
288
|
-
dark3: "rgba(66, 190, 101, 0.32)", // "--green_30 32%",
|
|
289
|
-
dark4: "rgba(66, 190, 101, 0.32)", // "--green_30 32%",
|
|
290
236
|
},
|
|
291
237
|
alert_success_border: {
|
|
292
238
|
light1: "--green_30",
|
|
293
239
|
light2: "--green_30",
|
|
294
240
|
dark1: "--green_30",
|
|
295
241
|
dark2: "--green_30",
|
|
296
|
-
dark3: "--green_30",
|
|
297
|
-
dark4: "--green_30",
|
|
298
242
|
},
|
|
299
243
|
alert_info_bg: {
|
|
300
244
|
light1: "rgba(69, 137, 255, 0.16)", // "--blue_40 16%",
|
|
301
245
|
light2: "rgba(69, 137, 255, 0.16)", // "--blue_40 16%",
|
|
302
246
|
dark1: "rgba(120, 169, 255, 0.32)", // "--blue_30 32%",
|
|
303
247
|
dark2: "rgba(120, 169, 255, 0.32)", // "--blue_30 32%",
|
|
304
|
-
dark3: "rgba(120, 169, 255, 0.32)", // "--blue_30 32%",
|
|
305
|
-
dark4: "rgba(120, 169, 255, 0.32)", // "--blue_30 32%",
|
|
306
248
|
},
|
|
307
249
|
alert_info_border: {
|
|
308
250
|
light1: "--blue_40",
|
|
309
251
|
light2: "--blue_40",
|
|
310
252
|
dark1: "--blue_30",
|
|
311
253
|
dark2: "--blue_30",
|
|
312
|
-
dark3: "--blue_30",
|
|
313
|
-
dark4: "--blue_30",
|
|
314
254
|
},
|
|
315
255
|
alert_warning_bg: {
|
|
316
256
|
light1: "rgba(245, 134, 54, 0.16)", // "--orange_40 16%",
|
|
317
257
|
light2: "rgba(245, 134, 54, 0.16)", // "--orange_40 16%",
|
|
318
258
|
dark1: "rgba(255, 155, 84, 0.32)", // "--orange_30 32%",
|
|
319
259
|
dark2: "rgba(255, 155, 84, 0.32)", // "--orange_30 32%",
|
|
320
|
-
dark3: "rgba(255, 155, 84, 0.32)", // "--orange_30 32%",
|
|
321
|
-
dark4: "rgba(255, 155, 84, 0.32)", // "--orange_30 32%",
|
|
322
260
|
},
|
|
323
261
|
alert_warning_border: {
|
|
324
262
|
light1: "--orange_40",
|
|
325
263
|
light2: "--orange_40",
|
|
326
264
|
dark1: "--orange_30",
|
|
327
265
|
dark2: "--orange_30",
|
|
328
|
-
dark3: "--orange_30",
|
|
329
|
-
dark4: "--orange_30",
|
|
330
266
|
},
|
|
331
267
|
},
|
|
332
268
|
chip: {
|
|
@@ -335,80 +271,60 @@ export const tokenComponentColor: TokenComponentColorValue = {
|
|
|
335
271
|
light2: "--lunit_teal_20",
|
|
336
272
|
dark1: "--lunit_teal_60",
|
|
337
273
|
dark2: "--lunit_teal_60",
|
|
338
|
-
dark3: "--lunit_teal_60",
|
|
339
|
-
dark4: "--lunit_teal_60",
|
|
340
274
|
},
|
|
341
275
|
chip_primary_text: {
|
|
342
276
|
light1: "--lunit_teal_50",
|
|
343
277
|
light2: "--lunit_teal_50",
|
|
344
278
|
dark1: "--lunit_teal_40",
|
|
345
279
|
dark2: "--lunit_teal_40",
|
|
346
|
-
dark3: "--lunit_teal_40",
|
|
347
|
-
dark4: "--lunit_teal_40",
|
|
348
280
|
},
|
|
349
281
|
chip_secondary_bg: {
|
|
350
282
|
light1: "--grey_15",
|
|
351
283
|
light2: "--grey_15",
|
|
352
284
|
dark1: "--grey_60",
|
|
353
285
|
dark2: "--grey_60",
|
|
354
|
-
dark3: "--grey_60",
|
|
355
|
-
dark4: "--grey_60",
|
|
356
286
|
},
|
|
357
287
|
chip_secondary_text: {
|
|
358
288
|
light1: "--grey_40",
|
|
359
289
|
light2: "--grey_40",
|
|
360
290
|
dark1: "--grey_30",
|
|
361
291
|
dark2: "--grey_30",
|
|
362
|
-
dark3: "--grey_30",
|
|
363
|
-
dark4: "--grey_30",
|
|
364
292
|
},
|
|
365
293
|
chip_error_bg: {
|
|
366
294
|
light1: "--red_20",
|
|
367
295
|
light2: "--red_20",
|
|
368
296
|
dark1: "--red_60",
|
|
369
297
|
dark2: "--red_60",
|
|
370
|
-
dark3: "--red_60",
|
|
371
|
-
dark4: "--red_60",
|
|
372
298
|
},
|
|
373
299
|
chip_error_text: {
|
|
374
300
|
light1: "--red_40",
|
|
375
301
|
light2: "--red_40",
|
|
376
302
|
dark1: "--red_30",
|
|
377
303
|
dark2: "--red_30",
|
|
378
|
-
dark3: "--red_30",
|
|
379
|
-
dark4: "--red_30",
|
|
380
304
|
},
|
|
381
305
|
chip_warning_bg: {
|
|
382
306
|
light1: "--orange_20",
|
|
383
307
|
light2: "--orange_20",
|
|
384
308
|
dark1: "--orange_60",
|
|
385
309
|
dark2: "--orange_60",
|
|
386
|
-
dark3: "--orange_60",
|
|
387
|
-
dark4: "--orange_60",
|
|
388
310
|
},
|
|
389
311
|
chip_warning_text: {
|
|
390
312
|
light1: "--orange_40",
|
|
391
313
|
light2: "--orange_40",
|
|
392
314
|
dark1: "--orange_30",
|
|
393
315
|
dark2: "--orange_30",
|
|
394
|
-
dark3: "--orange_30",
|
|
395
|
-
dark4: "--orange_30",
|
|
396
316
|
},
|
|
397
317
|
chip_success_bg: {
|
|
398
318
|
light1: "--green_20",
|
|
399
319
|
light2: "--green_20",
|
|
400
320
|
dark1: "--green_60",
|
|
401
321
|
dark2: "--green_60",
|
|
402
|
-
dark3: "--green_60",
|
|
403
|
-
dark4: "--green_60",
|
|
404
322
|
},
|
|
405
323
|
chip_success_text: {
|
|
406
324
|
light1: "--green_40",
|
|
407
325
|
light2: "--green_40",
|
|
408
326
|
dark1: "--green_30",
|
|
409
327
|
dark2: "--green_30",
|
|
410
|
-
dark3: "--green_30",
|
|
411
|
-
dark4: "--green_30",
|
|
412
328
|
},
|
|
413
329
|
},
|
|
414
330
|
};
|
|
@@ -9,201 +9,169 @@ export const tokenCoreColor: TokenCoreColorValue = {
|
|
|
9
9
|
light1: "--grey_0",
|
|
10
10
|
light2: "--grey_10",
|
|
11
11
|
dark1: "--grey_90",
|
|
12
|
-
dark2: "--
|
|
13
|
-
dark3: "--grey_80",
|
|
14
|
-
dark4: "--grey_70",
|
|
12
|
+
dark2: "--grey_75",
|
|
15
13
|
},
|
|
16
14
|
bg_02: {
|
|
17
15
|
light1: "--grey_0",
|
|
18
16
|
light2: "--grey_0",
|
|
19
17
|
dark1: "--grey_70",
|
|
20
18
|
dark2: "--grey_70",
|
|
21
|
-
dark3: "--grey_70",
|
|
22
|
-
dark4: "--grey_70",
|
|
23
19
|
},
|
|
24
20
|
bg_03: {
|
|
25
21
|
light1: "--grey_0",
|
|
26
22
|
light2: "--grey_0",
|
|
27
23
|
dark1: "--grey_85",
|
|
28
24
|
dark2: "--grey_85",
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
},
|
|
26
|
+
layer_01: {
|
|
27
|
+
light1: "--grey_5",
|
|
28
|
+
light2: "--grey_5",
|
|
29
|
+
dark1: "--grey_80",
|
|
30
|
+
dark2: "--grey_80",
|
|
31
31
|
},
|
|
32
32
|
text_primary: {
|
|
33
33
|
light1: "--lunit_teal_50",
|
|
34
34
|
light2: "--lunit_teal_50",
|
|
35
35
|
dark1: "--lunit_teal_40",
|
|
36
36
|
dark2: "--lunit_teal_40",
|
|
37
|
-
dark3: "--lunit_teal_40",
|
|
38
|
-
dark4: "--lunit_teal_40",
|
|
39
37
|
},
|
|
40
38
|
text_normal: {
|
|
41
39
|
light1: "--grey_95",
|
|
42
40
|
light2: "--grey_95",
|
|
43
41
|
dark1: "--grey_5",
|
|
44
42
|
dark2: "--grey_5",
|
|
45
|
-
dark3: "--grey_5",
|
|
46
|
-
dark4: "--grey_5",
|
|
47
43
|
},
|
|
48
44
|
text_medium: {
|
|
49
45
|
light1: "--grey_60",
|
|
50
46
|
light2: "--grey_60",
|
|
51
|
-
dark1: "--
|
|
52
|
-
dark2: "--
|
|
53
|
-
dark3: "--grey_40",
|
|
54
|
-
dark4: "--grey_30",
|
|
47
|
+
dark1: "--grey_30",
|
|
48
|
+
dark2: "--grey_30",
|
|
55
49
|
},
|
|
56
50
|
text_light: {
|
|
57
51
|
light1: "--grey_40",
|
|
58
52
|
light2: "--grey_40",
|
|
59
53
|
dark1: "--grey_50",
|
|
60
54
|
dark2: "--grey_50",
|
|
61
|
-
dark3: "--grey_50",
|
|
62
|
-
dark4: "--grey_40",
|
|
63
55
|
},
|
|
64
56
|
text_error: {
|
|
65
57
|
light1: "--red_40",
|
|
66
58
|
light2: "--red_40",
|
|
67
59
|
dark1: "--red_40",
|
|
68
|
-
dark2: "--
|
|
69
|
-
dark3: "--red_30",
|
|
70
|
-
dark4: "--red_30",
|
|
60
|
+
dark2: "--red_30",
|
|
71
61
|
},
|
|
72
62
|
text_success: {
|
|
73
63
|
light1: "--green_40",
|
|
74
64
|
light2: "--green_40",
|
|
75
65
|
dark1: "--green_40",
|
|
76
|
-
dark2: "--
|
|
77
|
-
dark3: "--green_30",
|
|
78
|
-
dark4: "--green_30",
|
|
66
|
+
dark2: "--green_30",
|
|
79
67
|
},
|
|
80
68
|
text_warning: {
|
|
81
69
|
light1: "--orange_40",
|
|
82
70
|
light2: "--orange_40",
|
|
83
71
|
dark1: "--orange_40",
|
|
84
|
-
dark2: "--
|
|
85
|
-
dark3: "--orange_30",
|
|
86
|
-
dark4: "--orange_30",
|
|
72
|
+
dark2: "--orange_30",
|
|
87
73
|
},
|
|
88
74
|
text_info: {
|
|
89
75
|
light1: "--blue_40",
|
|
90
76
|
light2: "--blue_40",
|
|
91
77
|
dark1: "--blue_40",
|
|
92
|
-
dark2: "--
|
|
93
|
-
dark3: "--blue_30",
|
|
94
|
-
dark4: "--blue_30",
|
|
78
|
+
dark2: "--blue_30",
|
|
95
79
|
},
|
|
96
80
|
link_primary: {
|
|
97
81
|
light1: "--blue_40",
|
|
98
82
|
light2: "--blue_40",
|
|
99
|
-
dark1: "--
|
|
100
|
-
dark2: "--
|
|
101
|
-
dark3: "--blue_30",
|
|
102
|
-
dark4: "--blue_30",
|
|
83
|
+
dark1: "--blue_30",
|
|
84
|
+
dark2: "--blue_30",
|
|
103
85
|
},
|
|
104
86
|
link_hover: {
|
|
105
87
|
light1: "--blue_50",
|
|
106
88
|
light2: "--blue_50",
|
|
107
|
-
dark1: "--
|
|
108
|
-
dark2: "--
|
|
109
|
-
dark3: "--blue_40",
|
|
110
|
-
dark4: "--blue_40",
|
|
89
|
+
dark1: "--blue_40",
|
|
90
|
+
dark2: "--blue_40",
|
|
111
91
|
},
|
|
112
92
|
link_visited: {
|
|
113
93
|
light1: "--purple_50",
|
|
114
94
|
light2: "--purple_50",
|
|
115
|
-
dark1: "--
|
|
116
|
-
dark2: "--
|
|
117
|
-
dark3: "--purple_40",
|
|
118
|
-
dark4: "--purple_40",
|
|
95
|
+
dark1: "--purple_40",
|
|
96
|
+
dark2: "--purple_40",
|
|
119
97
|
},
|
|
120
98
|
icon_error_02: {
|
|
121
99
|
light1: "--red_40",
|
|
122
100
|
light2: "--red_40",
|
|
123
101
|
dark1: "--red_30",
|
|
124
102
|
dark2: "--red_30",
|
|
125
|
-
dark3: "--red_30",
|
|
126
|
-
dark4: "--red_30",
|
|
127
103
|
},
|
|
128
104
|
icon_success_02: {
|
|
129
105
|
light1: "--green_40",
|
|
130
106
|
light2: "--green_40",
|
|
131
107
|
dark1: "--green_30",
|
|
132
108
|
dark2: "--green_30",
|
|
133
|
-
dark3: "--green_30",
|
|
134
|
-
dark4: "--green_30",
|
|
135
109
|
},
|
|
136
110
|
icon_warning_02: {
|
|
137
111
|
light1: "--orange_40",
|
|
138
112
|
light2: "--orange_40",
|
|
139
113
|
dark1: "--orange_30",
|
|
140
114
|
dark2: "--orange_30",
|
|
141
|
-
dark3: "--orange_30",
|
|
142
|
-
dark4: "--orange_30",
|
|
143
115
|
},
|
|
144
116
|
icon_info_02: {
|
|
145
117
|
light1: "--blue_40",
|
|
146
118
|
light2: "--blue_40",
|
|
147
119
|
dark1: "--blue_30",
|
|
148
120
|
dark2: "--blue_30",
|
|
149
|
-
dark3: "--blue_30",
|
|
150
|
-
dark4: "--blue_30",
|
|
151
121
|
},
|
|
152
122
|
hover: {
|
|
153
123
|
// TODO: 알파값 적용 코드는 일단 하드코딩. 나중에 수정할것
|
|
154
|
-
light1: "rgba(0, 0, 0, 0.
|
|
155
|
-
light2: "rgba(0, 0, 0, 0.
|
|
156
|
-
dark1: "rgba(
|
|
157
|
-
dark2: "rgba(
|
|
158
|
-
dark3: "rgba(0, 0, 0, 0.1)", // grey_100 10%
|
|
159
|
-
dark4: "rgba(0, 0, 0, 0.1)", // grey_100 10%
|
|
124
|
+
light1: "rgba(0, 0, 0, 0.12)", // "--grey_100 12%",
|
|
125
|
+
light2: "rgba(0, 0, 0, 0.12)", // "--grey_100 12%",
|
|
126
|
+
dark1: "rgba(255, 255, 255, 0.12)", // "--grey_0 12%",
|
|
127
|
+
dark2: "rgba(255, 255, 255, 0.12)", // "--grey_0 12%",
|
|
160
128
|
},
|
|
161
129
|
focused: {
|
|
162
130
|
light1: "--lunit_teal_40",
|
|
163
131
|
light2: "--lunit_teal_40",
|
|
164
132
|
dark1: "--lunit_teal_40",
|
|
165
133
|
dark2: "--lunit_teal_40",
|
|
166
|
-
dark3: "--lunit_teal_40",
|
|
167
|
-
dark4: "--lunit_teal_40",
|
|
168
134
|
},
|
|
169
135
|
selected: {
|
|
170
136
|
light1: "--lunit_teal_10",
|
|
171
137
|
light2: "--lunit_teal_10",
|
|
172
138
|
dark1: "--lunit_teal_80",
|
|
173
139
|
dark2: "--lunit_teal_80",
|
|
174
|
-
dark3: "--lunit_teal_80",
|
|
175
|
-
dark4: "--lunit_teal_80",
|
|
176
140
|
},
|
|
177
141
|
shadow_01: {
|
|
178
142
|
light1: "rgba(0, 0, 0, 0.12)", // "--grey_100 12%",
|
|
179
143
|
light2: "rgba(0, 0, 0, 0.12)", // "--grey_100 12%",
|
|
180
|
-
dark4: "rgba(0, 0, 0, 0.32)", // "--grey_100 32%",
|
|
181
|
-
dark3: "rgba(0, 0, 0, 0.32)", // "--grey_100 32%",
|
|
182
|
-
dark2: "rgba(0, 0, 0, 0.32)", // "--grey_100 32%",
|
|
183
144
|
dark1: "rgba(0, 0, 0, 0.32)", // "--grey_100 32%",
|
|
145
|
+
dark2: "rgba(0, 0, 0, 0.32)", // "--grey_100 32%",
|
|
184
146
|
},
|
|
185
147
|
shadow_02: {
|
|
186
148
|
light1: "rgba(0, 0, 0, 0.18)", // "--grey_100 18%",
|
|
187
149
|
light2: "rgba(0, 0, 0, 0.18)", // "--grey_100 18%",
|
|
188
|
-
dark4: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
189
|
-
dark3: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
190
|
-
dark2: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
191
150
|
dark1: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
151
|
+
dark2: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
192
152
|
},
|
|
193
153
|
shadow_03: {
|
|
194
154
|
light1: "rgba(0, 0, 0, 0.12)", // "--grey_100 12%",
|
|
195
155
|
light2: "rgba(0, 0, 0, 0.12)", // "--grey_100 12%",
|
|
196
|
-
dark4: "rgba(0, 0, 0, 0.36)", // "--grey_100 36%",
|
|
197
|
-
dark3: "rgba(0, 0, 0, 0.36)", // "--grey_100 36%",
|
|
198
|
-
dark2: "rgba(0, 0, 0, 0.36)", // "--grey_100 36%",
|
|
199
156
|
dark1: "rgba(0, 0, 0, 0.36)", // "--grey_100 36%",
|
|
157
|
+
dark2: "rgba(0, 0, 0, 0.36)", // "--grey_100 36%",
|
|
200
158
|
},
|
|
201
159
|
shadow_04: {
|
|
202
160
|
light1: "rgba(0, 0, 0, 0.18)", // "--grey_100 18%",
|
|
203
161
|
light2: "rgba(0, 0, 0, 0.18)", // "--grey_100 18%",
|
|
204
|
-
dark4: "rgba(0, 0, 0, 0.48)", // "--grey_100 48%",
|
|
205
|
-
dark3: "rgba(0, 0, 0, 0.48)", // "--grey_100 48%",
|
|
206
|
-
dark2: "rgba(0, 0, 0, 0.48)", // "--grey_100 48%",
|
|
207
162
|
dark1: "rgba(0, 0, 0, 0.48)", // "--grey_100 48%",
|
|
163
|
+
dark2: "rgba(0, 0, 0, 0.48)", // "--grey_100 48%",
|
|
164
|
+
},
|
|
165
|
+
border_light: {
|
|
166
|
+
light1: "rgba(0, 0, 0, 0.12)", // "--grey_100 12%",
|
|
167
|
+
light2: "rgba(0, 0, 0, 0.12)", // "--grey_100 12%",
|
|
168
|
+
dark1: "rgba(255, 255, 255, 0.12)", // "--grey_0 12%",
|
|
169
|
+
dark2: "rgba(255, 255, 255, 0.12)", // "--grey_0 12%",
|
|
170
|
+
},
|
|
171
|
+
border_medium: {
|
|
172
|
+
light1: "rgba(0, 0, 0, 0.24)", // "--grey_100 24%",
|
|
173
|
+
light2: "rgba(0, 0, 0, 0.24)", // "--grey_100 24%",
|
|
174
|
+
dark1: "rgba(255, 255, 255, 0.24)", // "--grey_0 24%",
|
|
175
|
+
dark2: "rgba(255, 255, 255, 0.24)", // "--grey_0 24%",
|
|
208
176
|
},
|
|
209
177
|
};
|