Remove "fontsource" dependency

Fonts get loaded dynamically through "ThemeFontLoader"

Fixes #1016 along with 8c50b33a93.
See explanation of linked commit.

The problem with this import was that MUI by default uses font weight 300, 400, 500 and 700.
For some reason importing all font weights caused the issue of the linked ticket while importing only the necessary font weighs fixed it.
This commit is contained in:
schroda
2025-10-01 23:06:45 +02:00
parent bee048cfc9
commit bd13261f7e
3 changed files with 0 additions and 7 deletions

View File

@@ -41,7 +41,6 @@
"@emotion/cache": "11.14.0",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.1",
"@fontsource/roboto": "5.2.6",
"@juggle/resize-observer": "3.4.0",
"@loadable/component": "5.16.7",
"@mantine/hooks": "8.2.5",

View File

@@ -7,7 +7,6 @@
*/
import '@/polyfill.manual';
import '@fontsource/roboto';
import '@/lib/dayjs/Setup.ts';
import '@/index.css';
import { StrictMode } from 'react';

View File

@@ -1718,11 +1718,6 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==
"@fontsource/roboto@5.2.6":
version "5.2.6"
resolved "https://registry.yarnpkg.com/@fontsource/roboto/-/roboto-5.2.6.tgz#93a2a5ef98cc79880355de0aac71def215b873e7"
integrity sha512-hzarG7yAhMoP418smNgfY4fO7UmuUEm5JUtbxCoCcFHT0hOJB+d/qAEyoNjz7YkPU5OjM2LM8rJnW8hfm0JLaA==
"@graphql-codegen/add@^5.0.3":
version "5.0.3"
resolved "https://registry.yarnpkg.com/@graphql-codegen/add/-/add-5.0.3.tgz#1ede6bac9a93661ed7fa5808b203d079e1b1d215"