fonts: add Butler Stencil (#77463)
gitea/publik-base-theme/pipeline/head This commit looks good
Details
gitea/publik-base-theme/pipeline/head This commit looks good
Details
This commit is contained in:
parent
7f965618d0
commit
df57f314a2
7
README
7
README
|
@ -423,6 +423,13 @@ copyright notices:
|
|||
#
|
||||
# https://github.com/sharanda/manrope
|
||||
|
||||
* Butler Stencil
|
||||
# Copyright (c) 2019 Fabian De Smet, with Reserved Font Name "Butler Stencil"
|
||||
#
|
||||
# This Font Software is licensed under the Creative Commons Attribution-ShareAlike License, version 4.00
|
||||
#
|
||||
# https://www.fontsquirrel.com/license/butler
|
||||
|
||||
~~~~
|
||||
|
||||
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.
|
@ -0,0 +1,18 @@
|
|||
$butler-stencil-font-path: '/static/fonts/ButlerStencil' !default;
|
||||
|
||||
@mixin butler-stencil-font($type, $weight, $style: normal) {
|
||||
@font-face {
|
||||
font-family: 'Butler Stencil';
|
||||
src: url('#{$butler-stencil-font-path}/ButlerStencil-#{$type}.woff2') format('woff2');
|
||||
font-weight: $weight;
|
||||
font-style: $style;
|
||||
}
|
||||
}
|
||||
|
||||
@include butler-stencil-font('UltraLight', 200);
|
||||
@include butler-stencil-font('Light', 300);
|
||||
@include butler-stencil-font('Regular', 400);
|
||||
@include butler-stencil-font('Medium', 500);
|
||||
@include butler-stencil-font('Bold', 700);
|
||||
@include butler-stencil-font('ExtraBold', 800);
|
||||
@include butler-stencil-font('Black', 900);
|
Loading…
Reference in New Issue