Better fonts! (#12)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Garrett Mills 2020-10-12 20:51:30 -05:00
parent 3e9a0a03f8
commit 6297f9d0f0
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246
7 changed files with 23 additions and 1 deletions

View File

@ -42,6 +42,9 @@
}, },
{ {
"input": "src/global.scss" "input": "src/global.scss"
},
{
"input": "src/assets/font/fonts.css"
} }
], ],
"scripts": [] "scripts": []

View File

@ -3,7 +3,7 @@
<ion-menu class="sidebar" contentId="main-content" content="content" type="push" side="start"> <ion-menu class="sidebar" contentId="main-content" content="content" type="push" side="start">
<ion-header> <ion-header>
<ion-toolbar color="primary"> <ion-toolbar color="primary">
<ion-title>{{ appName }} <ion-title style="font-weight: bold; color: white;">{{ appName }}
<ion-menu-toggle menu="first" autoHide="false"></ion-menu-toggle> <ion-menu-toggle menu="first" autoHide="false"></ion-menu-toggle>
</ion-title> </ion-title>
</ion-toolbar> </ion-toolbar>

Binary file not shown.

Binary file not shown.

Binary file not shown.

17
src/assets/font/fonts.css Normal file
View File

@ -0,0 +1,17 @@
@font-face {
font-family: 'Raleway';
src: url('./Raleway-Regular.ttf');
font-weight: normal;
}
@font-face {
font-family: 'Raleway';
src: url('./Raleway-Light.ttf');
font-weight: 100;
}
@font-face {
font-family: 'Raleway';
src: url('./Raleway-Bold.ttf');
font-weight: bold;
}

View File

@ -3,6 +3,8 @@
/** Ionic CSS Variables **/ /** Ionic CSS Variables **/
:root { :root {
--ion-font-family: 'Raleway';
/** primary **/ /** primary **/
--ion-color-primary: #3880ff; --ion-color-primary: #3880ff;
--ion-color-primary-rgb: 56, 128, 255; --ion-color-primary-rgb: 56, 128, 255;