font load cleanup

This commit is contained in:
Tim
2024-04-30 15:57:29 -04:00
parent d5b1b67c91
commit 87ef40bb11
3 changed files with 19 additions and 11 deletions

View File

@@ -4,11 +4,13 @@
* webfontloader documentation: https://github.com/typekit/webfontloader
*/
// todo choose
const displayFonts = ['Orbitron', 'Tektur', 'Turret Road', 'Chakra Petch', 'Quantico', 'Geo']
const bodyFonts = ['Exo 2', 'Victor Mono', 'Nunito', 'Manrope', 'Sofia Sans', 'Dosis', 'PT Sans', 'Space Grotesk', 'Rajdhani', 'Saira Semi Condensed', 'Jura']
// const displayFonts = ['Orbitron', 'Tektur', 'Turret Road', 'Chakra Petch', 'Quantico', 'Geo']
const displayFonts = ['Orbitron']
// const bodyFonts = ['Exo 2', 'Victor Mono', 'Nunito', 'Manrope', 'Sofia Sans', 'Dosis', 'PT Sans', 'Space Grotesk', 'Rajdhani', 'Saira Semi Condensed', 'Jura']
const bodyFonts = ['Saira Semi Condensed']
export async function loadFonts () {
return // fonts are loaded in the <head> section of index.html
const webFontLoader = await import(/* webpackChunkName: "webfontloader" */'webfontloader')
webFontLoader.load({

View File

@@ -10,7 +10,7 @@ $black: #000201; // just a touch greenblue
$arbitrum-color: #12aaff;
$uniswap-color: #ff007a;
$primary: $blue;
$primary: $green;
$primary-50: transparentize($primary,0.5);
$primary-25: transparentize($primary,0.75);