button new book
This commit is contained in:
@ -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')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user