enhancement(web): improve font loading performance and avoid page reflow (#1087)

* enhancement: improve font loading performance and avoid page reflow

chore: get rid of postcss-import (we're not using it and it's not needed for tailwind)

* fix indent
This commit is contained in:
stacksmash76 2023-09-09 23:07:00 +02:00 committed by GitHub
parent 64f81a4614
commit 7b77ff766e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 38 additions and 19 deletions

View file

@ -9,11 +9,6 @@
body {
margin: 0;
font-family: "InterVariable", "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {

View file

@ -7,7 +7,6 @@ import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { Buffer } from "buffer";
import "@fontsource-variable/inter";
import "./index.css";
import "react-tooltip/dist/react-tooltip.css";