-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.ts
More file actions
36 lines (33 loc) · 720 Bytes
/
theme.ts
File metadata and controls
36 lines (33 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
"use client";
import { createTheme } from "@mui/material/styles";
declare module "@mui/material/styles" {
interface TypographyVariants {
headlineBig: React.CSSProperties;
headlineSmall: React.CSSProperties;
}
interface TypographyVariantsOptions {
headlineBig?: React.CSSProperties;
headlineSmall?: React.CSSProperties;
}
}
const theme = createTheme({
typography: {
fontFamily: "var(--font-roboto)",
headlineBig: {
fontSize: "3rem",
fontWeight: 300,
lineHeight: 1.2,
},
headlineSmall: {
fontSize: "2rem",
fontWeight: 300,
lineHeight: 1.2,
},
},
palette: {
primary: {
main: "#00a63e",
},
},
});
export default theme;