@manamerge/mana-atomic-ui 1.0.43 → 1.0.45
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/index.d.ts +4 -3
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/themes/{themes/DavidWebTheme.ts → DavidWebTheme.js} +1 -27
- package/dist/themes/{themes/ManamergeTheme.ts → ManamergeTheme.js} +5 -32
- package/dist/themes/davidWeb/atoms/button.js +107 -0
- package/dist/themes/davidWeb/atoms/checkbox.js +72 -0
- package/dist/themes/davidWeb/atoms/divider.js +24 -0
- package/dist/themes/davidWeb/atoms/gradient.js +18 -0
- package/dist/themes/davidWeb/atoms/heading.js +141 -0
- package/dist/themes/davidWeb/atoms/icon.js +30 -0
- package/dist/themes/davidWeb/atoms/link.js +78 -0
- package/dist/themes/davidWeb/atoms/text.js +38 -0
- package/dist/themes/davidWeb/layouts/pint3.js +13 -0
- package/dist/themes/davidWeb/miscellaneous/breakpoints.js +14 -0
- package/dist/themes/davidWeb/molecules/accordion.js +29 -0
- package/dist/themes/davidWeb/molecules/breakerTape.js +30 -0
- package/dist/themes/davidWeb/molecules/cardBanner.js +26 -0
- package/dist/themes/davidWeb/molecules/cardSimpleRender.js +34 -0
- package/dist/themes/davidWeb/molecules/cardTeaser.js +69 -0
- package/dist/themes/davidWeb/molecules/footer.js +26 -0
- package/dist/themes/davidWeb/molecules/header.js +94 -0
- package/dist/themes/davidWeb/molecules/navigation.js +53 -0
- package/dist/themes/manamerge/atoms/button.js +108 -0
- package/dist/themes/manamerge/atoms/checkbox.js +72 -0
- package/dist/themes/manamerge/atoms/divider.js +25 -0
- package/dist/themes/manamerge/atoms/gradient.js +19 -0
- package/dist/themes/manamerge/atoms/heading.js +280 -0
- package/dist/themes/manamerge/atoms/icon.js +30 -0
- package/dist/themes/manamerge/atoms/link.js +124 -0
- package/dist/themes/manamerge/atoms/text.js +62 -0
- package/dist/themes/manamerge/layouts/pint3.js +13 -0
- package/dist/themes/manamerge/miscellaneous/breakpoints.js +14 -0
- package/dist/themes/manamerge/miscellaneous/colorpalette.js +31 -0
- package/dist/themes/manamerge/miscellaneous/fontsizes.js +11 -0
- package/dist/themes/manamerge/molecules/accordion.js +29 -0
- package/dist/themes/manamerge/molecules/breakerTape.js +30 -0
- package/dist/themes/manamerge/molecules/cardBanner.js +26 -0
- package/dist/themes/manamerge/molecules/cardSimpleRender.js +35 -0
- package/dist/themes/manamerge/molecules/cardTeaser.js +69 -0
- package/dist/themes/manamerge/molecules/footer.js +26 -0
- package/dist/themes/manamerge/molecules/header.js +86 -0
- package/dist/themes/manamerge/molecules/navigation.js +53 -0
- package/dist/themes/themes/davidWeb/fonts/index.js +44 -15
- package/dist/themes/themes/davidWeb/images/icons/modal/closeicon.svg.js +37 -42
- package/dist/themes/themes/davidWeb/images/icons/navigation/notification.svg.js +48 -49
- package/dist/themes/themes/davidWeb/images/icons/navigation/profile.svg.js +27 -31
- package/dist/themes/themes/davidWeb/images/icons/navigation/user.svg.js +29 -33
- package/dist/themes/themes/davidWeb/styling/chat-theme.css.js +80 -14
- package/dist/themes/themes/davidWeb/styling/filter-list-theme.css.js +47 -12
- package/dist/themes/themes/davidWeb/styling/notification-theme.css.js +166 -22
- package/dist/themes/themes/manamerge/fonts/index.js +55 -17
- package/dist/themes/themes/manamerge/images/icons/modal/closeicon.svg.js +37 -42
- package/dist/themes/themes/manamerge/images/icons/navigation/notification.svg.js +48 -49
- package/dist/themes/themes/manamerge/images/icons/navigation/profile.svg.js +27 -31
- package/dist/themes/themes/manamerge/images/icons/navigation/user.svg.js +29 -33
- package/dist/themes/themes/manamerge/miscellaneous/colorpalette.ts +6 -6
- package/dist/themes/themes/manamerge/miscellaneous/fontsizes.ts +2 -2
- package/dist/themes/themes/manamerge/styling/chat-theme.css.js +80 -14
- package/dist/themes/themes/manamerge/styling/filter-list-theme.css.js +47 -12
- package/dist/themes/themes/manamerge/styling/notification-theme.css.js +166 -22
- package/dist/types/components/Atoms/Heading/Heading.d.ts +1 -1
- package/dist/types/components/Atoms/Text/Text.d.ts +3 -2
- package/dist/types/themes/ManamergeTheme.d.ts +155 -145
- package/dist/types/themes/manamerge/atoms/button.d.ts +18 -18
- package/dist/types/themes/manamerge/atoms/divider.d.ts +3 -3
- package/dist/types/themes/manamerge/atoms/gradient.d.ts +6 -6
- package/dist/types/themes/manamerge/atoms/heading.d.ts +36 -36
- package/dist/types/themes/manamerge/atoms/link.d.ts +30 -30
- package/dist/types/themes/manamerge/atoms/text.d.ts +14 -14
- package/dist/types/themes/manamerge/miscellaneous/colorpalette.d.ts +29 -24
- package/dist/types/themes/manamerge/miscellaneous/fontsizes.d.ts +9 -8
- package/dist/types/themes/manamerge/molecules/cardBanner.d.ts +2 -2
- package/package.json +3 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
const divider = {
|
|
3
|
+
"Divider-primary": {
|
|
4
|
+
color: colors.one.b,
|
|
5
|
+
height: "1px",
|
|
6
|
+
width: "100%",
|
|
7
|
+
borderRadius: "0px",
|
|
8
|
+
margin: "0 auto"
|
|
9
|
+
},
|
|
10
|
+
"Divider-secondary": {
|
|
11
|
+
color: colors.one.h,
|
|
12
|
+
height: "5px",
|
|
13
|
+
width: "75%",
|
|
14
|
+
borderRadius: "50px",
|
|
15
|
+
margin: "50px auto"
|
|
16
|
+
},
|
|
17
|
+
"Divider-tertiary": {
|
|
18
|
+
color: colors.three.a,
|
|
19
|
+
height: "20px",
|
|
20
|
+
width: "50%",
|
|
21
|
+
borderRadius: "3px",
|
|
22
|
+
margin: "50px auto"
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
export default divider;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
const gradient = {
|
|
3
|
+
"Gradient-primary": {
|
|
4
|
+
orientation: "circle at 100%",
|
|
5
|
+
primaryColor: colors.three.b,
|
|
6
|
+
secondaryColor: colors.three.a
|
|
7
|
+
},
|
|
8
|
+
"Gradient-secondary": {
|
|
9
|
+
orientation: "closest-side",
|
|
10
|
+
primaryColor: colors.two.a,
|
|
11
|
+
secondaryColor: colors.two.b
|
|
12
|
+
},
|
|
13
|
+
"Gradient-tertiary": {
|
|
14
|
+
orientation: "farthest-corner at 40px 40px",
|
|
15
|
+
primaryColor: colors.three.a,
|
|
16
|
+
secondaryColor: colors.four.a
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export default gradient;
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
const heading = {
|
|
3
|
+
"Heading-primary-h1": {
|
|
4
|
+
mobile: {
|
|
5
|
+
fontSize: "30px",
|
|
6
|
+
lineHeight: "34px",
|
|
7
|
+
fontWeight: 700,
|
|
8
|
+
color: colors.one.b,
|
|
9
|
+
margin: "0px"
|
|
10
|
+
},
|
|
11
|
+
tablet: {
|
|
12
|
+
fontSize: "34px",
|
|
13
|
+
lineHeight: "40px",
|
|
14
|
+
fontWeight: 700,
|
|
15
|
+
color: colors.one.b,
|
|
16
|
+
margin: "0px"
|
|
17
|
+
},
|
|
18
|
+
desktop: {
|
|
19
|
+
fontSize: "36px",
|
|
20
|
+
lineHeight: "40px",
|
|
21
|
+
fontWeight: 700,
|
|
22
|
+
color: colors.one.b,
|
|
23
|
+
margin: "0px"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"Heading-primary-h2": {
|
|
27
|
+
mobile: {
|
|
28
|
+
fontSize: "24px",
|
|
29
|
+
lineHeight: "30px",
|
|
30
|
+
fontWeight: 700,
|
|
31
|
+
color: colors.one.b,
|
|
32
|
+
margin: "0px"
|
|
33
|
+
},
|
|
34
|
+
tablet: {
|
|
35
|
+
fontSize: "28px",
|
|
36
|
+
lineHeight: "34px",
|
|
37
|
+
fontWeight: 700,
|
|
38
|
+
color: colors.one.b,
|
|
39
|
+
margin: "0px"
|
|
40
|
+
},
|
|
41
|
+
desktop: {
|
|
42
|
+
fontSize: "30px",
|
|
43
|
+
lineHeight: "34px",
|
|
44
|
+
fontWeight: 700,
|
|
45
|
+
color: colors.one.b,
|
|
46
|
+
margin: "0px"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"Heading-primary-h3": {
|
|
50
|
+
mobile: {
|
|
51
|
+
fontSize: "20px",
|
|
52
|
+
lineHeight: "25px",
|
|
53
|
+
fontWeight: 700,
|
|
54
|
+
color: colors.one.b,
|
|
55
|
+
margin: "0px"
|
|
56
|
+
},
|
|
57
|
+
tablet: {
|
|
58
|
+
fontSize: "20px",
|
|
59
|
+
lineHeight: "25px",
|
|
60
|
+
fontWeight: 700,
|
|
61
|
+
color: colors.one.b,
|
|
62
|
+
margin: "0px"
|
|
63
|
+
},
|
|
64
|
+
desktop: {
|
|
65
|
+
fontSize: "24px",
|
|
66
|
+
lineHeight: "30px",
|
|
67
|
+
fontWeight: 700,
|
|
68
|
+
color: colors.one.b,
|
|
69
|
+
margin: "0px"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"Heading-primary-h4": {
|
|
73
|
+
mobile: {
|
|
74
|
+
fontSize: "18px",
|
|
75
|
+
lineHeight: "23px",
|
|
76
|
+
fontWeight: 700,
|
|
77
|
+
color: colors.one.b,
|
|
78
|
+
margin: "0px"
|
|
79
|
+
},
|
|
80
|
+
tablet: {
|
|
81
|
+
fontSize: "18px",
|
|
82
|
+
lineHeight: "24px",
|
|
83
|
+
fontWeight: 700,
|
|
84
|
+
color: colors.one.b,
|
|
85
|
+
margin: "0px"
|
|
86
|
+
},
|
|
87
|
+
desktop: {
|
|
88
|
+
fontSize: "20px",
|
|
89
|
+
lineHeight: "25px",
|
|
90
|
+
fontWeight: 700,
|
|
91
|
+
color: colors.one.b,
|
|
92
|
+
margin: "0px"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"Heading-primary-h5": {
|
|
96
|
+
mobile: {
|
|
97
|
+
fontSize: "16px",
|
|
98
|
+
lineHeight: "20px",
|
|
99
|
+
fontWeight: 700,
|
|
100
|
+
color: colors.one.b,
|
|
101
|
+
margin: "0px"
|
|
102
|
+
},
|
|
103
|
+
tablet: {
|
|
104
|
+
fontSize: "16px",
|
|
105
|
+
lineHeight: "20px",
|
|
106
|
+
fontWeight: 700,
|
|
107
|
+
color: colors.one.b,
|
|
108
|
+
margin: "0px"
|
|
109
|
+
},
|
|
110
|
+
desktop: {
|
|
111
|
+
fontSize: "16px",
|
|
112
|
+
lineHeight: "20px",
|
|
113
|
+
fontWeight: 700,
|
|
114
|
+
color: colors.one.b,
|
|
115
|
+
margin: "0px"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"Heading-primary-h6": {
|
|
119
|
+
mobile: {
|
|
120
|
+
fontSize: "14px",
|
|
121
|
+
lineHeight: "20px",
|
|
122
|
+
fontWeight: 700,
|
|
123
|
+
color: colors.one.b,
|
|
124
|
+
margin: "0px"
|
|
125
|
+
},
|
|
126
|
+
tablet: {
|
|
127
|
+
fontSize: "14px",
|
|
128
|
+
lineHeight: "20px",
|
|
129
|
+
fontWeight: 700,
|
|
130
|
+
color: colors.one.b,
|
|
131
|
+
margin: "0px"
|
|
132
|
+
},
|
|
133
|
+
desktop: {
|
|
134
|
+
fontSize: "14px",
|
|
135
|
+
lineHeight: "20px",
|
|
136
|
+
fontWeight: 700,
|
|
137
|
+
color: colors.one.b,
|
|
138
|
+
margin: "0px"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"Heading-secondary-h1": {
|
|
142
|
+
mobile: {
|
|
143
|
+
fontSize: "30px",
|
|
144
|
+
lineHeight: "34px",
|
|
145
|
+
fontWeight: 700,
|
|
146
|
+
color: colors.four.a,
|
|
147
|
+
margin: "0px"
|
|
148
|
+
},
|
|
149
|
+
tablet: {
|
|
150
|
+
fontSize: "34px",
|
|
151
|
+
lineHeight: "40px",
|
|
152
|
+
fontWeight: 700,
|
|
153
|
+
color: colors.four.a,
|
|
154
|
+
margin: "0px"
|
|
155
|
+
},
|
|
156
|
+
desktop: {
|
|
157
|
+
fontSize: "36px",
|
|
158
|
+
lineHeight: "40px",
|
|
159
|
+
fontWeight: 700,
|
|
160
|
+
color: colors.four.a,
|
|
161
|
+
margin: "0px"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"Heading-secondary-h2": {
|
|
165
|
+
mobile: {
|
|
166
|
+
fontSize: "24px",
|
|
167
|
+
lineHeight: "30px",
|
|
168
|
+
fontWeight: 700,
|
|
169
|
+
color: colors.four.a,
|
|
170
|
+
margin: "0px"
|
|
171
|
+
},
|
|
172
|
+
tablet: {
|
|
173
|
+
fontSize: "28px",
|
|
174
|
+
lineHeight: "34px",
|
|
175
|
+
fontWeight: 700,
|
|
176
|
+
color: colors.four.a,
|
|
177
|
+
margin: "0px"
|
|
178
|
+
},
|
|
179
|
+
desktop: {
|
|
180
|
+
fontSize: "30px",
|
|
181
|
+
lineHeight: "34px",
|
|
182
|
+
fontWeight: 700,
|
|
183
|
+
color: colors.four.a,
|
|
184
|
+
margin: "0px"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"Heading-secondary-h3": {
|
|
188
|
+
mobile: {
|
|
189
|
+
fontSize: "20px",
|
|
190
|
+
lineHeight: "25px",
|
|
191
|
+
fontWeight: 700,
|
|
192
|
+
color: colors.four.a,
|
|
193
|
+
margin: "0px"
|
|
194
|
+
},
|
|
195
|
+
tablet: {
|
|
196
|
+
fontSize: "20px",
|
|
197
|
+
lineHeight: "25px",
|
|
198
|
+
fontWeight: 700,
|
|
199
|
+
color: colors.four.a,
|
|
200
|
+
margin: "0px"
|
|
201
|
+
},
|
|
202
|
+
desktop: {
|
|
203
|
+
fontSize: "24px",
|
|
204
|
+
lineHeight: "30px",
|
|
205
|
+
fontWeight: 700,
|
|
206
|
+
color: colors.four.a,
|
|
207
|
+
margin: "0px"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"Heading-secondary-h4": {
|
|
211
|
+
mobile: {
|
|
212
|
+
fontSize: "18px",
|
|
213
|
+
lineHeight: "23px",
|
|
214
|
+
fontWeight: 700,
|
|
215
|
+
color: colors.four.a,
|
|
216
|
+
margin: "0px"
|
|
217
|
+
},
|
|
218
|
+
tablet: {
|
|
219
|
+
fontSize: "18px",
|
|
220
|
+
lineHeight: "24px",
|
|
221
|
+
fontWeight: 700,
|
|
222
|
+
color: colors.four.a,
|
|
223
|
+
margin: "0px"
|
|
224
|
+
},
|
|
225
|
+
desktop: {
|
|
226
|
+
fontSize: "20px",
|
|
227
|
+
lineHeight: "25px",
|
|
228
|
+
fontWeight: 700,
|
|
229
|
+
color: colors.four.a,
|
|
230
|
+
margin: "0px"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"Heading-secondary-h5": {
|
|
234
|
+
mobile: {
|
|
235
|
+
fontSize: "16px",
|
|
236
|
+
lineHeight: "20px",
|
|
237
|
+
fontWeight: 700,
|
|
238
|
+
color: colors.four.a,
|
|
239
|
+
margin: "0px"
|
|
240
|
+
},
|
|
241
|
+
tablet: {
|
|
242
|
+
fontSize: "16px",
|
|
243
|
+
lineHeight: "20px",
|
|
244
|
+
fontWeight: 700,
|
|
245
|
+
color: colors.four.a,
|
|
246
|
+
margin: "0px"
|
|
247
|
+
},
|
|
248
|
+
desktop: {
|
|
249
|
+
fontSize: "16px",
|
|
250
|
+
lineHeight: "20px",
|
|
251
|
+
fontWeight: 700,
|
|
252
|
+
color: colors.four.a,
|
|
253
|
+
margin: "0px"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"Heading-secondary-h6": {
|
|
257
|
+
mobile: {
|
|
258
|
+
fontSize: "14px",
|
|
259
|
+
lineHeight: "20px",
|
|
260
|
+
fontWeight: 700,
|
|
261
|
+
color: colors.four.a,
|
|
262
|
+
margin: "0px"
|
|
263
|
+
},
|
|
264
|
+
tablet: {
|
|
265
|
+
fontSize: "14px",
|
|
266
|
+
lineHeight: "20px",
|
|
267
|
+
fontWeight: 700,
|
|
268
|
+
color: colors.four.a,
|
|
269
|
+
margin: "0px"
|
|
270
|
+
},
|
|
271
|
+
desktop: {
|
|
272
|
+
fontSize: "14px",
|
|
273
|
+
lineHeight: "20px",
|
|
274
|
+
fontWeight: 700,
|
|
275
|
+
color: colors.four.a,
|
|
276
|
+
margin: "0px"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
export default heading;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const icon = {
|
|
2
|
+
"Icon-small": {
|
|
3
|
+
size: "16px",
|
|
4
|
+
color: "red",
|
|
5
|
+
stroke: "black",
|
|
6
|
+
hover: {
|
|
7
|
+
stroke: "#ccc",
|
|
8
|
+
fill: "#ccc"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"Icon-medium": {
|
|
12
|
+
size: "22px",
|
|
13
|
+
color: "#ccc",
|
|
14
|
+
stroke: "#ccc",
|
|
15
|
+
hover: {
|
|
16
|
+
stroke: "#f00",
|
|
17
|
+
color: "#f00"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"Icon-large": {
|
|
21
|
+
size: "64px",
|
|
22
|
+
color: "orange",
|
|
23
|
+
stroke: "gold",
|
|
24
|
+
hover: {
|
|
25
|
+
stroke: "#ccc",
|
|
26
|
+
fill: "#ccc"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
export default icon;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
const Link = {
|
|
3
|
+
"Link-primary-light": {
|
|
4
|
+
fontSize: "13px",
|
|
5
|
+
lineHeight: "18px",
|
|
6
|
+
fontWeight: 300,
|
|
7
|
+
color: colors.two.a,
|
|
8
|
+
hover: {
|
|
9
|
+
color: colors.one.b
|
|
10
|
+
},
|
|
11
|
+
disabled: {
|
|
12
|
+
color: colors.one.e
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"Link-primary-regular": {
|
|
16
|
+
fontSize: "15px",
|
|
17
|
+
lineHeight: "25px",
|
|
18
|
+
fontWeight: 400,
|
|
19
|
+
color: colors.two.a,
|
|
20
|
+
hover: {
|
|
21
|
+
color: colors.one.b
|
|
22
|
+
},
|
|
23
|
+
disabled: {
|
|
24
|
+
color: colors.one.e
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"Link-primary-medium": {
|
|
28
|
+
fontSize: "17px",
|
|
29
|
+
lineHeight: "28px",
|
|
30
|
+
fontWeight: 500,
|
|
31
|
+
color: colors.two.a,
|
|
32
|
+
hover: {
|
|
33
|
+
color: colors.one.b
|
|
34
|
+
},
|
|
35
|
+
disabled: {
|
|
36
|
+
color: colors.one.e
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"Link-primary-bold": {
|
|
40
|
+
fontSize: "17px",
|
|
41
|
+
lineHeight: "28px",
|
|
42
|
+
fontWeight: 700,
|
|
43
|
+
color: colors.two.a,
|
|
44
|
+
hover: {
|
|
45
|
+
color: colors.one.b
|
|
46
|
+
},
|
|
47
|
+
disabled: {
|
|
48
|
+
color: colors.one.e
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"Link-primary-heavy": {
|
|
52
|
+
fontSize: "17px",
|
|
53
|
+
lineHeight: "28px",
|
|
54
|
+
fontWeight: 900,
|
|
55
|
+
color: colors.two.a,
|
|
56
|
+
hover: {
|
|
57
|
+
color: colors.one.b
|
|
58
|
+
},
|
|
59
|
+
disabled: {
|
|
60
|
+
color: colors.one.e
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"Link-secondary-light": {
|
|
64
|
+
fontSize: "13px",
|
|
65
|
+
lineHeight: "18px",
|
|
66
|
+
fontWeight: 300,
|
|
67
|
+
color: colors.one.b,
|
|
68
|
+
hover: {
|
|
69
|
+
color: colors.two.a
|
|
70
|
+
},
|
|
71
|
+
disabled: {
|
|
72
|
+
color: colors.one.e
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"Link-secondary-regular": {
|
|
76
|
+
fontSize: "15px",
|
|
77
|
+
lineHeight: "25px",
|
|
78
|
+
fontWeight: 400,
|
|
79
|
+
color: colors.one.b,
|
|
80
|
+
hover: {
|
|
81
|
+
color: colors.two.a
|
|
82
|
+
},
|
|
83
|
+
disabled: {
|
|
84
|
+
color: colors.one.e
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"Link-secondary-medium": {
|
|
88
|
+
fontSize: "17px",
|
|
89
|
+
lineHeight: "28px",
|
|
90
|
+
fontWeight: 500,
|
|
91
|
+
color: colors.one.b,
|
|
92
|
+
hover: {
|
|
93
|
+
color: colors.two.a
|
|
94
|
+
},
|
|
95
|
+
disabled: {
|
|
96
|
+
color: colors.one.e
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"Link-secondary-bold": {
|
|
100
|
+
fontSize: "17px",
|
|
101
|
+
lineHeight: "28px",
|
|
102
|
+
fontWeight: 700,
|
|
103
|
+
color: colors.one.b,
|
|
104
|
+
hover: {
|
|
105
|
+
color: colors.two.a
|
|
106
|
+
},
|
|
107
|
+
disabled: {
|
|
108
|
+
color: colors.one.e
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"Link-secondary-heavy": {
|
|
112
|
+
fontSize: "17px",
|
|
113
|
+
lineHeight: "28px",
|
|
114
|
+
fontWeight: 900,
|
|
115
|
+
color: colors.one.b,
|
|
116
|
+
hover: {
|
|
117
|
+
color: colors.two.a
|
|
118
|
+
},
|
|
119
|
+
disabled: {
|
|
120
|
+
color: colors.one.e
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
export default Link;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
import fontsizes from "../miscellaneous/fontsizes";
|
|
3
|
+
const text = {
|
|
4
|
+
"Text-primary-light": {
|
|
5
|
+
vFontSize: fontsizes.xs,
|
|
6
|
+
lineHeight: "18px",
|
|
7
|
+
fontWeight: 300,
|
|
8
|
+
vColor: colors.one.b,
|
|
9
|
+
margin: "0px",
|
|
10
|
+
fontFamily: "ManamergeGilmer"
|
|
11
|
+
},
|
|
12
|
+
"Text-primary-regular": {
|
|
13
|
+
vFontSize: fontsizes.sm,
|
|
14
|
+
lineHeight: "25px",
|
|
15
|
+
fontWeight: 400,
|
|
16
|
+
vColor: colors.one.b,
|
|
17
|
+
margin: "0px",
|
|
18
|
+
fontFamily: "ManamergeGilmer"
|
|
19
|
+
},
|
|
20
|
+
"Text-primary-medium": {
|
|
21
|
+
vFontSize: fontsizes.md,
|
|
22
|
+
lineHeight: "28px",
|
|
23
|
+
fontWeight: 500,
|
|
24
|
+
vColor: colors.one.b,
|
|
25
|
+
margin: "0px",
|
|
26
|
+
fontFamily: "ManamergeGilmer"
|
|
27
|
+
},
|
|
28
|
+
"Text-primary-bold": {
|
|
29
|
+
vFontSize: fontsizes.lg,
|
|
30
|
+
lineHeight: "28px",
|
|
31
|
+
fontWeight: 700,
|
|
32
|
+
vColor: colors.one.b,
|
|
33
|
+
margin: "0px",
|
|
34
|
+
fontFamily: "ManamergeGilmer"
|
|
35
|
+
},
|
|
36
|
+
"Text-primary-heavy": {
|
|
37
|
+
vFontSize: fontsizes.xl,
|
|
38
|
+
lineHeight: "28px",
|
|
39
|
+
fontWeight: 900,
|
|
40
|
+
vColor: colors.one.b,
|
|
41
|
+
margin: "0px",
|
|
42
|
+
fontFamily: "ManamergeGilmer"
|
|
43
|
+
},
|
|
44
|
+
"Text-secondary-regular": {
|
|
45
|
+
vFontSize: fontsizes.sm,
|
|
46
|
+
lineHeight: "25px",
|
|
47
|
+
fontWeight: 400,
|
|
48
|
+
vColor: colors.one.h,
|
|
49
|
+
margin: "0px",
|
|
50
|
+
fontFamily: "Springwood"
|
|
51
|
+
},
|
|
52
|
+
"Text-secondary-italic": {
|
|
53
|
+
vFontSize: fontsizes.lg,
|
|
54
|
+
lineHeight: "25px",
|
|
55
|
+
fontWeight: 400,
|
|
56
|
+
fontStyle: "italic",
|
|
57
|
+
vColor: colors.one.h,
|
|
58
|
+
margin: "0px",
|
|
59
|
+
fontFamily: "Springwood"
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
export default text;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Normally we only use 3 or 4 breakpoints for project...
|
|
2
|
+
const breakpoints = {
|
|
3
|
+
tinyMobileUp: 320,
|
|
4
|
+
smallMobileUp: 375,
|
|
5
|
+
mobileUp: 414,
|
|
6
|
+
mobileLandscapeUp: 568,
|
|
7
|
+
largeMobileUp: 767,
|
|
8
|
+
tabletPortraitUp: 992,
|
|
9
|
+
tabletLandscapeUp: 1024,
|
|
10
|
+
desktopUp: 1200,
|
|
11
|
+
largeDesktopUp: 1279,
|
|
12
|
+
superLargeDesktopUp: 1400
|
|
13
|
+
};
|
|
14
|
+
export default breakpoints;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const colors = {
|
|
2
|
+
one: {
|
|
3
|
+
a: "#fff",
|
|
4
|
+
b: "#e0e0e0",
|
|
5
|
+
c: "#c0c0c0",
|
|
6
|
+
d: "#a0a0a0",
|
|
7
|
+
e: "#808080",
|
|
8
|
+
f: "#606060",
|
|
9
|
+
g: "#404040",
|
|
10
|
+
h: "#202020",
|
|
11
|
+
i: "#000000"
|
|
12
|
+
},
|
|
13
|
+
two: {
|
|
14
|
+
a: "#0041FF",
|
|
15
|
+
b: "#0031CC",
|
|
16
|
+
c: "#04198C",
|
|
17
|
+
d: "#050A59",
|
|
18
|
+
e: "#030733",
|
|
19
|
+
f: "#02041A"
|
|
20
|
+
},
|
|
21
|
+
three: {
|
|
22
|
+
a: "#FFD166",
|
|
23
|
+
b: "#BF9B30",
|
|
24
|
+
c: "#A66D03"
|
|
25
|
+
},
|
|
26
|
+
four: {
|
|
27
|
+
a: "#FF1A1A",
|
|
28
|
+
b: "#590E0E"
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export default colors;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const accordion = {
|
|
2
|
+
"Accordion-primary": {
|
|
3
|
+
width: "100%",
|
|
4
|
+
borderRadius: "8px",
|
|
5
|
+
backgroundTitle: "#2a2a2a",
|
|
6
|
+
paddingTitle: "16px",
|
|
7
|
+
hover: {
|
|
8
|
+
background: "#3a3a3a"
|
|
9
|
+
},
|
|
10
|
+
focusVisible: {
|
|
11
|
+
outline: "#0078d4 2px solid",
|
|
12
|
+
outlineOffset: "1px"
|
|
13
|
+
},
|
|
14
|
+
gap: "10px",
|
|
15
|
+
backgroundDescription: "#ccc",
|
|
16
|
+
atomIcon: {
|
|
17
|
+
variant: "small"
|
|
18
|
+
},
|
|
19
|
+
atomHeading: {
|
|
20
|
+
variant: "primary-h5",
|
|
21
|
+
color: "white"
|
|
22
|
+
},
|
|
23
|
+
atomText: {
|
|
24
|
+
variant: "secondary-light",
|
|
25
|
+
padding: "16px"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export default accordion;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const breakerTape = {
|
|
2
|
+
"BreakerTape-primary": {
|
|
3
|
+
icon: {
|
|
4
|
+
variant: "medium",
|
|
5
|
+
fill: "gold",
|
|
6
|
+
stroke: "gold",
|
|
7
|
+
hover: {
|
|
8
|
+
stroke: "gold",
|
|
9
|
+
fill: "gold"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
text: {
|
|
13
|
+
variant: "secondary-bold",
|
|
14
|
+
color: "#111"
|
|
15
|
+
},
|
|
16
|
+
tapeContent: {
|
|
17
|
+
alignItems: "center",
|
|
18
|
+
gap: "40px",
|
|
19
|
+
slowness: "35s"
|
|
20
|
+
},
|
|
21
|
+
tapeContainer: {
|
|
22
|
+
width: "100%",
|
|
23
|
+
transform: "rotate(-3deg)",
|
|
24
|
+
background: `linear-gradient(to right,rgb(255, 120, 120),rgb(255, 101, 247))`,
|
|
25
|
+
padding: "10px 0",
|
|
26
|
+
margin: "45px 0 0 0"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
export default breakerTape;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
const cardBanner = {
|
|
3
|
+
"CardBanner-primary": {
|
|
4
|
+
flexDirection: "row",
|
|
5
|
+
justifyContent: "space-between",
|
|
6
|
+
background: `linear-gradient(to right, #ff7e5f, #feb47b)`,
|
|
7
|
+
border: "2px solid rgb(210, 16, 16)",
|
|
8
|
+
borderRadius: "25px",
|
|
9
|
+
padding: "20px",
|
|
10
|
+
atomHeading: {
|
|
11
|
+
variant: "secondary-h3"
|
|
12
|
+
},
|
|
13
|
+
atomText: {
|
|
14
|
+
variant: "secondary-regular"
|
|
15
|
+
},
|
|
16
|
+
atomButton: {
|
|
17
|
+
variant: "primary"
|
|
18
|
+
},
|
|
19
|
+
atomIcon: {
|
|
20
|
+
variant: "medium",
|
|
21
|
+
stroke: colors.one.i,
|
|
22
|
+
color: colors.one.i
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export default cardBanner;
|