misc: distribute Bitter font (#25260)
This commit is contained in:
parent
cf1080500b
commit
2646339ccf
8
README
8
README
|
@ -79,6 +79,14 @@ copyright notices:
|
|||
#
|
||||
# https://www.fontsquirrel.com/license/oswald
|
||||
|
||||
* Bitter font
|
||||
# Copyright (c) 2011, Sol Matas (www.huertatipografica.com.ar),
|
||||
# with Reserved Font Name “Bitter”
|
||||
#
|
||||
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
#
|
||||
# https://www.fontsquirrel.com/license/bitter
|
||||
|
||||
~~~~
|
||||
|
||||
Some theme variant files have their own specific licenses; refer to
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,17 @@
|
|||
$bitter-font-path: '../fonts/Bitter' !default;
|
||||
|
||||
@mixin bitter-font($type, $weight, $style) {
|
||||
@font-face {
|
||||
font-family: 'Bitter';
|
||||
src: url('#{$bitter-font-path}/Bitter-#{$type}.woff2') format('woff2'),
|
||||
url('#{$bitter-font-path}/Bitter-#{$type}.woff') format('woff'),
|
||||
url('#{$bitter-font-path}/Bitter-#{$type}.otf') format('opentype');
|
||||
font-weight: $weight;
|
||||
font-style: $style;
|
||||
}
|
||||
}
|
||||
|
||||
@include bitter-font('Regular', 400, normal);
|
||||
@include bitter-font('BoldItalic', 700, italic);
|
||||
@include bitter-font('Italic', 400, italic);
|
||||
@include bitter-font('Bold', 700, normal);
|
Loading…
Reference in New Issue