mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 19:46:16 +00:00
Themes can now include font files
Updated example env New fonts added to default theme
This commit is contained in:
parent
a7e79ab5a5
commit
463c5ecd03
11 changed files with 117 additions and 24 deletions
BIN
usr/themes/default/fonts/Hubot-Sans.woff2
Normal file
BIN
usr/themes/default/fonts/Hubot-Sans.woff2
Normal file
Binary file not shown.
BIN
usr/themes/default/fonts/Mona-Sans.woff2
Normal file
BIN
usr/themes/default/fonts/Mona-Sans.woff2
Normal file
Binary file not shown.
BIN
usr/themes/default/fonts/worksans-black.woff2
Normal file
BIN
usr/themes/default/fonts/worksans-black.woff2
Normal file
Binary file not shown.
BIN
usr/themes/default/fonts/worksans-bold.woff2
Normal file
BIN
usr/themes/default/fonts/worksans-bold.woff2
Normal file
Binary file not shown.
BIN
usr/themes/default/fonts/worksans-regular.woff2
Normal file
BIN
usr/themes/default/fonts/worksans-regular.woff2
Normal file
Binary file not shown.
|
@ -18,7 +18,7 @@ $font-body: "Mona-Sans", sans-serif;
|
|||
|
||||
@font-face {
|
||||
font-family: "Mona-Sans";
|
||||
src: url("f../onts/Mona-Sans.woff2") format("woff2 supports variations"),
|
||||
src: url("../fonts/Mona-Sans.woff2") format("woff2 supports variations"),
|
||||
url("../fonts/Mona-Sans.woff2") format("woff2-variations");
|
||||
font-weight: 200 900;
|
||||
font-stretch: 75% 125%;
|
||||
|
@ -33,6 +33,24 @@ $font-body: "Mona-Sans", sans-serif;
|
|||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Work Sans';
|
||||
src: url('fonts/worksans-regular.woff2');
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Work Sans';
|
||||
src: url('fonts/worksans-bold.woff2');
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Work Sans';
|
||||
src: url('fonts/worksans-black.woff2');
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
@import 'buttons/btn';
|
||||
|
||||
html, body {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue