button new book

This commit is contained in:
Pau
2022-12-22 18:39:51 +01:00
parent 4c88e4bab3
commit 91341ed7da
6 changed files with 17 additions and 3 deletions

View File

@ -1,7 +1,7 @@
@mixin define-font-family($name, $weight, $style, $filename) {
font-family: $name;
src:
src:
url("../font/woff2/#{$filename}") format("woff2"),
url("../font/ttf/#{$filename}") format("ttf");
font-weight: $weight;
@ -12,6 +12,7 @@
$sans_font: IBMPlexSans;
$serif_font: IBMPlexSerif;
$mono_font: IBMPlexMono;
@font-face {
@include define-font-family($sans_font, normal, italic, 'IBMPlexSans-Italic.woff2')
@ -40,4 +41,9 @@ $serif_font: IBMPlexSerif;
@font-face {
@include define-font-family($serif_font, lighter, italic, 'IBMPlexSerif-LightItalic.woff2')
}
@font-face {
@include define-font-family($mono_font, normal, null, 'IBMPlexMono-Regular.woff2')
}
@font-face {
@include define-font-family($mono_font, 700, null, 'IBMPlexMono-Medium.woff2')
}