File tree Expand file tree Collapse file tree 5 files changed +21
-0
lines changed Expand file tree Collapse file tree 5 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { light, dark } from "../src/theme"
4
4
import { addDecorator } from "node_modules/@storybook/react"
5
5
import { createMemoryHistory } from "history"
6
6
import { unstable_HistoryRouter as HistoryRouter } from "react-router-dom"
7
+ import "../src/theme/global-fonts"
7
8
8
9
addDecorator ( withThemes ( ThemeProvider , [ light , dark ] ) )
9
10
Original file line number Diff line number Diff line change 23
23
"typegen" : " xstate typegen 'src/**/*.ts'"
24
24
},
25
25
"dependencies" : {
26
+ "@fontsource/fira-code" : " 4.5.5" ,
27
+ "@fontsource/inter" : " 4.5.4" ,
26
28
"@material-ui/core" : " 4.9.4" ,
27
29
"@material-ui/icons" : " 4.5.1" ,
28
30
"@material-ui/lab" : " 4.0.0-alpha.42" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import { WorkspacePage } from "./pages/workspaces/[workspace]"
16
16
import { HealthzPage } from "./pages/healthz"
17
17
import { AuthAndNav , RequireAuth } from "./components/Page"
18
18
import { XServiceProvider } from "./xServices/StateContext"
19
+ import "./theme/global-fonts"
19
20
20
21
export const App : React . FC = ( ) => {
21
22
return (
Original file line number Diff line number Diff line change
1
+ // Monospace fonts used for code, button styles, and banners
2
+ import "@fontsource/fira-code/400.css"
3
+ import "@fontsource/fira-code/600.css"
4
+ // Main body copy font
5
+ import "@fontsource/inter/300.css"
6
+ import "@fontsource/inter/400.css"
7
+ import "@fontsource/inter/600.css"
Original file line number Diff line number Diff line change 1262
1262
minimatch "^3.0.4"
1263
1263
strip-json-comments "^3.1.1"
1264
1264
1265
+ "@fontsource/fira-code@4.5.5":
1266
+ version "4.5.5"
1267
+ resolved "https://registry.yarnpkg.com/@fontsource/fira-code/-/fira-code-4.5.5.tgz#6e3ccb1095e3411d2c62b8f8cefb546b973c6eb9"
1268
+ integrity sha512-bwsPmA5HW11SR0oIkgqSJYI3A8KP8aQLRCCH/EnR9gLHRuTFi1iG7GQ3wDTKy/AhECQJAKjXZ+mkVKlMxUaYCQ==
1269
+
1270
+ "@fontsource/inter@4.5.4":
1271
+ version "4.5.4"
1272
+ resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-4.5.4.tgz#d6906fdaaf81242d975a1f9b6dedab7bfba77997"
1273
+ integrity sha512-D0icTFpt9bWvB/OEXMztYf0bhUQZoDIYpsco5C7GVfxgKDRl8Jdn3N2aHHQqwjgRUUvRuyMv8HrRM8Hrt4U52w==
1274
+
1265
1275
"@gar/promisify@^1.0.1":
1266
1276
version "1.1.2"
1267
1277
resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.2.tgz#30aa825f11d438671d585bd44e7fd564535fc210"
You can’t perform that action at this time.
0 commit comments