misc: distribute Asap font
This commit is contained in:
parent
377c43ff00
commit
d195cf4c47
6
README
6
README
|
@ -55,6 +55,12 @@ copyright notices:
|
|||
# Licensed under the SIL Open Font License v1.10
|
||||
# https://www.fontsquirrel.com/fonts/source-sans-pro
|
||||
|
||||
* Asap fonts
|
||||
# https://www.fontsquirrel.com/fonts/asap
|
||||
#
|
||||
# Licensed under the SIL Open Font License v1.10
|
||||
# https://www.fontsquirrel.com/fonts/asap
|
||||
|
||||
~~~~
|
||||
|
||||
Some CSS variant files have their own specific licenses.
|
||||
|
|
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,18 @@
|
|||
$asap-font-path: '../fonts/asap' !default;
|
||||
|
||||
@mixin asap-font($type, $weight, $style) {
|
||||
@font-face {
|
||||
font-family: 'Asap-#{$type}';
|
||||
src: url('#{$asap-font-path}/Asap-#{$type}.otf') format('opentype');
|
||||
font-weight: $weight;
|
||||
font-style: $style;
|
||||
}
|
||||
}
|
||||
|
||||
@include asap-font('Italic', 400, italic);
|
||||
@include asap-font('MediumItalic', 600, italic);
|
||||
@include asap-font('BoldItalic', 700, italic);
|
||||
@include asap-font('Regular', 400, normal);
|
||||
@include asap-font('Medium', 500, normal);
|
||||
@include asap-font('Medium', 600, normal);
|
||||
@include asap-font('Bold', 700, normal);
|
Loading…
Reference in New Issue