Skip to content

Commit

Permalink
Adjust font-weight of small caps and h5 (#4873)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Bartek Szopka <83575+bartaz@users.noreply.github.com>
  • Loading branch information
lyubomir-popov and bartaz committed Sep 12, 2023
1 parent 4c2faf0 commit 38ffd69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_base_typography-definitions.scss
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions scss/_base_typography.scss
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions scss/_patterns_muted-heading.scss
Expand Up @@ -2,5 +2,6 @@
@mixin vf-p-muted-heading {
.p-muted-heading {
@extend %small-caps-text;
font-weight: $font-weight-bold;
}
}

0 comments on commit 38ffd69

Please sign in to comment.