@manamerge/mana-atomic-ui 1.0.153 → 1.0.155
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 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/themes/themes/DavidWebTheme.ts +42 -28
- package/dist/themes/themes/davidWeb/atoms/heading.ts +24 -164
- package/dist/themes/themes/davidWeb/atoms/text.ts +20 -46
- package/dist/themes/themes/davidWeb/fonts/index.js +7 -10
- package/dist/themes/themes/manamerge/molecules/breakerTape.ts +11 -7
- package/dist/themes/themes/manamerge/molecules/cardSimpleRender.ts +3 -2
- package/dist/themes/themes/manamerge/molecules/navigation.ts +1 -2
- package/dist/types/components/Atoms/Heading/Heading.d.ts +1 -1
- package/dist/types/themes/DavidWebTheme.d.ts +76 -358
- package/dist/types/themes/ManamergeTheme.d.ts +3 -2
- package/dist/types/themes/davidWeb/atoms/heading.d.ts +6 -144
- package/dist/types/themes/davidWeb/atoms/text.d.ts +15 -37
- package/dist/types/themes/manamerge/molecules/breakerTape.d.ts +2 -1
- package/dist/types/themes/manamerge/molecules/cardSimpleRender.d.ts +1 -0
- package/dist/types/themes/manamerge/molecules/navigation.d.ts +0 -1
- package/package.json +1 -1
|
@@ -21,26 +21,7 @@ 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
|
-
//
|
|
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";
|
|
24
|
+
// Images icons
|
|
44
25
|
import notificationArrow from "./davidWeb/images/icons/notificationArrow.svg";
|
|
45
26
|
import navBarLogoDark from "./davidWeb/images/logo/icon-manaconf.svg";
|
|
46
27
|
import navigationBackIcon from "./davidWeb/images/icons/navigation/back.svg";
|
|
@@ -107,6 +88,7 @@ export const DavidWebTheme = {
|
|
|
107
88
|
heading,
|
|
108
89
|
button,
|
|
109
90
|
text,
|
|
91
|
+
breakpoints,
|
|
110
92
|
icon,
|
|
111
93
|
headingStyles: heading,
|
|
112
94
|
gradient,
|
|
@@ -122,10 +104,7 @@ export const DavidWebTheme = {
|
|
|
122
104
|
cardBanner,
|
|
123
105
|
accordion,
|
|
124
106
|
|
|
125
|
-
//
|
|
126
|
-
pint3,
|
|
127
|
-
|
|
128
|
-
// Media queries
|
|
107
|
+
// Breakpoints
|
|
129
108
|
media: {
|
|
130
109
|
tinyMobileUp: `@media only screen and (min-width: ${tinyMobileUp}px)`,
|
|
131
110
|
smallMobileUp: `@media only screen and (min-width: ${smallMobileUp}px)`,
|
|
@@ -138,11 +117,46 @@ export const DavidWebTheme = {
|
|
|
138
117
|
largeDesktopUp: `@media only screen and (min-width: ${largeDesktopUp}px)`,
|
|
139
118
|
superLargeDesktopUp: `@media only screen and (min-width: ${superLargeDesktopUp}px)`
|
|
140
119
|
},
|
|
141
|
-
// breakpoints,
|
|
142
|
-
breakpoints,
|
|
143
|
-
// vSizes
|
|
144
|
-
fontsizes,
|
|
145
120
|
|
|
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
|
+
},
|
|
146
160
|
pages: {
|
|
147
161
|
vod: {
|
|
148
162
|
top: {
|
|
@@ -1,279 +1,139 @@
|
|
|
1
|
-
import colors from "../miscellaneous/colorpalette";
|
|
2
|
-
|
|
3
1
|
const heading = {
|
|
4
|
-
"Heading-
|
|
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": {
|
|
2
|
+
"Heading-h1": {
|
|
143
3
|
mobile: {
|
|
144
4
|
fontSize: "30px",
|
|
145
5
|
lineHeight: "34px",
|
|
146
6
|
fontWeight: 700,
|
|
147
|
-
color:
|
|
7
|
+
color: "#3838aa",
|
|
148
8
|
margin: "0px"
|
|
149
9
|
},
|
|
150
10
|
tablet: {
|
|
151
11
|
fontSize: "34px",
|
|
152
12
|
lineHeight: "40px",
|
|
153
13
|
fontWeight: 700,
|
|
154
|
-
color:
|
|
14
|
+
color: "#3838aa",
|
|
155
15
|
margin: "0px"
|
|
156
16
|
},
|
|
157
17
|
desktop: {
|
|
158
18
|
fontSize: "36px",
|
|
159
19
|
lineHeight: "40px",
|
|
160
20
|
fontWeight: 700,
|
|
161
|
-
color:
|
|
21
|
+
color: "#3838aa",
|
|
162
22
|
margin: "0px"
|
|
163
23
|
}
|
|
164
24
|
},
|
|
165
|
-
"Heading-
|
|
25
|
+
"Heading-h2": {
|
|
166
26
|
mobile: {
|
|
167
27
|
fontSize: "24px",
|
|
168
28
|
lineHeight: "30px",
|
|
169
29
|
fontWeight: 700,
|
|
170
|
-
color:
|
|
30
|
+
color: "#3838aa",
|
|
171
31
|
margin: "0px"
|
|
172
32
|
},
|
|
173
33
|
tablet: {
|
|
174
34
|
fontSize: "28px",
|
|
175
35
|
lineHeight: "34px",
|
|
176
36
|
fontWeight: 700,
|
|
177
|
-
color:
|
|
37
|
+
color: "#3838aa",
|
|
178
38
|
margin: "0px"
|
|
179
39
|
},
|
|
180
40
|
desktop: {
|
|
181
41
|
fontSize: "30px",
|
|
182
42
|
lineHeight: "34px",
|
|
183
43
|
fontWeight: 700,
|
|
184
|
-
color:
|
|
44
|
+
color: "#3838aa",
|
|
185
45
|
margin: "0px"
|
|
186
46
|
}
|
|
187
47
|
},
|
|
188
|
-
"Heading-
|
|
48
|
+
"Heading-h3": {
|
|
189
49
|
mobile: {
|
|
190
50
|
fontSize: "20px",
|
|
191
51
|
lineHeight: "25px",
|
|
192
52
|
fontWeight: 700,
|
|
193
|
-
color:
|
|
53
|
+
color: "#3838aa",
|
|
194
54
|
margin: "0px"
|
|
195
55
|
},
|
|
196
56
|
tablet: {
|
|
197
57
|
fontSize: "20px",
|
|
198
58
|
lineHeight: "25px",
|
|
199
59
|
fontWeight: 700,
|
|
200
|
-
color:
|
|
60
|
+
color: "#3838aa",
|
|
201
61
|
margin: "0px"
|
|
202
62
|
},
|
|
203
63
|
desktop: {
|
|
204
64
|
fontSize: "24px",
|
|
205
65
|
lineHeight: "30px",
|
|
206
66
|
fontWeight: 700,
|
|
207
|
-
color:
|
|
67
|
+
color: "#3838aa",
|
|
208
68
|
margin: "0px"
|
|
209
69
|
}
|
|
210
70
|
},
|
|
211
|
-
"Heading-
|
|
71
|
+
"Heading-h4": {
|
|
212
72
|
mobile: {
|
|
213
73
|
fontSize: "18px",
|
|
214
74
|
lineHeight: "23px",
|
|
215
75
|
fontWeight: 700,
|
|
216
|
-
color:
|
|
76
|
+
color: "#3838aa",
|
|
217
77
|
margin: "0px"
|
|
218
78
|
},
|
|
219
79
|
tablet: {
|
|
220
80
|
fontSize: "18px",
|
|
221
81
|
lineHeight: "24px",
|
|
222
82
|
fontWeight: 700,
|
|
223
|
-
color:
|
|
83
|
+
color: "#3838aa",
|
|
224
84
|
margin: "0px"
|
|
225
85
|
},
|
|
226
86
|
desktop: {
|
|
227
87
|
fontSize: "20px",
|
|
228
88
|
lineHeight: "25px",
|
|
229
89
|
fontWeight: 700,
|
|
230
|
-
color:
|
|
90
|
+
color: "#3838aa",
|
|
231
91
|
margin: "0px"
|
|
232
92
|
}
|
|
233
93
|
},
|
|
234
|
-
"Heading-
|
|
94
|
+
"Heading-h5": {
|
|
235
95
|
mobile: {
|
|
236
96
|
fontSize: "16px",
|
|
237
97
|
lineHeight: "20px",
|
|
238
98
|
fontWeight: 700,
|
|
239
|
-
color:
|
|
99
|
+
color: "#3838aa",
|
|
240
100
|
margin: "0px"
|
|
241
101
|
},
|
|
242
102
|
tablet: {
|
|
243
103
|
fontSize: "16px",
|
|
244
104
|
lineHeight: "20px",
|
|
245
105
|
fontWeight: 700,
|
|
246
|
-
color:
|
|
106
|
+
color: "#3838aa",
|
|
247
107
|
margin: "0px"
|
|
248
108
|
},
|
|
249
109
|
desktop: {
|
|
250
110
|
fontSize: "16px",
|
|
251
111
|
lineHeight: "20px",
|
|
252
112
|
fontWeight: 700,
|
|
253
|
-
color:
|
|
113
|
+
color: "#3838aa",
|
|
254
114
|
margin: "0px"
|
|
255
115
|
}
|
|
256
116
|
},
|
|
257
|
-
"Heading-
|
|
117
|
+
"Heading-h6": {
|
|
258
118
|
mobile: {
|
|
259
119
|
fontSize: "14px",
|
|
260
120
|
lineHeight: "20px",
|
|
261
121
|
fontWeight: 700,
|
|
262
|
-
color:
|
|
122
|
+
color: "#3838aa",
|
|
263
123
|
margin: "0px"
|
|
264
124
|
},
|
|
265
125
|
tablet: {
|
|
266
126
|
fontSize: "14px",
|
|
267
127
|
lineHeight: "20px",
|
|
268
128
|
fontWeight: 700,
|
|
269
|
-
color:
|
|
129
|
+
color: "#3838aa",
|
|
270
130
|
margin: "0px"
|
|
271
131
|
},
|
|
272
132
|
desktop: {
|
|
273
133
|
fontSize: "14px",
|
|
274
134
|
lineHeight: "20px",
|
|
275
135
|
fontWeight: 700,
|
|
276
|
-
color:
|
|
136
|
+
color: "#3838aa",
|
|
277
137
|
margin: "0px"
|
|
278
138
|
}
|
|
279
139
|
}
|
|
@@ -1,64 +1,38 @@
|
|
|
1
|
-
import colors from "../miscellaneous/colorpalette";
|
|
2
|
-
import fontsizes from "../miscellaneous/fontsizes";
|
|
3
|
-
|
|
4
1
|
const text = {
|
|
5
|
-
"Text-
|
|
6
|
-
|
|
2
|
+
"Text-light": {
|
|
3
|
+
fontSize: "13px",
|
|
7
4
|
lineHeight: "18px",
|
|
8
5
|
fontWeight: 300,
|
|
9
|
-
|
|
10
|
-
margin: "0px"
|
|
11
|
-
fontFamily: "ManamergeGilmer"
|
|
6
|
+
color: "#13021f",
|
|
7
|
+
margin: "0px"
|
|
12
8
|
},
|
|
13
|
-
"Text-
|
|
14
|
-
|
|
9
|
+
"Text-regular": {
|
|
10
|
+
fontSize: "15px",
|
|
15
11
|
lineHeight: "25px",
|
|
16
12
|
fontWeight: 400,
|
|
17
|
-
|
|
18
|
-
margin: "0px"
|
|
19
|
-
fontFamily: "ManamergeGilmer"
|
|
13
|
+
color: "#13021f",
|
|
14
|
+
margin: "0px"
|
|
20
15
|
},
|
|
21
|
-
"Text-
|
|
22
|
-
|
|
16
|
+
"Text-medium": {
|
|
17
|
+
fontSize: "17px",
|
|
23
18
|
lineHeight: "28px",
|
|
24
19
|
fontWeight: 500,
|
|
25
|
-
|
|
26
|
-
margin: "0px"
|
|
27
|
-
fontFamily: "ManamergeGilmer"
|
|
20
|
+
color: "#13021f",
|
|
21
|
+
margin: "0px"
|
|
28
22
|
},
|
|
29
|
-
"Text-
|
|
30
|
-
|
|
23
|
+
"Text-bold": {
|
|
24
|
+
fontSize: "17px",
|
|
31
25
|
lineHeight: "28px",
|
|
32
26
|
fontWeight: 700,
|
|
33
|
-
|
|
34
|
-
margin: "0px"
|
|
35
|
-
fontFamily: "ManamergeGilmer"
|
|
27
|
+
color: "#13021f",
|
|
28
|
+
margin: "0px"
|
|
36
29
|
},
|
|
37
|
-
"Text-
|
|
38
|
-
|
|
30
|
+
"Text-heavy": {
|
|
31
|
+
fontSize: "17px",
|
|
39
32
|
lineHeight: "28px",
|
|
40
33
|
fontWeight: 900,
|
|
41
|
-
|
|
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"
|
|
34
|
+
color: "#13021f",
|
|
35
|
+
margin: "0px"
|
|
62
36
|
}
|
|
63
37
|
};
|
|
64
38
|
|
|
@@ -5,15 +5,12 @@ 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
|
|
9
|
-
var _GilmerBold = _interopRequireDefault(require("./Gilmer
|
|
10
|
-
var _GilmerHeavy = _interopRequireDefault(require("./Gilmer
|
|
11
|
-
var _GilmerLight = _interopRequireDefault(require("./Gilmer
|
|
12
|
-
var _GilmerMedium = _interopRequireDefault(require("./Gilmer
|
|
13
|
-
var
|
|
14
|
-
var _SpringwoodBrushRegular = _interopRequireDefault(require("./Springwood/SpringwoodBrush-Regular.woff2"));
|
|
15
|
-
var _templateObject; // Fonts Manamerge Gilmer
|
|
16
|
-
// Fonts SpringWood
|
|
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 _templateObject; // Fonts
|
|
17
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
15
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
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
|
|
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 * {\n font-family: ManamergeGilmer, sans-serif;\n }\n"])), _GilmerLight["default"], _GilmerRegular["default"], _GilmerMedium["default"], _GilmerBold["default"], _GilmerHeavy["default"]);
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
+
import colors from "../miscellaneous/colorpalette";
|
|
2
|
+
import vFontSizes from "../miscellaneous/fontsizes";
|
|
3
|
+
|
|
1
4
|
const breakerTape = {
|
|
2
5
|
"BreakerTape-primary": {
|
|
3
6
|
icon: {
|
|
4
7
|
variant: "medium",
|
|
5
|
-
fill:
|
|
6
|
-
stroke:
|
|
8
|
+
fill: colors.one.g,
|
|
9
|
+
stroke: colors.one.g,
|
|
7
10
|
hover: {
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
fill: colors.one.g,
|
|
12
|
+
stroke: colors.one.g
|
|
10
13
|
}
|
|
11
14
|
},
|
|
12
15
|
text: {
|
|
13
|
-
variant: "
|
|
14
|
-
color:
|
|
16
|
+
variant: "primary-medium",
|
|
17
|
+
color: colors.one.h,
|
|
18
|
+
fontSize: vFontSizes.sm
|
|
15
19
|
},
|
|
16
20
|
tapeContent: {
|
|
17
21
|
alignItems: "center",
|
|
@@ -21,7 +25,7 @@ const breakerTape = {
|
|
|
21
25
|
tapeContainer: {
|
|
22
26
|
width: "100%",
|
|
23
27
|
transform: "rotate(-3deg)",
|
|
24
|
-
background: `linear-gradient(to right
|
|
28
|
+
background: `linear-gradient(to right,#c6fba6,#80c3ba)`,
|
|
25
29
|
padding: "10px 0",
|
|
26
30
|
margin: "45px 0 0 0"
|
|
27
31
|
}
|
|
@@ -7,7 +7,7 @@ const cardSimpleRender = {
|
|
|
7
7
|
gradientBackground: `radial-gradient(circle at bottom right, rgba(237, 191, 222, 0.9) 5%, pink 10%, transparent 30%)`,
|
|
8
8
|
border: "2px solid rgb(210, 16, 16)",
|
|
9
9
|
borderRadius: "25px",
|
|
10
|
-
padding: "
|
|
10
|
+
padding: "0px",
|
|
11
11
|
height: "100%",
|
|
12
12
|
maxWidth: "350px",
|
|
13
13
|
minWidth: "200px",
|
|
@@ -26,7 +26,8 @@ const cardSimpleRender = {
|
|
|
26
26
|
variant: "medium"
|
|
27
27
|
},
|
|
28
28
|
atomHeading: {
|
|
29
|
-
variant: "
|
|
29
|
+
variant: "primary",
|
|
30
|
+
as: "h2"
|
|
30
31
|
},
|
|
31
32
|
atomText: {
|
|
32
33
|
variant: "secondary-regular"
|
|
@@ -2,6 +2,6 @@ import React, { ReactNode } from "react";
|
|
|
2
2
|
export interface HeadingTypes {
|
|
3
3
|
variant?: string;
|
|
4
4
|
children: ReactNode;
|
|
5
|
-
as
|
|
5
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
6
6
|
}
|
|
7
7
|
export declare const Heading: React.FC<HeadingTypes>;
|