Skip to content

Commit c78a268

Browse files
committed
Update #4018 and #4019
1 parent 162ba89 commit c78a268

File tree

10 files changed

+135
-104
lines changed

10 files changed

+135
-104
lines changed

src/shared/components/Contentful/Article/themes/default.scss

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import "~styles/mixins";
2-
@import "../../ContentBlock/themes/TCO19_thypo";
2+
@import "~components/Contentful/default";
33

44
.bannerBottomShape {
55
background-image: url(assets/images/wave.svg);
@@ -170,14 +170,15 @@
170170
text-transform: uppercase;
171171
}
172172

173-
@include TCO19-default-headers;
173+
@include gui-kit-headers;
174174

175175
p {
176176
@include tc-body-md;
177177

178178
color: $tco-black;
179179
font-size: 16px;
180180
line-height: 26px;
181+
margin-bottom: 20px;
181182

182183
strong {
183184
@include roboto-medium;
@@ -260,8 +261,13 @@
260261
}
261262

262263
img {
263-
max-width: 100%;
264+
max-width: 70%;
264265
border-radius: 6px;
266+
margin-bottom: 20px;
267+
268+
@include xs-to-sm {
269+
max-width: 100%;
270+
}
265271
}
266272

267273
code {

src/shared/components/Contentful/Banner/themes/tco19.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* TCO19 banner styling. */
22

33
@import "~styles/mixins";
4-
@import "../../ContentBlock/themes/TCO19_thypo";
4+
@import "~components/Contentful/default";
55
$contentWrapperPadding: 0;
66

77
.container {
@@ -44,7 +44,7 @@ $contentWrapperPadding: 0;
4444
text-transform: uppercase;
4545
}
4646

47-
@include TCO19-default-headers;
47+
@include gui-kit-headers;
4848

4949
p {
5050
font-size: 16px;

src/shared/components/Contentful/Banner/themes/tco20.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* TCO20 banner styling. */
22

33
@import "~styles/mixins";
4-
@import "../../ContentBlock/themes/TCO19_thypo";
4+
@import "~components/Contentful/default";
55
$contentWrapperPadding: 0;
66

77
.container {
@@ -44,7 +44,7 @@ $contentWrapperPadding: 0;
4444
text-transform: uppercase;
4545
}
4646

47-
@include TCO19-default-headers;
47+
@include gui-kit-headers;
4848

4949
p {
5050
font-size: 16px;

src/shared/components/Contentful/ContentBlock/themes/TCO19.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import "~styles/mixins";
2-
@import "./TCO19_thypo";
2+
@import "~components/Contentful/default";
33

44
.contentWrapper {
55
display: flex;
@@ -47,7 +47,7 @@
4747
color: $tco-black;
4848
}
4949

50-
@include TCO19-default-headers;
50+
@include gui-kit-headers;
5151

5252
p {
5353
@include tc-body-md;

src/shared/components/Contentful/ContentBlock/themes/TCO20.scss

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import "~styles/mixins";
2-
@import "./TCO19_thypo";
2+
@import "~components/Contentful/default";
33

44
.contentWrapper {
55
display: flex;
@@ -43,18 +43,19 @@
4343
h4,
4444
h5,
4545
h6 {
46-
margin: 20px 0 10px;
4746
color: $tco-black;
4847
}
4948

50-
@include TCO19-default-headers;
49+
@include gui-kit-headers;
5150

5251
p {
5352
@include tc-body-md;
5453

5554
color: $tco-black;
5655
font-size: 16px;
5756
line-height: 26px;
57+
margin-bottom: 20px;
58+
margin-top: 0px;
5859

5960
strong {
6061
@include roboto-medium;

src/shared/components/Contentful/ContentBlock/themes/_TCO19_thypo.scss

-86
This file was deleted.

src/shared/components/Contentful/ContentBlock/themes/blobCard.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import "~styles/mixins";
2-
@import "./TCO19_thypo";
2+
@import "~components/Contentful/default";
33

44
.contentWrapper {
55
background-color: #0ab88a;
@@ -32,7 +32,7 @@
3232
text-transform: uppercase;
3333
}
3434

35-
@include TCO19-default-headers;
35+
@include gui-kit-headers;
3636

3737
p {
3838
font-family: "Roboto", Helvetica, Arial, sans-serif;

src/shared/components/Contentful/ContentBlock/themes/largeCard.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import "~styles/mixins";
2-
@import "./TCO19_thypo";
2+
@import "~components/Contentful/default";
33

44
.contentWrapper {
55
background-color: #555;
@@ -40,7 +40,7 @@
4040
margin-bottom: 20px;
4141
}
4242

43-
@include TCO19-default-headers;
43+
@include gui-kit-headers;
4444

4545
p {
4646
font-family: "Roboto", Helvetica, Arial, sans-serif;

src/shared/components/Contentful/_default.scss

+110
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "~styles/mixins";
2+
13
@mixin default-headers {
24
h1,
35
h2,
@@ -50,3 +52,111 @@
5052
@include roboto-bold;
5153
}
5254
}
55+
56+
@mixin gui-kit-headers {
57+
h1 {
58+
@include barlow-condensed-semi-bold;
59+
60+
font-size: 80px;
61+
line-height: 74px;
62+
text-transform: uppercase;
63+
margin-top: 80px;
64+
margin-bottom: 20px;
65+
66+
@include xs-to-sm {
67+
font-size: 42px;
68+
font-weight: 600;
69+
line-height: 38px;
70+
margin-top: 42px;
71+
margin-bottom: 10px;
72+
}
73+
}
74+
75+
h2 {
76+
@include barlow-condensed-medium;
77+
78+
font-size: 60px;
79+
line-height: 58px;
80+
text-transform: uppercase;
81+
margin-top: 60px;
82+
margin-bottom: 20px;
83+
84+
@include xs-to-sm {
85+
font-size: 36px;
86+
font-weight: 500;
87+
margin-top: 36px;
88+
margin-bottom: 10px;
89+
}
90+
}
91+
92+
h3 {
93+
@include barlow-condensed-medium;
94+
95+
font-size: 48px;
96+
line-height: 50px;
97+
text-transform: uppercase;
98+
margin-top: 40px;
99+
margin-bottom: 20px;
100+
101+
@include xs-to-sm {
102+
font-size: 31px;
103+
font-weight: 500;
104+
line-height: 33px;
105+
margin-top: 31px;
106+
margin-bottom: 10px;
107+
}
108+
}
109+
110+
h4 {
111+
@include barlow-condensed-medium;
112+
113+
font-size: 34px;
114+
line-height: 38px;
115+
text-transform: uppercase;
116+
margin-top: 40px;
117+
margin-bottom: 10px;
118+
119+
@include xs-to-sm {
120+
font-size: 25px;
121+
font-weight: 500;
122+
line-height: 27px;
123+
margin-top: 25px;
124+
}
125+
}
126+
127+
h5 {
128+
@include barlow-bold;
129+
130+
font-size: 24px;
131+
line-height: 26px;
132+
font-weight: 500;
133+
text-transform: uppercase;
134+
margin-top: 20px;
135+
margin-bottom: 10px;
136+
137+
@include xs-to-sm {
138+
font-size: 21px;
139+
font-weight: 500;
140+
line-height: 25px;
141+
margin-top: 21px;
142+
}
143+
}
144+
145+
h6 {
146+
@include barlow-bold;
147+
148+
font-size: 20px;
149+
line-height: 24px;
150+
font-weight: 500;
151+
text-transform: uppercase;
152+
margin-top: 20px;
153+
margin-bottom: 10px;
154+
155+
@include xs-to-sm {
156+
font-size: 18px;
157+
font-weight: 500;
158+
line-height: 22px;
159+
margin-top: 18px;
160+
}
161+
}
162+
}

src/shared/components/NewsletterSignupForMembers/modal.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import "~styles/mixins";
2-
@import "~components/Contentful/ContentBlock/themes/TCO19_thypo";
2+
@import "~components/Contentful/default";
33

44
.container {
55
padding: 90px 60px;
@@ -18,7 +18,7 @@
1818

1919
.modalMsg {
2020
@include tc-body-md;
21-
@include TCO19-default-headers;
21+
@include gui-kit-headers;
2222

2323
margin: 24px 0;
2424
color: #2a2a2a;

0 commit comments

Comments
 (0)