admin: don't load font externally

Massimo Melina committed May 15, 2022 at 15:26 UTC b4deb5740f9133ab6401c176fcf5dcf16afb6d02
2 files changed +3 -2
admin/public/index.html
-2
@@ -4,8 +4,6 @@
4 <meta charset="utf-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1" />
6 <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
7 - <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
8 - rel="preload" as="style" onload="this.rel='stylesheet'" />
7 <script async src='https://unpkg.com/node-forge@1.3.1/dist/forge.min.js'></script>
8 <script>SESSION = _HFS_SESSION_</script>
9 <title>HFS Admin</title>
admin/src/theme.ts
+3
@@ -12,6 +12,9 @@ export function useMyTheme() {
12 text: { primary: '#bbb' },
13 primary: { main: '#469' },
14 },
15 + typography: {
16 + fontFamily: 'Roboto, "Noto sans", "Segoe UI", "San Francisco", "Helvetica Neue", Arial, sans-serif'
17 + },
18 components: {
19 MuiTextField: {
20 defaultProps: { variant: 'filled' }