1
Fork 0

Add the Inter font.

This commit is contained in:
Bauke 2022-01-01 15:27:01 +01:00
parent 68a0d1da3a
commit e9aed022a4
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
4 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,7 @@
"deploy:netlify": "netlify deploy --prod -d 'public' -s 'blink.bauke.xyz'"
},
"dependencies": {
"@fontsource/inter": "^4.5.1",
"htm": "^3.1.0",
"modern-normalize": "^1.1.0",
"preact": "^10.6.4",

View File

@ -1,6 +1,7 @@
lockfileVersion: 5.3
specifiers:
'@fontsource/inter': ^4.5.1
'@types/node': ^17.0.5
htm: ^3.1.0
modern-normalize: ^1.1.0
@ -15,6 +16,7 @@ specifiers:
xo: ^0.47.0
dependencies:
'@fontsource/inter': 4.5.1
htm: 3.1.0
modern-normalize: 1.1.0
preact: 10.6.4
@ -258,6 +260,10 @@ packages:
- supports-color
dev: true
/@fontsource/inter/4.5.1:
resolution: {integrity: sha512-mvtOvXNNVLlF1p/UbLgLrmz2RCOl6Ow+TqyiK10SosoLKX7edsXYiHFHb7XIZdjII6F2sJVPPsJXWhBnbXT2DQ==}
dev: false
/@humanwhocodes/config-array/0.9.2:
resolution: {integrity: sha512-UXOuFCGcwciWckOpmfKDq/GyhlTf9pN/BzG//x8p8zTOFEcGuA68ANXheFS0AGvy3qgZqLBUkMs7hqzqCKOVwA==}
engines: {node: '>=10.10.0'}

View File

@ -5,6 +5,7 @@ html {
body {
background-color: var(--background-1);
color: var(--foreground-1);
font-family: Inter, sans-serif;
font-size: 2rem;
}

View File

@ -1,6 +1,8 @@
// Uncomment when debugging and using Preact's DevTools WebExtension.
// import 'preact/debug';
import '@fontsource/inter/latin.css';
import {html, render} from 'htm/preact';
import {Router} from 'preact-router';