add typography to theme, change UsePost return type

This commit is contained in:
Alex Holliday committed 2025-09-26 15:19:35 -07:00
1 parent 77c76b6b6d
commit 7c2f789a31
3 files changed
+36 -10

No files matched your search

+21
View File
@@ -12,6 +12,27 @@ export const theme = (mode: string, palette: any) =>
typography: {
fontFamily: fontFamilyPrimary,
fontSize: typographyLevels.base,
h1: {
fontSize: typographyLevels.xl,
color: palette.primary.contrastText,
fontWeight: 500,
},
h2: {
fontSize: typographyLevels.l,
color: palette.primary.contrastTextSecondary,
fontWeight: 400,
},
body1: {
fontSize: typographyLevels.m,
color: palette.primary.contrastTextTertiary,
fontWeight: 400,
},
body2: {
fontSize: typographyLevels.s,
color: palette.primary.contrastTextTertiary,
fontWeight: 400,
},
},
components: {