Skip to content

Commit

Permalink
fix: Adds bold font reference (#588)
Browse files Browse the repository at this point in the history
* Adds bold font reference

* fix: remove invalid fallback from font-face name

---------

Co-authored-by: Peter-Paul van Gemerden <[email protected]>
  • Loading branch information
HeleenSG and ppvg authored Jul 22, 2024
1 parent 91cccd0 commit 872223c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions themes/icore-open/fonts/fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@
src: url("#{variables.$font-path}/IBMPlexSans/IBMPlexSans-SemiBoldItalic.ttf");
}

/* Bold */
@font-face {
font-family: "IBM Plex Sans";
font-weight: bold;
font-style: normal;
font-display: var(--text-body-font-display, swap);
src: url("#{variables.$font-path}/IBMPlexSans/IBMPlexSans-Bold.ttf");
}

@font-face {
font-family: "IBM Plex Sans";
font-weight: bold;
font-style: italic;
font-display: var(--text-body-font-display, swap);
src: url("#{variables.$font-path}/IBMPlexSans/IBMPlexSans-BoldItalic.ttf");
}

/* Icon font */
@font-face {
font-family: "tabler-icons";
Expand Down

0 comments on commit 872223c

Please sign in to comment.