fonts: add Cabin font (#31733)
This commit is contained in:
parent
993b1ea0ba
commit
00ae0af1a8
11
README
11
README
|
@ -148,5 +148,16 @@ copyright notices:
|
|||
#
|
||||
# http://www.latofonts.com/
|
||||
|
||||
* Cabin
|
||||
# Copyright (c) 2011, Pablo Impallari (www.impallari.com|impallari@gmail.com),
|
||||
# Copyright (c) 2011, Igino Marini. (www.ikern.com|mail@iginomarini.com),
|
||||
# with Reserved Font Name Cabin.
|
||||
#
|
||||
# This Font Software is licensed under the SIL Open Font License, Version 1.1
|
||||
#
|
||||
# https://www.fontsquirrel.com/license/cabin
|
||||
|
||||
~~~~
|
||||
|
||||
Some theme variant files have their own specific licenses; refer to
|
||||
static/$theme/README for details.
|
||||
|
|
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,19 @@
|
|||
@mixin cabin-font($type, $weight, $style) {
|
||||
@font-face {
|
||||
font-family: 'Cabin';
|
||||
src: url('../fonts/Cabin/Cabin-#{$type}.woff2') format('woff2'),
|
||||
url('../fonts/Cabin/Cabin-#{$type}.woff') format('woff');
|
||||
font-weight: $weight;
|
||||
font-style: $style;
|
||||
}
|
||||
}
|
||||
|
||||
@include cabin-font('Regular', 400, normal);
|
||||
@include cabin-font('Medium', 500, normal);
|
||||
@include cabin-font('SemiBold', 600, normal);
|
||||
@include cabin-font('Bold', 700, normal);
|
||||
|
||||
@include cabin-font('RegularItalic', 400, italic);
|
||||
@include cabin-font('MediumItalic', 500, italic);
|
||||
@include cabin-font('SemiBoldItalic', 600, italic);
|
||||
@include cabin-font('BoldItalic', 700, italic);
|
Loading…
Reference in New Issue