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

10
web/pnpm-lock.yaml generated
View file

@ -8,9 +8,6 @@ overrides:
react: ^18.2.0
dependencies:
'@fontsource-variable/inter':
specifier: ^5.0.8
version: 5.0.8
'@headlessui/react':
specifier: ^1.7.17
version: 1.7.17(react-dom@18.2.0)(react@18.2.0)
@ -89,9 +86,6 @@ dependencies:
postcss:
specifier: ^8.4.29
version: 8.4.29
postcss-import:
specifier: ^15.1.0
version: 15.1.0(postcss@8.4.29)
react:
specifier: ^18.2.0
version: 18.2.0
@ -1799,10 +1793,6 @@ packages:
resolution: {integrity: sha512-m0G6wlnhm/AX0H12IOWtK8gASEMffnX08RtKkCgTdHb9JpHKGloI7icFfLg9ZmQeavcvR0PKmzxClyuFPSjKWw==}
dev: false
/@fontsource-variable/inter@5.0.8:
resolution: {integrity: sha512-WkYfFNccmEIeL2fNg0mYeLWqOoB7xD8MFxFRc4IwbSP2o8ZaBt36v5aW4by4MyrgGRMNk7uNi5LbvYKq6clPjw==}
dev: false
/@headlessui/react@1.7.17(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-4am+tzvkqDSSgiwrsEpGWqgGo9dz8qU5M3znCkC4PgkpY4HcCZzEDEvozltGGGHIKl9jbXbZPSH5TWn4sWJdow==}
engines: {node: '>=10'}