@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.
- package/.babelrc.json +16 -0
- 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/Chip/index.js +1 -1
- package/dist/cjs/components/Chip/index.js.map +1 -1
- package/dist/cjs/components/TextField/index.js +1 -1
- package/dist/cjs/components/TextField/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/Alert/Alert.js +16 -4
- package/dist/components/Alert/Alert.js.map +1 -1
- package/dist/components/Alert/Alert.styled.js +48 -0
- package/dist/components/Alert/Alert.styled.js.map +1 -0
- package/dist/components/Alert/Alert.types.js +2 -0
- package/dist/components/Alert/Alert.types.js.map +1 -0
- package/dist/components/Alert/Alert.utils..js +38 -0
- package/dist/components/Alert/Alert.utils..js.map +1 -0
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.styled.js +31 -21
- package/dist/components/Button/Button.styled.js.map +1 -1
- package/dist/components/Button/utils/getHoverStyle.js +7 -0
- package/dist/components/Button/utils/getHoverStyle.js.map +1 -0
- package/dist/components/Chip/Chip.js +1 -1
- package/dist/components/Chip/Chip.js.map +1 -1
- package/dist/components/Chip/Chip.styled.js +2 -3
- package/dist/components/Chip/Chip.styled.js.map +1 -1
- package/dist/components/TextField/TextField.js +15 -3
- package/dist/components/TextField/TextField.js.map +1 -1
- package/dist/components/TextField/TextField.style.js +245 -0
- package/dist/components/TextField/TextField.style.js.map +1 -0
- package/dist/components/TextField/TextField.types.js +2 -0
- package/dist/components/TextField/TextField.types.js.map +1 -0
- package/dist/components/TextField/TextFieldIcon.js +7 -0
- package/dist/components/TextField/TextFieldIcon.js.map +1 -0
- package/dist/components/Toast/Toast.js +26 -0
- package/dist/components/Toast/Toast.js.map +1 -0
- package/dist/components/Toast/Toast.styled.js +49 -0
- package/dist/components/Toast/Toast.styled.js.map +1 -0
- package/dist/components/Toast/Toast.types.js +2 -0
- package/dist/components/Toast/Toast.types.js.map +1 -0
- package/dist/components/Toast/Toast.utils.js +14 -0
- package/dist/components/Toast/Toast.utils.js.map +1 -0
- package/dist/components/Toast/index.js +2 -0
- package/dist/components/Toast/index.js.map +1 -0
- package/dist/foundation/colors/base/grey.js +16 -0
- package/dist/foundation/colors/base/grey.js.map +1 -1
- package/dist/foundation/colors/base/lunitGreen.js +2 -2
- package/dist/foundation/colors/base/lunitGreen.js.map +1 -1
- package/dist/foundation/colors/base/lunitTeal.js +5 -5
- package/dist/foundation/colors/base/lunitTeal.js.map +1 -1
- package/dist/foundation/colors/base/red.js +2 -2
- package/dist/foundation/colors/index.js +24 -4
- package/dist/foundation/colors/index.js.map +1 -1
- package/dist/foundation/colors/token/component.js +265 -291
- package/dist/foundation/colors/token/component.js.map +1 -1
- package/dist/foundation/colors/token/core.js +132 -125
- package/dist/foundation/colors/token/core.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/theme.js +5 -0
- package/dist/theme.js.map +1 -1
- package/dist/types/components/Alert/Alert.d.ts +3 -1
- package/dist/types/components/Alert/Alert.styled.d.ts +6 -0
- package/dist/types/components/Alert/Alert.types.d.ts +9 -0
- package/dist/types/components/Alert/Alert.utils..d.ts +4 -0
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/Button/Button.styled.d.ts +26 -2
- package/dist/types/components/Button/Button.types.d.ts +4 -4
- package/dist/types/components/Button/utils/getHoverStyle.d.ts +6 -0
- package/dist/types/components/Chip/Chip.styled.d.ts +9 -9
- package/dist/types/components/Chip/Chip.types.d.ts +1 -1
- package/dist/types/components/TextField/TextField.d.ts +2 -1
- package/dist/types/components/TextField/TextField.style.d.ts +9 -0
- package/dist/types/components/TextField/TextField.types.d.ts +29 -0
- package/dist/types/components/TextField/TextFieldIcon.d.ts +8 -0
- package/dist/types/components/TextField/index.d.ts +1 -0
- package/dist/types/components/Toast/Toast.d.ts +4 -0
- package/dist/types/components/Toast/Toast.styled.d.ts +1 -0
- package/dist/types/components/Toast/Toast.types.d.ts +4 -0
- package/dist/types/components/Toast/Toast.utils.d.ts +2 -0
- package/dist/types/components/Toast/index.d.ts +1 -0
- package/dist/types/components/ToggleButton/ToggleButton.styled.d.ts +1 -1
- package/dist/types/components/ToggleButton/ToggleButton.types.d.ts +4 -4
- package/dist/types/foundation/colors/base/grey.d.ts +16 -0
- package/dist/types/foundation/colors/base/lunitGreen.d.ts +2 -2
- package/dist/types/foundation/colors/base/lunitTeal.d.ts +2 -2
- package/dist/types/foundation/colors/index.d.ts +42 -9
- package/dist/types/foundation/colors/types.d.ts +1 -3
- package/dist/types/foundation/index.d.ts +37 -5
- package/dist/types/index.d.ts +1 -0
- package/package.json +21 -16
- package/src/components/Alert/Alert.styled.ts +60 -0
- package/src/components/Alert/Alert.tsx +49 -5
- package/src/components/Alert/Alert.types.ts +10 -0
- package/src/components/Alert/Alert.utils..ts +41 -0
- package/src/components/Button/Button.styled.ts +33 -21
- package/src/components/Button/Button.tsx +1 -5
- package/src/components/Button/Button.types.ts +4 -4
- package/src/components/Button/utils/getHoverStyle.ts +7 -0
- package/src/components/Chip/Chip.styled.ts +6 -4
- package/src/components/Chip/Chip.tsx +1 -1
- package/src/components/Chip/Chip.types.ts +2 -2
- package/src/components/TextField/TextField.style.ts +316 -0
- package/src/components/TextField/TextField.tsx +75 -3
- package/src/components/TextField/TextField.types.ts +38 -0
- package/src/components/TextField/TextFieldIcon.tsx +24 -0
- package/src/components/TextField/index.ts +6 -0
- package/src/components/Toast/Toast.styled.ts +49 -0
- package/src/components/Toast/Toast.tsx +66 -0
- package/src/components/Toast/Toast.types.ts +14 -0
- package/src/components/Toast/Toast.utils.ts +15 -0
- package/src/components/Toast/index.tsx +1 -0
- package/src/components/ToggleButton/ToggleButton.types.ts +4 -7
- package/src/foundation/colors/base/grey.ts +17 -0
- package/src/foundation/colors/base/lunitGreen.ts +2 -2
- package/src/foundation/colors/base/lunitTeal.ts +5 -5
- package/src/foundation/colors/base/red.ts +2 -2
- package/src/foundation/colors/index.ts +29 -8
- package/src/foundation/colors/token/component.ts +300 -326
- package/src/foundation/colors/token/core.ts +152 -145
- package/src/foundation/colors/types.ts +1 -3
- package/src/index.ts +1 -0
- package/src/stories/components/Alert/Alert.stories.tsx +148 -4
- package/src/stories/components/Button/BasicButton.stories.tsx +19 -28
- package/src/stories/components/Button/IconButton.stories.tsx +39 -28
- package/src/stories/components/Button/Kind.stories.tsx +83 -57
- package/src/stories/components/Chip/Chip.stories.tsx +94 -82
- package/src/stories/components/DataTable/DataTable.stories.tsx +6 -4
- package/src/stories/components/DatePicker/DatePicker.stories.tsx +6 -4
- package/src/stories/components/Dropdown/Dropdown.stories.tsx +12 -6
- package/src/stories/components/Modal/Modal.stories.tsx +6 -4
- package/src/stories/components/SelectControl/Checkbox.stories.tsx +31 -23
- package/src/stories/components/SelectControl/RadioGroup.stories.tsx +6 -5
- package/src/stories/components/SelectControl/RadioStatus.stories.tsx +6 -4
- package/src/stories/components/SelectControl/Toggle.stories.tsx +33 -19
- package/src/stories/components/TextField/TextFieldMulti.stories.tsx +137 -0
- package/src/stories/components/TextField/TextFieldSingle.stories.tsx +283 -0
- package/src/stories/components/TextField/TextFieldSize.stories.tsx +134 -0
- package/src/stories/components/Toast/Toast.stories.tsx +152 -0
- package/src/stories/components/ToggleButton/Basic.stories.tsx +35 -31
- package/src/stories/components/ToggleButton/Group.stories.tsx +21 -21
- package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +53 -43
- package/src/stories/components/ToggleButton/WithIcon.stories.tsx +35 -36
- package/src/stories/components/Tooltip/Tooltip.stories.tsx +6 -4
- package/src/stories/foundation/Elevation/Elevation.stories.tsx +10 -6
- package/src/stories/foundation/Typography/{Typography.stories.mdx → Typography.mdx} +10 -5
- package/src/stories/foundation/Typography/Typography.stories.tsx +46 -36
- package/src/stories/foundation/Typography/TypographyExamples.stories.tsx +44 -0
- package/src/stories/foundation/colors/Colors.stories.tsx +7 -5
- package/src/stories/foundation/colors/Mui.stories.tsx +18 -0
- package/src/stories/foundation/colors/Token.inComponent.stories.tsx +2 -2
- package/src/stories/foundation/colors/TokenPaletteTable.stories.tsx +28 -0
- package/src/stories/foundation/colors/TokenPaletteTable.tsx +127 -0
- package/src/theme.ts +5 -0
- package/src/stories/components/TextField/TextField.stories.tsx +0 -13
- 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: "--
|
|
5
|
-
light2: "--
|
|
6
|
-
dark1: "--
|
|
7
|
-
dark2: "--
|
|
8
|
-
dark3: "--
|
|
9
|
-
dark4: "--
|
|
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: "--
|
|
13
|
-
light2: "--
|
|
14
|
-
dark1: "--
|
|
15
|
-
dark2: "--
|
|
16
|
-
dark3: "--
|
|
17
|
-
dark4: "--
|
|
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: "--
|
|
21
|
-
light2: "--
|
|
22
|
-
dark1: "--
|
|
23
|
-
dark2: "--
|
|
24
|
-
dark3: "--
|
|
25
|
-
dark4: "--
|
|
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: "--
|
|
29
|
-
light2: "--
|
|
30
|
-
dark1: "--
|
|
31
|
-
dark2: "--
|
|
32
|
-
dark3: "--
|
|
33
|
-
dark4: "--
|
|
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: "--
|
|
37
|
-
light2: "--
|
|
38
|
-
dark1: "--
|
|
39
|
-
dark2: "--
|
|
40
|
-
dark3: "--
|
|
41
|
-
dark4: "--
|
|
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: "--
|
|
45
|
-
light2: "--
|
|
46
|
-
dark1: "--
|
|
47
|
-
dark2: "--
|
|
48
|
-
dark3: "--
|
|
49
|
-
dark4: "--
|
|
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: "--
|
|
53
|
-
light2: "--
|
|
54
|
-
dark1: "--
|
|
55
|
-
dark2: "--
|
|
56
|
-
dark3: "--
|
|
57
|
-
dark4: "--
|
|
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: "--
|
|
61
|
-
light2: "--
|
|
62
|
-
dark1: "--
|
|
63
|
-
dark2: "--
|
|
64
|
-
dark3: "--
|
|
65
|
-
dark4: "--
|
|
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: "--
|
|
69
|
-
light2: "--
|
|
70
|
-
dark1: "--
|
|
71
|
-
dark2: "--
|
|
72
|
-
dark3: "--
|
|
73
|
-
dark4: "--
|
|
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: "--
|
|
77
|
-
light2: "--
|
|
78
|
-
dark1: "--
|
|
79
|
-
dark2: "--
|
|
80
|
-
dark3: "--
|
|
81
|
-
dark4: "--
|
|
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: "--
|
|
85
|
-
light2: "--
|
|
86
|
-
dark1: "--
|
|
87
|
-
dark2: "--
|
|
88
|
-
dark3: "--
|
|
89
|
-
dark4: "--
|
|
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: "--
|
|
93
|
-
light2: "--
|
|
94
|
-
dark1: "--
|
|
95
|
-
dark2: "--
|
|
96
|
-
dark3: "--
|
|
97
|
-
dark4: "--
|
|
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: "--
|
|
101
|
-
light2: "--
|
|
102
|
-
dark1: "--
|
|
103
|
-
dark2: "--
|
|
104
|
-
dark3: "--
|
|
105
|
-
dark4: "--
|
|
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
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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: "--
|
|
118
|
-
light2: "--
|
|
119
|
-
dark1: "--
|
|
120
|
-
dark2: "--
|
|
121
|
-
dark3: "--
|
|
122
|
-
dark4: "--
|
|
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: "--
|
|
128
|
-
light2: "--
|
|
129
|
-
dark1: "--
|
|
130
|
-
dark2: "--
|
|
131
|
-
dark3: "--
|
|
132
|
-
dark4: "--
|
|
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: "--
|
|
136
|
-
light2: "--
|
|
137
|
-
dark1: "--
|
|
138
|
-
dark2: "--
|
|
139
|
-
dark3: "--
|
|
140
|
-
dark4: "--
|
|
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: "--
|
|
144
|
-
light2: "--
|
|
145
|
-
dark1: "--
|
|
146
|
-
dark2: "--
|
|
147
|
-
dark3: "--
|
|
148
|
-
dark4: "--
|
|
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)", // "--
|
|
155
|
+
dark4: "rgba(0, 0, 0, 0.4)", // "--grey_100 40%",
|
|
157
156
|
},
|
|
158
157
|
},
|
|
159
158
|
textFields: {
|
|
160
159
|
textfield_bg: {
|
|
161
|
-
light1: "--
|
|
162
|
-
light2: "--
|
|
163
|
-
dark1: "--
|
|
164
|
-
dark2: "--
|
|
165
|
-
dark3: "--
|
|
166
|
-
dark4: "--
|
|
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: "--
|
|
170
|
-
light2: "--
|
|
171
|
-
dark1: "--
|
|
172
|
-
dark2: "--
|
|
173
|
-
dark3: "--
|
|
174
|
-
dark4: "--
|
|
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: "--
|
|
188
|
-
light2: "--
|
|
189
|
-
dark1: "--
|
|
190
|
-
dark2: "--
|
|
191
|
-
dark3: "--
|
|
192
|
-
dark4: "--
|
|
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: "--
|
|
215
|
-
light2: "--
|
|
216
|
-
dark1: "--
|
|
217
|
-
dark2: "--
|
|
218
|
-
dark3: "--
|
|
219
|
-
dark4: "--
|
|
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: "--
|
|
223
|
-
light2: "--
|
|
224
|
-
dark1: "--
|
|
225
|
-
dark2: "--
|
|
226
|
-
dark3: "--
|
|
227
|
-
dark4: "--
|
|
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)", // "--
|
|
209
|
+
dark4: "rgba(255, 255, 255, 0.03)", // "--grey_00 3%",
|
|
236
210
|
},
|
|
237
211
|
},
|
|
238
212
|
scrollbars: {
|
|
239
213
|
scrollbars_bg: {
|
|
240
|
-
light1: "--
|
|
241
|
-
light2: "--
|
|
242
|
-
dark1: "--
|
|
243
|
-
dark2: "--
|
|
244
|
-
dark3: "--
|
|
245
|
-
dark4: "--
|
|
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: "--
|
|
249
|
-
light2: "--
|
|
250
|
-
dark1: "--
|
|
251
|
-
dark2: "--
|
|
252
|
-
dark3: "--
|
|
253
|
-
dark4: "--
|
|
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: "--
|
|
257
|
-
light2: "--
|
|
258
|
-
dark1: "--
|
|
259
|
-
dark2: "--
|
|
260
|
-
dark3: "--
|
|
261
|
-
dark4: "--
|
|
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)", // "--
|
|
245
|
+
dark4: "rgba(17, 17, 19, 0.7)", // "--grey_95 70%",
|
|
272
246
|
},
|
|
273
247
|
},
|
|
274
248
|
tooltip: {
|
|
275
249
|
tooltip_bg: {
|
|
276
|
-
light1: "--
|
|
277
|
-
light2: "--
|
|
278
|
-
dark1: "--
|
|
279
|
-
dark2: "--
|
|
280
|
-
dark3: "--
|
|
281
|
-
dark4: "--
|
|
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: "--
|
|
285
|
-
light2: "--
|
|
286
|
-
dark1: "--
|
|
287
|
-
dark2: "--
|
|
288
|
-
dark3: "--
|
|
289
|
-
dark4: "--
|
|
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: "--
|
|
293
|
-
light2: "--
|
|
294
|
-
dark1: "--
|
|
295
|
-
dark2: "--
|
|
296
|
-
dark3: "--
|
|
297
|
-
dark4: "--
|
|
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)", // "--
|
|
281
|
+
dark4: "rgba(255, 131, 137, 0.32)", // "--red_30 32%",
|
|
308
282
|
},
|
|
309
283
|
alert_error_border: {
|
|
310
|
-
light1: "--
|
|
311
|
-
light2: "--
|
|
312
|
-
dark1: "--
|
|
313
|
-
dark2: "--
|
|
314
|
-
dark3: "--
|
|
315
|
-
dark4: "--
|
|
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)", // "--
|
|
297
|
+
dark4: "rgba(66, 190, 101, 0.32)", // "--green_30 32%",
|
|
324
298
|
},
|
|
325
299
|
alert_success_border: {
|
|
326
|
-
light1: "--
|
|
327
|
-
light2: "--
|
|
328
|
-
dark1: "--
|
|
329
|
-
dark2: "--
|
|
330
|
-
dark3: "--
|
|
331
|
-
dark4: "--
|
|
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)", // "--
|
|
313
|
+
dark4: "rgba(120, 169, 255, 0.32)", // "--blue_30 32%",
|
|
340
314
|
},
|
|
341
315
|
alert_info_border: {
|
|
342
|
-
light1: "--
|
|
343
|
-
light2: "--
|
|
344
|
-
dark1: "--
|
|
345
|
-
dark2: "--
|
|
346
|
-
dark3: "--
|
|
347
|
-
dark4: "--
|
|
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)", // "--
|
|
329
|
+
dark4: "rgba(255, 155, 84, 0.32)", // "--orange_30 32%",
|
|
356
330
|
},
|
|
357
331
|
alert_warning_border: {
|
|
358
|
-
light1: "--
|
|
359
|
-
light2: "--
|
|
360
|
-
dark1: "--
|
|
361
|
-
dark2: "--
|
|
362
|
-
dark3: "--
|
|
363
|
-
dark4: "--
|
|
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: "--
|
|
369
|
-
light2: "--
|
|
370
|
-
dark1: "--
|
|
371
|
-
dark2: "--
|
|
372
|
-
dark3: "--
|
|
373
|
-
dark4: "--
|
|
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: "--
|
|
377
|
-
light2: "--
|
|
378
|
-
dark1: "--
|
|
379
|
-
dark2: "--
|
|
380
|
-
dark3: "--
|
|
381
|
-
dark4: "--
|
|
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: "--
|
|
385
|
-
light2: "--
|
|
386
|
-
dark1: "--
|
|
387
|
-
dark2: "--
|
|
388
|
-
dark3: "--
|
|
389
|
-
dark4: "--
|
|
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: "--
|
|
393
|
-
light2: "--
|
|
394
|
-
dark1: "--
|
|
395
|
-
dark2: "--
|
|
396
|
-
dark3: "--
|
|
397
|
-
dark4: "--
|
|
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: "--
|
|
401
|
-
light2: "--
|
|
402
|
-
dark1: "--
|
|
403
|
-
dark2: "--
|
|
404
|
-
dark3: "--
|
|
405
|
-
dark4: "--
|
|
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: "--
|
|
409
|
-
light2: "--
|
|
410
|
-
dark1: "--
|
|
411
|
-
dark2: "--
|
|
412
|
-
dark3: "--
|
|
413
|
-
dark4: "--
|
|
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: "--
|
|
417
|
-
light2: "--
|
|
418
|
-
dark1: "--
|
|
419
|
-
dark2: "--
|
|
420
|
-
dark3: "--
|
|
421
|
-
dark4: "--
|
|
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: "--
|
|
425
|
-
light2: "--
|
|
426
|
-
dark1: "--
|
|
427
|
-
dark2: "--
|
|
428
|
-
dark3: "--
|
|
429
|
-
dark4: "--
|
|
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: "--
|
|
433
|
-
light2: "--
|
|
434
|
-
dark1: "--
|
|
435
|
-
dark2: "--
|
|
436
|
-
dark3: "--
|
|
437
|
-
dark4: "--
|
|
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: "--
|
|
441
|
-
light2: "--
|
|
442
|
-
dark1: "--
|
|
443
|
-
dark2: "--
|
|
444
|
-
dark3: "--
|
|
445
|
-
dark4: "--
|
|
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
|
};
|