Skip to content

Commit bc475a8

Browse files
hqhhuangmarinaaisa
andauthored
update font size for hero (#786)
update font size for hero Co-authored-by: Marina Aísa <[email protected]>
1 parent a5b6ef9 commit bc475a8

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/components/DocumentationTopic/Description/Abstract.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626
@import 'docc-render/styles/_core.scss';
2727
2828
.abstract {
29-
@include font-styles(body-large);
29+
@include font-styles(intro);
3030
}
3131
3232
:deep() {

src/components/DocumentationTopic/Hero/Hierarchy.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export default {
186186
@import 'docc-render/styles/_core.scss';
187187
188188
.hierarchy {
189-
@include font-styles(hierarchy);
189+
@include font-styles(body-reduced);
190190
justify-content: flex-start;
191191
align-items: center;
192192
margin: 0 0 rem(20px) 0;

src/styles/core/typography/_font-styles.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ $font-styles: (
180180
badge: (
181181
large: 12_16
182182
),
183+
intro: (
184+
large: 21_29,
185+
small: 19_27
186+
),
183187
// nav typography
184188
nav-title: (
185189
large: (19_27, nav),
@@ -205,9 +209,6 @@ $font-styles: (
205209
card-eyebrow-small: (
206210
large: 14_18_semibold,
207211
),
208-
hierarchy: (
209-
large: 14_18,
210-
),
211212
card-eyebrow-large: (
212213
large: 17_21_semibold,
213214
medium: 14_18_semibold,

0 commit comments

Comments
 (0)