added Google-Based Font locally

This commit is contained in:
Marcel Peterkau 2022-08-23 00:11:44 +02:00
parent 7d669dc04f
commit 9072f2b3e2
4 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,4 @@
/*! Themestr.app `Darkster` Bootstrap 4.3.1 theme */
@import url(https://fonts.googleapis.com/css?family=Comfortaa:200,300,400,700);
/*! Import Bootstrap 4 variables */
/*!

View File

@ -1,3 +1,11 @@
@font-face {
font-family: 'Comfortaa';
font-style: normal;
font-weight: 300;
src: url(../fonts/comfortaa.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body {
padding-top: 70px;
}

Binary file not shown.

View File

@ -44,7 +44,7 @@ def remove_prefix(text, prefix):
def gzip_webfiles(source, target, env):
# Filetypes to compress
filetypes_to_gzip = ['.css', '.png', '.js', '.ico']
filetypes_to_gzip = ['.css', '.png', '.js', '.ico', '.woff2']
print('\nGZIP: Starting gzip-Process for LittleFS-Image...\n')
data_src_dir_path = os.path.join(env.get('PROJECT_DIR'), 'data_src')
data_dir_path = env.get('PROJECT_DATA_DIR')