Use Inter
This commit is contained in:
parent
fd5049ef76
commit
34045f8f41
4 changed files with 9 additions and 9 deletions
|
@ -28,7 +28,6 @@
|
|||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.17.9",
|
||||
"@fontsource/open-sans": "4.5.8",
|
||||
"@fontsource/roboto-mono": "4.5.7",
|
||||
"@hsjs/react-cache": "0.0.0-alpha.aa94237",
|
||||
"@reach/tooltip": "0.17.0",
|
||||
|
@ -73,6 +72,7 @@
|
|||
"workbox-strategies": "6.5.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fontsource/inter": "4.5.10",
|
||||
"@types/invariant": "2.2.35",
|
||||
"@types/jest": "27.5.0",
|
||||
"@types/lodash-es": "4.17.6",
|
||||
|
|
|
@ -2,7 +2,7 @@ lockfileVersion: 5.4
|
|||
|
||||
specifiers:
|
||||
'@babel/runtime': 7.17.9
|
||||
'@fontsource/open-sans': 4.5.8
|
||||
'@fontsource/inter': 4.5.10
|
||||
'@fontsource/roboto-mono': 4.5.7
|
||||
'@hsjs/react-cache': 0.0.0-alpha.aa94237
|
||||
'@reach/tooltip': 0.17.0
|
||||
|
@ -81,7 +81,6 @@ specifiers:
|
|||
|
||||
dependencies:
|
||||
'@babel/runtime': 7.17.9
|
||||
'@fontsource/open-sans': 4.5.8
|
||||
'@fontsource/roboto-mono': 4.5.7
|
||||
'@hsjs/react-cache': 0.0.0-alpha.aa94237_react@18.1.0
|
||||
'@reach/tooltip': 0.17.0_ef5jwxihqo6n7gxfmzogljlgcm
|
||||
|
@ -126,6 +125,7 @@ dependencies:
|
|||
workbox-strategies: 6.5.3
|
||||
|
||||
devDependencies:
|
||||
'@fontsource/inter': 4.5.10
|
||||
'@types/invariant': 2.2.35
|
||||
'@types/jest': 27.5.0
|
||||
'@types/lodash-es': 4.17.6
|
||||
|
@ -1543,9 +1543,9 @@ packages:
|
|||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@fontsource/open-sans/4.5.8:
|
||||
resolution: {integrity: sha512-3b94XDdRLqL7OlE7OjWg/4pgG825Juw8PLVEDm6h5pio0gMU89ICxfatGxHsBxMGfqad+wnvdmUweZWlELDFpQ==}
|
||||
dev: false
|
||||
/@fontsource/inter/4.5.10:
|
||||
resolution: {integrity: sha512-YOt2/K8yo25MVBjrTImHxVimmyZEt0GcrWp2w7O29sdFX9SJqbGlOqjFJ1wI5yBbP6AmTeimyPE0UC/jjFRoIA==}
|
||||
dev: true
|
||||
|
||||
/@fontsource/roboto-mono/4.5.7:
|
||||
resolution: {integrity: sha512-1uBjM95BEz7zJlmmnpNAM5afMvIxx0wqr86eA76vRqZw8OF5wmsRqYfF3caHuVarBH9/AGN7t9h+3UXK8fjq/Q==}
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
:root {
|
||||
--font-mono: 'Roboto Mono', Menlo, monospace;
|
||||
// prettier-ignore
|
||||
--font-normal: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, 'PingFang SC', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
|
||||
--font-normal: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, 'PingFang SC', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
|
||||
--color-focus-blue: #1a73e8;
|
||||
--btn-bg: #387cec;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import './Root.scss';
|
||||
import '@fontsource/roboto-mono/latin-400.css';
|
||||
import '@fontsource/open-sans/latin-400.css';
|
||||
import '@fontsource/open-sans/latin-700.css';
|
||||
import '@fontsource/inter/latin-400.css';
|
||||
import '@fontsource/inter/latin-800.css';
|
||||
|
||||
import * as React from 'react';
|
||||
import { QueryClientProvider } from 'react-query';
|
||||
|
|
Loading…
Reference in a new issue