0001-add-new-font-dancing-script-45813.patch
README | ||
---|---|---|
289 | 289 |
# |
290 | 290 |
# https://www.fontsquirrel.com/license/josefin-sans |
291 | 291 | |
292 |
* Dancing Script |
|
293 |
# Copyright 2016 The Dancing Script Project Authors (impallari@gmail.com) |
|
294 |
# with Reserved Font Name 'Dancing Script’. |
|
295 |
# |
|
296 |
# This Font Software is licensed under the SIL Open Font License, Version 1.1. |
|
297 |
# |
|
298 |
# https://github.com/impallari/DancingScript |
|
299 | ||
292 | 300 |
~~~~ |
293 | 301 | |
294 | 302 |
Some theme variant files have their own specific licenses; refer to |
static/includes/fonts/_dancing-script.scss | ||
---|---|---|
1 |
$dancingScript-font-path: '/static/fonts/DancingScript' !default; |
|
2 | ||
3 |
@mixin dancingScript-font($type, $weight, $style) { |
|
4 |
@font-face { |
|
5 |
font-family: 'Dancing Script'; |
|
6 |
src: url('#{$dancingScript-font-path}/dancingscript-#{$type}-webfont.woff2') format('woff2'), |
|
7 |
url('#{$dancingScript-font-path}/dancingscript-#{$type}-webfont.woff') format('woff'); |
|
8 |
font-weight: $weight; |
|
9 |
font-style: $style; |
|
10 |
} |
|
11 |
} |
|
12 | ||
13 |
@include dancingScript-font('regular', 400, normal); |
|
14 |
@include dancingScript-font('bold', 700, normal); |
|
0 |
- |