Add the Inter font.
This commit is contained in:
parent
68a0d1da3a
commit
e9aed022a4
|
@ -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",
|
||||
|
|
|
@ -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'}
|
||||
|
|
|
@ -5,6 +5,7 @@ html {
|
|||
body {
|
||||
background-color: var(--background-1);
|
||||
color: var(--foreground-1);
|
||||
font-family: Inter, sans-serif;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in New Issue