Themes can now include font files

Updated example env
New fonts added to default theme
This commit is contained in:
Michał Gdula 2023-01-06 23:46:12 +00:00
parent a7e79ab5a5
commit 463c5ecd03
11 changed files with 117 additions and 24 deletions

View file

@ -1,8 +1,13 @@
# Login
USERNAME = root
PASSWORD =
HOST = localhost
PORT = 3306
# DATABASE CONFIGURATION
DB_NAME = onlylegs
DB_USER = root
DB_PASS =
DB_HOST = localhost
DB_PORT =
# Database name
DATABASE = onlylegs
# EMAIL CONFIGURATION
EMAIL_HOST = smtp.example.com
EMAIL_PORT = 465
EMAIL_HOST_USER = noreply@example.com
EMAIL_HOST_PASSWORD = supersecurepassword
EMAIL_USE_TLS = True

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

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