mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
fix space grotesk font not loading
This commit is contained in:
15
src/theme/space-grotesk.css
Normal file
15
src/theme/space-grotesk.css
Normal file
@@ -0,0 +1,15 @@
|
||||
@font-face {
|
||||
font-family: "Space Grotesk";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url("@src/assets/SpaceGrotesk-Bold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Space Grotesk";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url("@src/assets/SpaceGrotesk-Regular.woff2") format("woff2");
|
||||
}
|
||||
@@ -4,6 +4,8 @@ import {
|
||||
TypographyStyleOptions,
|
||||
} from "@mui/material/styles/createTypography";
|
||||
|
||||
import "./space-grotesk.css";
|
||||
|
||||
declare module "@mui/material/styles/createTypography" {
|
||||
interface FontStyle {
|
||||
fontFamilyMono: string;
|
||||
|
||||
Reference in New Issue
Block a user