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