From 38ffd6939d8d753eb02e02816ff3ac514a976940 Mon Sep 17 00:00:00 2001 From: Lyubomir Popov Date: Tue, 12 Sep 2023 15:22:48 +0100 Subject: [PATCH] Adjust font-weight of small caps and h5 (#4873) --------- Co-authored-by: Bartek Szopka <83575+bartaz@users.noreply.github.com> --- scss/_base_typography-definitions.scss | 2 +- scss/_base_typography.scss | 1 + scss/_patterns_muted-heading.scss | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scss/_base_typography-definitions.scss b/scss/_base_typography-definitions.scss index 1b3eb1c569..81ee9e548e 100644 --- a/scss/_base_typography-definitions.scss +++ b/scss/_base_typography-definitions.scss @@ -110,7 +110,7 @@ %vf-heading-5 { font-size: 1rem; font-style: normal; - font-weight: 500; + font-weight: $font-weight-bold; line-height: map-get($line-heights, default-text); margin-bottom: map-get($sp-after, p) - map-get($nudges, p); margin-top: 0; diff --git a/scss/_base_typography.scss b/scss/_base_typography.scss index def8bee3ae..5ade0101d3 100644 --- a/scss/_base_typography.scss +++ b/scss/_base_typography.scss @@ -82,6 +82,7 @@ // deprecated: .p-text--x-small-capitalised is deprecated, use .p-text--small-caps instead .p-text--x-small-capitalised { @extend %small-caps-text; + font-weight: $font-weight-bold; } //@section Adjusted spacing for headings (or a p) following a paragraph diff --git a/scss/_patterns_muted-heading.scss b/scss/_patterns_muted-heading.scss index 5138d1c0c0..352f8c7759 100644 --- a/scss/_patterns_muted-heading.scss +++ b/scss/_patterns_muted-heading.scss @@ -2,5 +2,6 @@ @mixin vf-p-muted-heading { .p-muted-heading { @extend %small-caps-text; + font-weight: $font-weight-bold; } }