Skip to content

Commit 872223c

Browse files
HeleenSGppvg
andauthored
fix: Adds bold font reference (#588)
* Adds bold font reference * fix: remove invalid fallback from font-face name --------- Co-authored-by: Peter-Paul van Gemerden <[email protected]>
1 parent 91cccd0 commit 872223c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

themes/icore-open/fonts/fonts.scss

+17
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,23 @@
3737
src: url("#{variables.$font-path}/IBMPlexSans/IBMPlexSans-SemiBoldItalic.ttf");
3838
}
3939

40+
/* Bold */
41+
@font-face {
42+
font-family: "IBM Plex Sans";
43+
font-weight: bold;
44+
font-style: normal;
45+
font-display: var(--text-body-font-display, swap);
46+
src: url("#{variables.$font-path}/IBMPlexSans/IBMPlexSans-Bold.ttf");
47+
}
48+
49+
@font-face {
50+
font-family: "IBM Plex Sans";
51+
font-weight: bold;
52+
font-style: italic;
53+
font-display: var(--text-body-font-display, swap);
54+
src: url("#{variables.$font-path}/IBMPlexSans/IBMPlexSans-BoldItalic.ttf");
55+
}
56+
4057
/* Icon font */
4158
@font-face {
4259
font-family: "tabler-icons";

0 commit comments

Comments
 (0)