fonts: add Butler Stencil (#77463)
gitea/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
Paul Marillonnet 2023-05-11 10:37:03 +02:00
parent 7f965618d0
commit df57f314a2
9 changed files with 25 additions and 0 deletions

7
README
View File

@ -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.

View File

@ -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);