fonts: add Krub (#54121)
This commit is contained in:
parent
384404003c
commit
bfe2583642
7
README
7
README
|
@ -314,6 +314,13 @@ copyright notices:
|
|||
# Licensed under the SIL Open Font License 1.1 (http://scripts.sil.org/OFL).
|
||||
#
|
||||
# https://github.com/EkType/Baloo2
|
||||
|
||||
* Krub
|
||||
# Copyright 2018 The Krub Project Authors (https://github.com/cadsondemak/Krub)
|
||||
#
|
||||
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
#
|
||||
# https://github.com/cadsondemak/Krub/
|
||||
~~~~
|
||||
|
||||
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.
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,23 @@
|
|||
@mixin krub-font($type, $weight) {
|
||||
@font-face {
|
||||
font-family: 'Krub';
|
||||
src: url('/static/fonts/Krub/Krub-#{$type}.woff2') format('woff2'),
|
||||
url('/static/fonts/Krub/Krub-#{$type}.woff') format('woff');
|
||||
font-weight: $weight;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Krub';
|
||||
src: url('/static/fonts/Krub/Krub-#{$type}Italic.woff2') format('woff2'),
|
||||
url('/static/fonts/Krub/Krub-#{$type}Italic.woff') format('woff');
|
||||
font-weight: $weight;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
@include krub-font('Extralight', 200);
|
||||
@include krub-font('Light', 300);
|
||||
@include krub-font('Regular', 400);
|
||||
@include krub-font('Medium', 500);
|
||||
@include krub-font('Semibold', 600);
|
||||
@include krub-font('Bold', 700);
|
Loading…
Reference in New Issue