diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-05-15 17:47:25 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-05-17 14:44:49 +0200 |
commit | d2336f5368587d29baf90fa6625e7b768861608e (patch) | |
tree | 6ae85ce59e830a40702609c3dac277fd5f9d2aca /packages/renderer/src/index.tsx | |
parent | fix(renderer): reduce white flash on start (diff) | |
download | sophie-d2336f5368587d29baf90fa6625e7b768861608e.tar.gz sophie-d2336f5368587d29baf90fa6625e7b768861608e.tar.zst sophie-d2336f5368587d29baf90fa6625e7b768861608e.zip |
feat(renderer): use system fonts
This decreases bundle size and avoid layout shifts due to font loading.
Where it is not apparent wheter people can interact with a button, icons
were added to disambiguate the button from the surrounding text.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/renderer/src/index.tsx')
-rw-r--r-- | packages/renderer/src/index.tsx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/renderer/src/index.tsx b/packages/renderer/src/index.tsx index 964494a..980e4dd 100644 --- a/packages/renderer/src/index.tsx +++ b/packages/renderer/src/index.tsx | |||
@@ -18,10 +18,6 @@ | |||
18 | * SPDX-License-Identifier: AGPL-3.0-only | 18 | * SPDX-License-Identifier: AGPL-3.0-only |
19 | */ | 19 | */ |
20 | 20 | ||
21 | import '@fontsource/roboto/300.css'; | ||
22 | import '@fontsource/roboto/400.css'; | ||
23 | import '@fontsource/roboto/500.css'; | ||
24 | import '@fontsource/roboto/700.css'; | ||
25 | import CssBaseline from '@mui/material/CssBaseline'; | 21 | import CssBaseline from '@mui/material/CssBaseline'; |
26 | import { autorun } from 'mobx'; | 22 | import { autorun } from 'mobx'; |
27 | import { addDisposer } from 'mobx-state-tree'; | 23 | import { addDisposer } from 'mobx-state-tree'; |