Montserrat font for title

This commit is contained in:
Erki Aas 2022-11-11 15:34:48 +02:00
parent de259e7582
commit 6485e66931
2 changed files with 12 additions and 2 deletions

View File

@ -16,4 +16,12 @@ div#app {
.ag-popup-child .ag-filter {
width: 300px;
height: 390px;
}
.app-title {
font-family: 'Montserrat';
}
.vc-container {
font-family: 'Roboto' !important;
}

View File

@ -5,11 +5,13 @@
*/
export async function loadFonts () {
const webFontLoader = await import(/* webpackChunkName: "webfontloader" */'webfontloader')
const webFontLoader = await import('webfontloader')
webFontLoader.load({
google: {
families: ['Roboto:100,300,400,500,700,900&display=swap'],
families: [
'Montserrat', 'Roboto',
],
},
})
}