add new font: dancing-script (#45813)
This commit is contained in:
parent
9c3dfa7634
commit
ce39c37205
8
README
8
README
|
@ -289,6 +289,14 @@ copyright notices:
|
|||
#
|
||||
# https://www.fontsquirrel.com/license/josefin-sans
|
||||
|
||||
* Dancing Script
|
||||
# Copyright 2016 The Dancing Script Project Authors (impallari@gmail.com)
|
||||
# with Reserved Font Name 'Dancing Script’.
|
||||
#
|
||||
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
#
|
||||
# https://github.com/impallari/DancingScript
|
||||
|
||||
~~~~
|
||||
|
||||
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,14 @@
|
|||
$dancingScript-font-path: '/static/fonts/DancingScript' !default;
|
||||
|
||||
@mixin dancingScript-font($type, $weight, $style) {
|
||||
@font-face {
|
||||
font-family: 'Dancing Script';
|
||||
src: url('#{$dancingScript-font-path}/dancingscript-#{$type}-webfont.woff2') format('woff2'),
|
||||
url('#{$dancingScript-font-path}/dancingscript-#{$type}-webfont.woff') format('woff');
|
||||
font-weight: $weight;
|
||||
font-style: $style;
|
||||
}
|
||||
}
|
||||
|
||||
@include dancingScript-font('regular', 400, normal);
|
||||
@include dancingScript-font('bold', 700, normal);
|
Loading…
Reference in New Issue