fonts: include Cantarell (#26469)
This commit is contained in:
parent
8d3fc5d067
commit
676274e94a
8
README
8
README
|
@ -87,6 +87,14 @@ copyright notices:
|
|||
#
|
||||
# https://www.fontsquirrel.com/license/bitter
|
||||
|
||||
* Cantarell font
|
||||
# Copyright © 2009-2011, Understanding Limited <dave@understandinglimited.com>
|
||||
# Copyright © 2010-2011, Jakub Steiner <jimmac@gmail.com>
|
||||
#
|
||||
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
#
|
||||
# https://gitlab.gnome.org/GNOME/cantarell-fonts/blob/master/COPYING
|
||||
|
||||
~~~~
|
||||
|
||||
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.
|
@ -0,0 +1,15 @@
|
|||
$cantarell-font-path: '../fonts/Cantarell' !default;
|
||||
|
||||
@mixin cantarell-font($type, $weight, $style: normal) {
|
||||
@font-face {
|
||||
font-family: 'Cantarell';
|
||||
src: url('#{$cantarell-font-path}/Cantarell-#{$type}-webfont.woff') format('woff');
|
||||
font-weight: $weight;
|
||||
font-style: $style;
|
||||
}
|
||||
}
|
||||
|
||||
@include cantarell-font('Regular', 400);
|
||||
@include cantarell-font('Oblique', 400, italic);
|
||||
@include cantarell-font('Bold', 700);
|
||||
@include cantarell-font('BoldOblique', 700, italic);
|
Loading…
Reference in New Issue