@manamerge/mana-atomic-ui 1.0.155 → 1.0.157
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 +1 -2
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/themes/themes/DavidWebTheme.ts +28 -42
- package/dist/themes/themes/davidWeb/atoms/heading.ts +164 -24
- package/dist/themes/themes/davidWeb/atoms/text.ts +46 -20
- package/dist/themes/themes/davidWeb/fonts/index.js +10 -7
- package/dist/themes/themes/manamerge/atoms/text.ts +14 -14
- package/dist/themes/themes/manamerge/molecules/breakerTape.ts +7 -11
- package/dist/types/components/Atoms/Text/Text.d.ts +1 -2
- package/dist/types/themes/DavidWebTheme.d.ts +358 -76
- package/dist/types/themes/ManamergeTheme.d.ts +15 -16
- package/dist/types/themes/davidWeb/atoms/heading.d.ts +144 -6
- package/dist/types/themes/davidWeb/atoms/text.d.ts +37 -15
- package/dist/types/themes/manamerge/atoms/text.d.ts +14 -14
- package/dist/types/themes/manamerge/molecules/breakerTape.d.ts +1 -2
- package/package.json +1 -1
|
@@ -21,7 +21,26 @@ import cardBanner from "./davidWeb/molecules/cardBanner";
|
|
|
21
21
|
import accordion from "./manamerge/molecules/accordion";
|
|
22
22
|
import breakerTape from "./davidWeb/molecules/breakerTape";
|
|
23
23
|
|
|
24
|
-
//
|
|
24
|
+
// Layouts
|
|
25
|
+
import pint3 from "./davidWeb/layouts/pint3";
|
|
26
|
+
|
|
27
|
+
// vSizes
|
|
28
|
+
import fontsizes from "./davidWeb/miscellaneous/fontsizes";
|
|
29
|
+
|
|
30
|
+
// Styling
|
|
31
|
+
// import filterListTheme from "./davidWeb/styling/filter-list-theme.css.js";
|
|
32
|
+
// import chatTheme from "./davidWeb/styling/chat-theme.css.js";
|
|
33
|
+
// import notificationsTheme from "./davidWeb/styling/notification-theme.css.js";
|
|
34
|
+
|
|
35
|
+
// Icons
|
|
36
|
+
// import playIcon from "./davidWeb/images/icons/playbutton.svg";
|
|
37
|
+
// import heartEmoji from "./davidWeb/images/emojis/heart.png";
|
|
38
|
+
// import fireEmoji from "./davidWeb/images/emojis/fire.png";
|
|
39
|
+
// import clapEmoji from "./davidWeb/images/emojis/clap.png";
|
|
40
|
+
// import smileEmoji from "./davidWeb/images/emojis/smile.png";
|
|
41
|
+
// import plusoneEmoji from "./davidWeb/images/emojis/plusone.png";
|
|
42
|
+
// import manamergeprideEmoji from "./davidWeb/images/emojis/manapride.png";
|
|
43
|
+
// import manaEmoji from "./davidWeb/images/emojis/mana.png";
|
|
25
44
|
import notificationArrow from "./davidWeb/images/icons/notificationArrow.svg";
|
|
26
45
|
import navBarLogoDark from "./davidWeb/images/logo/icon-manaconf.svg";
|
|
27
46
|
import navigationBackIcon from "./davidWeb/images/icons/navigation/back.svg";
|
|
@@ -88,7 +107,6 @@ export const DavidWebTheme = {
|
|
|
88
107
|
heading,
|
|
89
108
|
button,
|
|
90
109
|
text,
|
|
91
|
-
breakpoints,
|
|
92
110
|
icon,
|
|
93
111
|
headingStyles: heading,
|
|
94
112
|
gradient,
|
|
@@ -104,7 +122,10 @@ export const DavidWebTheme = {
|
|
|
104
122
|
cardBanner,
|
|
105
123
|
accordion,
|
|
106
124
|
|
|
107
|
-
//
|
|
125
|
+
// Layouts
|
|
126
|
+
pint3,
|
|
127
|
+
|
|
128
|
+
// Media queries
|
|
108
129
|
media: {
|
|
109
130
|
tinyMobileUp: `@media only screen and (min-width: ${tinyMobileUp}px)`,
|
|
110
131
|
smallMobileUp: `@media only screen and (min-width: ${smallMobileUp}px)`,
|
|
@@ -117,46 +138,11 @@ export const DavidWebTheme = {
|
|
|
117
138
|
largeDesktopUp: `@media only screen and (min-width: ${largeDesktopUp}px)`,
|
|
118
139
|
superLargeDesktopUp: `@media only screen and (min-width: ${superLargeDesktopUp}px)`
|
|
119
140
|
},
|
|
141
|
+
// breakpoints,
|
|
142
|
+
breakpoints,
|
|
143
|
+
// vSizes
|
|
144
|
+
fontsizes,
|
|
120
145
|
|
|
121
|
-
colors: {
|
|
122
|
-
light: "#212324",
|
|
123
|
-
white: "#ffffff",
|
|
124
|
-
grey: "#CCCCCC",
|
|
125
|
-
accent: "#000",
|
|
126
|
-
active: "#1D1E23",
|
|
127
|
-
affirmative: "#AC72F0",
|
|
128
|
-
affirmativeDark: "#AC72F0",
|
|
129
|
-
affirmativeAlternate: "#AC72F0",
|
|
130
|
-
cta: "#AC72F0",
|
|
131
|
-
dark: "#000",
|
|
132
|
-
separator: "#76767D",
|
|
133
|
-
disabledBg: "#212324",
|
|
134
|
-
disabledText: "#343536",
|
|
135
|
-
divider: "#0f0",
|
|
136
|
-
error: "#F25054",
|
|
137
|
-
errorHoverBack: "#0f0",
|
|
138
|
-
hover: "#212324",
|
|
139
|
-
lightBack: "#131414",
|
|
140
|
-
navigateText: "#0f0",
|
|
141
|
-
notice: "#69696F",
|
|
142
|
-
outline: "#00A1F1",
|
|
143
|
-
primary: "#76767D",
|
|
144
|
-
primaryDark: "#1D1E23",
|
|
145
|
-
primaryDarker: "#131414",
|
|
146
|
-
readMore: "#AC72F0",
|
|
147
|
-
secondary: "#343536",
|
|
148
|
-
// secondaryLighter: '#343536',
|
|
149
|
-
secondaryLighter: "#727274",
|
|
150
|
-
socialIcon: "transparent",
|
|
151
|
-
socialIconSecondary: "#1a1",
|
|
152
|
-
text: "#212324",
|
|
153
|
-
textAccent: "#fff",
|
|
154
|
-
textLight: "#FFFFFF",
|
|
155
|
-
border: "#343536",
|
|
156
|
-
signedUp: "#f0f",
|
|
157
|
-
borderError: "#F25054",
|
|
158
|
-
borderHover: "#343536"
|
|
159
|
-
},
|
|
160
146
|
pages: {
|
|
161
147
|
vod: {
|
|
162
148
|
top: {
|
|
@@ -1,139 +1,279 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
|
|
1
3
|
const heading = {
|
|
2
|
-
"Heading-h1": {
|
|
4
|
+
"Heading-primary-h1": {
|
|
5
|
+
mobile: {
|
|
6
|
+
fontSize: "30px",
|
|
7
|
+
lineHeight: "34px",
|
|
8
|
+
fontWeight: 700,
|
|
9
|
+
color: colors.one.b,
|
|
10
|
+
margin: "0px"
|
|
11
|
+
},
|
|
12
|
+
tablet: {
|
|
13
|
+
fontSize: "34px",
|
|
14
|
+
lineHeight: "40px",
|
|
15
|
+
fontWeight: 700,
|
|
16
|
+
color: colors.one.b,
|
|
17
|
+
margin: "0px"
|
|
18
|
+
},
|
|
19
|
+
desktop: {
|
|
20
|
+
fontSize: "36px",
|
|
21
|
+
lineHeight: "40px",
|
|
22
|
+
fontWeight: 700,
|
|
23
|
+
color: colors.one.b,
|
|
24
|
+
margin: "0px"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"Heading-primary-h2": {
|
|
28
|
+
mobile: {
|
|
29
|
+
fontSize: "24px",
|
|
30
|
+
lineHeight: "30px",
|
|
31
|
+
fontWeight: 700,
|
|
32
|
+
color: colors.one.b,
|
|
33
|
+
margin: "0px"
|
|
34
|
+
},
|
|
35
|
+
tablet: {
|
|
36
|
+
fontSize: "28px",
|
|
37
|
+
lineHeight: "34px",
|
|
38
|
+
fontWeight: 700,
|
|
39
|
+
color: colors.one.b,
|
|
40
|
+
margin: "0px"
|
|
41
|
+
},
|
|
42
|
+
desktop: {
|
|
43
|
+
fontSize: "30px",
|
|
44
|
+
lineHeight: "34px",
|
|
45
|
+
fontWeight: 700,
|
|
46
|
+
color: colors.one.b,
|
|
47
|
+
margin: "0px"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"Heading-primary-h3": {
|
|
51
|
+
mobile: {
|
|
52
|
+
fontSize: "20px",
|
|
53
|
+
lineHeight: "25px",
|
|
54
|
+
fontWeight: 700,
|
|
55
|
+
color: colors.one.b,
|
|
56
|
+
margin: "0px"
|
|
57
|
+
},
|
|
58
|
+
tablet: {
|
|
59
|
+
fontSize: "20px",
|
|
60
|
+
lineHeight: "25px",
|
|
61
|
+
fontWeight: 700,
|
|
62
|
+
color: colors.one.b,
|
|
63
|
+
margin: "0px"
|
|
64
|
+
},
|
|
65
|
+
desktop: {
|
|
66
|
+
fontSize: "24px",
|
|
67
|
+
lineHeight: "30px",
|
|
68
|
+
fontWeight: 700,
|
|
69
|
+
color: colors.one.b,
|
|
70
|
+
margin: "0px"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"Heading-primary-h4": {
|
|
74
|
+
mobile: {
|
|
75
|
+
fontSize: "18px",
|
|
76
|
+
lineHeight: "23px",
|
|
77
|
+
fontWeight: 700,
|
|
78
|
+
color: colors.one.b,
|
|
79
|
+
margin: "0px"
|
|
80
|
+
},
|
|
81
|
+
tablet: {
|
|
82
|
+
fontSize: "18px",
|
|
83
|
+
lineHeight: "24px",
|
|
84
|
+
fontWeight: 700,
|
|
85
|
+
color: colors.one.b,
|
|
86
|
+
margin: "0px"
|
|
87
|
+
},
|
|
88
|
+
desktop: {
|
|
89
|
+
fontSize: "20px",
|
|
90
|
+
lineHeight: "25px",
|
|
91
|
+
fontWeight: 700,
|
|
92
|
+
color: colors.one.b,
|
|
93
|
+
margin: "0px"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"Heading-primary-h5": {
|
|
97
|
+
mobile: {
|
|
98
|
+
fontSize: "16px",
|
|
99
|
+
lineHeight: "20px",
|
|
100
|
+
fontWeight: 700,
|
|
101
|
+
color: colors.one.b,
|
|
102
|
+
margin: "0px"
|
|
103
|
+
},
|
|
104
|
+
tablet: {
|
|
105
|
+
fontSize: "16px",
|
|
106
|
+
lineHeight: "20px",
|
|
107
|
+
fontWeight: 700,
|
|
108
|
+
color: colors.one.b,
|
|
109
|
+
margin: "0px"
|
|
110
|
+
},
|
|
111
|
+
desktop: {
|
|
112
|
+
fontSize: "16px",
|
|
113
|
+
lineHeight: "20px",
|
|
114
|
+
fontWeight: 700,
|
|
115
|
+
color: colors.one.b,
|
|
116
|
+
margin: "0px"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"Heading-primary-h6": {
|
|
120
|
+
mobile: {
|
|
121
|
+
fontSize: "14px",
|
|
122
|
+
lineHeight: "20px",
|
|
123
|
+
fontWeight: 700,
|
|
124
|
+
color: colors.one.b,
|
|
125
|
+
margin: "0px"
|
|
126
|
+
},
|
|
127
|
+
tablet: {
|
|
128
|
+
fontSize: "14px",
|
|
129
|
+
lineHeight: "20px",
|
|
130
|
+
fontWeight: 700,
|
|
131
|
+
color: colors.one.b,
|
|
132
|
+
margin: "0px"
|
|
133
|
+
},
|
|
134
|
+
desktop: {
|
|
135
|
+
fontSize: "14px",
|
|
136
|
+
lineHeight: "20px",
|
|
137
|
+
fontWeight: 700,
|
|
138
|
+
color: colors.one.b,
|
|
139
|
+
margin: "0px"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"Heading-secondary-h1": {
|
|
3
143
|
mobile: {
|
|
4
144
|
fontSize: "30px",
|
|
5
145
|
lineHeight: "34px",
|
|
6
146
|
fontWeight: 700,
|
|
7
|
-
color:
|
|
147
|
+
color: colors.four.a,
|
|
8
148
|
margin: "0px"
|
|
9
149
|
},
|
|
10
150
|
tablet: {
|
|
11
151
|
fontSize: "34px",
|
|
12
152
|
lineHeight: "40px",
|
|
13
153
|
fontWeight: 700,
|
|
14
|
-
color:
|
|
154
|
+
color: colors.four.a,
|
|
15
155
|
margin: "0px"
|
|
16
156
|
},
|
|
17
157
|
desktop: {
|
|
18
158
|
fontSize: "36px",
|
|
19
159
|
lineHeight: "40px",
|
|
20
160
|
fontWeight: 700,
|
|
21
|
-
color:
|
|
161
|
+
color: colors.four.a,
|
|
22
162
|
margin: "0px"
|
|
23
163
|
}
|
|
24
164
|
},
|
|
25
|
-
"Heading-h2": {
|
|
165
|
+
"Heading-secondary-h2": {
|
|
26
166
|
mobile: {
|
|
27
167
|
fontSize: "24px",
|
|
28
168
|
lineHeight: "30px",
|
|
29
169
|
fontWeight: 700,
|
|
30
|
-
color:
|
|
170
|
+
color: colors.four.a,
|
|
31
171
|
margin: "0px"
|
|
32
172
|
},
|
|
33
173
|
tablet: {
|
|
34
174
|
fontSize: "28px",
|
|
35
175
|
lineHeight: "34px",
|
|
36
176
|
fontWeight: 700,
|
|
37
|
-
color:
|
|
177
|
+
color: colors.four.a,
|
|
38
178
|
margin: "0px"
|
|
39
179
|
},
|
|
40
180
|
desktop: {
|
|
41
181
|
fontSize: "30px",
|
|
42
182
|
lineHeight: "34px",
|
|
43
183
|
fontWeight: 700,
|
|
44
|
-
color:
|
|
184
|
+
color: colors.four.a,
|
|
45
185
|
margin: "0px"
|
|
46
186
|
}
|
|
47
187
|
},
|
|
48
|
-
"Heading-h3": {
|
|
188
|
+
"Heading-secondary-h3": {
|
|
49
189
|
mobile: {
|
|
50
190
|
fontSize: "20px",
|
|
51
191
|
lineHeight: "25px",
|
|
52
192
|
fontWeight: 700,
|
|
53
|
-
color:
|
|
193
|
+
color: colors.four.a,
|
|
54
194
|
margin: "0px"
|
|
55
195
|
},
|
|
56
196
|
tablet: {
|
|
57
197
|
fontSize: "20px",
|
|
58
198
|
lineHeight: "25px",
|
|
59
199
|
fontWeight: 700,
|
|
60
|
-
color:
|
|
200
|
+
color: colors.four.a,
|
|
61
201
|
margin: "0px"
|
|
62
202
|
},
|
|
63
203
|
desktop: {
|
|
64
204
|
fontSize: "24px",
|
|
65
205
|
lineHeight: "30px",
|
|
66
206
|
fontWeight: 700,
|
|
67
|
-
color:
|
|
207
|
+
color: colors.four.a,
|
|
68
208
|
margin: "0px"
|
|
69
209
|
}
|
|
70
210
|
},
|
|
71
|
-
"Heading-h4": {
|
|
211
|
+
"Heading-secondary-h4": {
|
|
72
212
|
mobile: {
|
|
73
213
|
fontSize: "18px",
|
|
74
214
|
lineHeight: "23px",
|
|
75
215
|
fontWeight: 700,
|
|
76
|
-
color:
|
|
216
|
+
color: colors.four.a,
|
|
77
217
|
margin: "0px"
|
|
78
218
|
},
|
|
79
219
|
tablet: {
|
|
80
220
|
fontSize: "18px",
|
|
81
221
|
lineHeight: "24px",
|
|
82
222
|
fontWeight: 700,
|
|
83
|
-
color:
|
|
223
|
+
color: colors.four.a,
|
|
84
224
|
margin: "0px"
|
|
85
225
|
},
|
|
86
226
|
desktop: {
|
|
87
227
|
fontSize: "20px",
|
|
88
228
|
lineHeight: "25px",
|
|
89
229
|
fontWeight: 700,
|
|
90
|
-
color:
|
|
230
|
+
color: colors.four.a,
|
|
91
231
|
margin: "0px"
|
|
92
232
|
}
|
|
93
233
|
},
|
|
94
|
-
"Heading-h5": {
|
|
234
|
+
"Heading-secondary-h5": {
|
|
95
235
|
mobile: {
|
|
96
236
|
fontSize: "16px",
|
|
97
237
|
lineHeight: "20px",
|
|
98
238
|
fontWeight: 700,
|
|
99
|
-
color:
|
|
239
|
+
color: colors.four.a,
|
|
100
240
|
margin: "0px"
|
|
101
241
|
},
|
|
102
242
|
tablet: {
|
|
103
243
|
fontSize: "16px",
|
|
104
244
|
lineHeight: "20px",
|
|
105
245
|
fontWeight: 700,
|
|
106
|
-
color:
|
|
246
|
+
color: colors.four.a,
|
|
107
247
|
margin: "0px"
|
|
108
248
|
},
|
|
109
249
|
desktop: {
|
|
110
250
|
fontSize: "16px",
|
|
111
251
|
lineHeight: "20px",
|
|
112
252
|
fontWeight: 700,
|
|
113
|
-
color:
|
|
253
|
+
color: colors.four.a,
|
|
114
254
|
margin: "0px"
|
|
115
255
|
}
|
|
116
256
|
},
|
|
117
|
-
"Heading-h6": {
|
|
257
|
+
"Heading-secondary-h6": {
|
|
118
258
|
mobile: {
|
|
119
259
|
fontSize: "14px",
|
|
120
260
|
lineHeight: "20px",
|
|
121
261
|
fontWeight: 700,
|
|
122
|
-
color:
|
|
262
|
+
color: colors.four.a,
|
|
123
263
|
margin: "0px"
|
|
124
264
|
},
|
|
125
265
|
tablet: {
|
|
126
266
|
fontSize: "14px",
|
|
127
267
|
lineHeight: "20px",
|
|
128
268
|
fontWeight: 700,
|
|
129
|
-
color:
|
|
269
|
+
color: colors.four.a,
|
|
130
270
|
margin: "0px"
|
|
131
271
|
},
|
|
132
272
|
desktop: {
|
|
133
273
|
fontSize: "14px",
|
|
134
274
|
lineHeight: "20px",
|
|
135
275
|
fontWeight: 700,
|
|
136
|
-
color:
|
|
276
|
+
color: colors.four.a,
|
|
137
277
|
margin: "0px"
|
|
138
278
|
}
|
|
139
279
|
}
|
|
@@ -1,38 +1,64 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
import fontsizes from "../miscellaneous/fontsizes";
|
|
3
|
+
|
|
1
4
|
const text = {
|
|
2
|
-
"Text-light": {
|
|
3
|
-
|
|
5
|
+
"Text-primary-light": {
|
|
6
|
+
vFontSize: fontsizes.xs,
|
|
4
7
|
lineHeight: "18px",
|
|
5
8
|
fontWeight: 300,
|
|
6
|
-
|
|
7
|
-
margin: "0px"
|
|
9
|
+
vColor: colors.one.b,
|
|
10
|
+
margin: "0px",
|
|
11
|
+
fontFamily: "ManamergeGilmer"
|
|
8
12
|
},
|
|
9
|
-
"Text-regular": {
|
|
10
|
-
|
|
13
|
+
"Text-primary-regular": {
|
|
14
|
+
vFontSize: fontsizes.sm,
|
|
11
15
|
lineHeight: "25px",
|
|
12
16
|
fontWeight: 400,
|
|
13
|
-
|
|
14
|
-
margin: "0px"
|
|
17
|
+
vColor: colors.one.b,
|
|
18
|
+
margin: "0px",
|
|
19
|
+
fontFamily: "ManamergeGilmer"
|
|
15
20
|
},
|
|
16
|
-
"Text-medium": {
|
|
17
|
-
|
|
21
|
+
"Text-primary-medium": {
|
|
22
|
+
vFontSize: fontsizes.md,
|
|
18
23
|
lineHeight: "28px",
|
|
19
24
|
fontWeight: 500,
|
|
20
|
-
|
|
21
|
-
margin: "0px"
|
|
25
|
+
vColor: colors.one.b,
|
|
26
|
+
margin: "0px",
|
|
27
|
+
fontFamily: "ManamergeGilmer"
|
|
22
28
|
},
|
|
23
|
-
"Text-bold": {
|
|
24
|
-
|
|
29
|
+
"Text-primary-bold": {
|
|
30
|
+
vFontSize: fontsizes.lg,
|
|
25
31
|
lineHeight: "28px",
|
|
26
32
|
fontWeight: 700,
|
|
27
|
-
|
|
28
|
-
margin: "0px"
|
|
33
|
+
vColor: colors.one.b,
|
|
34
|
+
margin: "0px",
|
|
35
|
+
fontFamily: "ManamergeGilmer"
|
|
29
36
|
},
|
|
30
|
-
"Text-heavy": {
|
|
31
|
-
|
|
37
|
+
"Text-primary-heavy": {
|
|
38
|
+
vFontSize: fontsizes.xl,
|
|
32
39
|
lineHeight: "28px",
|
|
33
40
|
fontWeight: 900,
|
|
34
|
-
|
|
35
|
-
margin: "0px"
|
|
41
|
+
vColor: colors.one.b,
|
|
42
|
+
margin: "0px",
|
|
43
|
+
fontFamily: "ManamergeGilmer"
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
"Text-secondary-regular": {
|
|
47
|
+
vFontSize: fontsizes.sm,
|
|
48
|
+
lineHeight: "25px",
|
|
49
|
+
fontWeight: 400,
|
|
50
|
+
vColor: colors.one.h,
|
|
51
|
+
margin: "0px",
|
|
52
|
+
fontFamily: "Springwood"
|
|
53
|
+
},
|
|
54
|
+
"Text-secondary-italic": {
|
|
55
|
+
vFontSize: fontsizes.lg,
|
|
56
|
+
lineHeight: "25px",
|
|
57
|
+
fontWeight: 400,
|
|
58
|
+
fontStyle: "italic",
|
|
59
|
+
vColor: colors.one.h,
|
|
60
|
+
margin: "0px",
|
|
61
|
+
fontFamily: "Springwood"
|
|
36
62
|
}
|
|
37
63
|
};
|
|
38
64
|
|
|
@@ -5,12 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.DavidWebStyles = void 0;
|
|
7
7
|
var _styledComponents = require("styled-components");
|
|
8
|
-
var _GilmerRegular = _interopRequireDefault(require("./Gilmer-Regular.woff2"));
|
|
9
|
-
var _GilmerBold = _interopRequireDefault(require("./Gilmer-Bold.woff2"));
|
|
10
|
-
var _GilmerHeavy = _interopRequireDefault(require("./Gilmer-Heavy.woff2"));
|
|
11
|
-
var _GilmerLight = _interopRequireDefault(require("./Gilmer-Light.woff2"));
|
|
12
|
-
var _GilmerMedium = _interopRequireDefault(require("./Gilmer-Medium.woff2"));
|
|
13
|
-
var
|
|
8
|
+
var _GilmerRegular = _interopRequireDefault(require("./Gilmer/Gilmer-Regular.woff2"));
|
|
9
|
+
var _GilmerBold = _interopRequireDefault(require("./Gilmer/Gilmer-Bold.woff2"));
|
|
10
|
+
var _GilmerHeavy = _interopRequireDefault(require("./Gilmer/Gilmer-Heavy.woff2"));
|
|
11
|
+
var _GilmerLight = _interopRequireDefault(require("./Gilmer/Gilmer-Light.woff2"));
|
|
12
|
+
var _GilmerMedium = _interopRequireDefault(require("./Gilmer/Gilmer-Medium.woff2"));
|
|
13
|
+
var _SpringwoodBrushItalic = _interopRequireDefault(require("./Springwood/SpringwoodBrush-Italic.woff2"));
|
|
14
|
+
var _SpringwoodBrushRegular = _interopRequireDefault(require("./Springwood/SpringwoodBrush-Regular.woff2"));
|
|
15
|
+
var _templateObject; // Fonts Manamerge Gilmer
|
|
16
|
+
// Fonts SpringWood
|
|
14
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
18
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
16
|
-
var DavidWebStyles = exports.DavidWebStyles = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 300;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 400;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 500;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 700;\n }\n\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 900;\n }\n
|
|
19
|
+
var DavidWebStyles = exports.DavidWebStyles = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 300;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 400;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 500;\n }\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 700;\n }\n\n @font-face {\n font-family: ManamergeGilmer;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 900;\n }\n @font-face {\n font-family: Springwood;\n src: url(", ") format('woff2');\n font-style: italic;\n font-weight: 400;\n }\n @font-face {\n font-family: Springwood;\n src: url(", ") format('woff2');\n font-style: normal;\n font-weight: 400;\n }\n"])), _GilmerLight["default"], _GilmerRegular["default"], _GilmerMedium["default"], _GilmerBold["default"], _GilmerHeavy["default"], _SpringwoodBrushItalic["default"], _SpringwoodBrushRegular["default"]);
|
|
@@ -3,60 +3,60 @@ import fontsizes from "../miscellaneous/fontsizes";
|
|
|
3
3
|
|
|
4
4
|
const text = {
|
|
5
5
|
"Text-primary-light": {
|
|
6
|
-
|
|
6
|
+
fontSize: fontsizes.xs,
|
|
7
7
|
lineHeight: "18px",
|
|
8
8
|
fontWeight: 300,
|
|
9
|
-
|
|
9
|
+
color: colors.one.b,
|
|
10
10
|
margin: "0px",
|
|
11
11
|
fontFamily: "ManamergeGilmer"
|
|
12
12
|
},
|
|
13
13
|
"Text-primary-regular": {
|
|
14
|
-
|
|
14
|
+
fontSize: fontsizes.sm,
|
|
15
15
|
lineHeight: "25px",
|
|
16
16
|
fontWeight: 400,
|
|
17
|
-
|
|
17
|
+
color: colors.one.b,
|
|
18
18
|
margin: "0px",
|
|
19
19
|
fontFamily: "ManamergeGilmer"
|
|
20
20
|
},
|
|
21
21
|
"Text-primary-medium": {
|
|
22
|
-
|
|
22
|
+
fontSize: fontsizes.md,
|
|
23
23
|
lineHeight: "28px",
|
|
24
24
|
fontWeight: 500,
|
|
25
|
-
|
|
25
|
+
color: colors.one.b,
|
|
26
26
|
margin: "0px",
|
|
27
27
|
fontFamily: "ManamergeGilmer"
|
|
28
28
|
},
|
|
29
29
|
"Text-primary-bold": {
|
|
30
|
-
|
|
30
|
+
fontSize: fontsizes.lg,
|
|
31
31
|
lineHeight: "28px",
|
|
32
32
|
fontWeight: 700,
|
|
33
|
-
|
|
33
|
+
color: colors.one.b,
|
|
34
34
|
margin: "0px",
|
|
35
35
|
fontFamily: "ManamergeGilmer"
|
|
36
36
|
},
|
|
37
37
|
"Text-primary-heavy": {
|
|
38
|
-
|
|
38
|
+
fontSize: fontsizes.xl,
|
|
39
39
|
lineHeight: "28px",
|
|
40
40
|
fontWeight: 900,
|
|
41
|
-
|
|
41
|
+
color: colors.one.b,
|
|
42
42
|
margin: "0px",
|
|
43
43
|
fontFamily: "ManamergeGilmer"
|
|
44
44
|
},
|
|
45
45
|
|
|
46
46
|
"Text-secondary-regular": {
|
|
47
|
-
|
|
47
|
+
fontSize: fontsizes.sm,
|
|
48
48
|
lineHeight: "25px",
|
|
49
49
|
fontWeight: 400,
|
|
50
|
-
|
|
50
|
+
color: colors.one.h,
|
|
51
51
|
margin: "0px",
|
|
52
52
|
fontFamily: "Springwood"
|
|
53
53
|
},
|
|
54
54
|
"Text-secondary-italic": {
|
|
55
|
-
|
|
55
|
+
fontSize: fontsizes.lg,
|
|
56
56
|
lineHeight: "25px",
|
|
57
57
|
fontWeight: 400,
|
|
58
58
|
fontStyle: "italic",
|
|
59
|
-
|
|
59
|
+
color: colors.one.h,
|
|
60
60
|
margin: "0px",
|
|
61
61
|
fontFamily: "Springwood"
|
|
62
62
|
}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
import colors from "../miscellaneous/colorpalette";
|
|
2
|
-
import vFontSizes from "../miscellaneous/fontsizes";
|
|
3
|
-
|
|
4
1
|
const breakerTape = {
|
|
5
2
|
"BreakerTape-primary": {
|
|
6
3
|
icon: {
|
|
7
4
|
variant: "medium",
|
|
8
|
-
fill:
|
|
9
|
-
stroke:
|
|
5
|
+
fill: "gold",
|
|
6
|
+
stroke: "gold",
|
|
10
7
|
hover: {
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
stroke: "gold",
|
|
9
|
+
fill: "gold"
|
|
13
10
|
}
|
|
14
11
|
},
|
|
15
12
|
text: {
|
|
16
|
-
variant: "
|
|
17
|
-
color:
|
|
18
|
-
fontSize: vFontSizes.sm
|
|
13
|
+
variant: "secondary-bold",
|
|
14
|
+
color: "#111"
|
|
19
15
|
},
|
|
20
16
|
tapeContent: {
|
|
21
17
|
alignItems: "center",
|
|
@@ -25,7 +21,7 @@ const breakerTape = {
|
|
|
25
21
|
tapeContainer: {
|
|
26
22
|
width: "100%",
|
|
27
23
|
transform: "rotate(-3deg)",
|
|
28
|
-
background: `linear-gradient(to right
|
|
24
|
+
background: `linear-gradient(to right,rgb(255, 120, 120),rgb(255, 101, 247))`,
|
|
29
25
|
padding: "10px 0",
|
|
30
26
|
margin: "45px 0 0 0"
|
|
31
27
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export interface TextTypes {
|
|
3
|
-
variant?:
|
|
3
|
+
variant?: "primary-light" | "primary-regular" | "primary-medium" | "primary-bold" | "primary-heavy" | "secondary-regular" | "secondary-italic";
|
|
4
4
|
children?: string;
|
|
5
5
|
htmlFor?: string;
|
|
6
6
|
margin?: string;
|
|
7
|
-
color?: string;
|
|
8
7
|
lineHeight?: string;
|
|
9
8
|
fontWeight?: string | number;
|
|
10
9
|
tag?: keyof JSX.IntrinsicElements;
|