diff --git a/package.json b/package.json index f458ca4..c97679e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digitalarkivet/mui-theme", - "version": "2.0.0-alpha11", + "version": "2.0.0-alpha12", "description": "MUI themes for Digitalarkivet applications", "private": false, "main": "dist/main.js", diff --git a/src/light.ts b/src/light.ts index 3e0cb9c..39aeeef 100644 --- a/src/light.ts +++ b/src/light.ts @@ -332,6 +332,7 @@ const themeColors = createTheme({ typography: { ...themeTypography.typography, body: { + fontFamily: themeTypography.typography.fontFamily, fontWeight: themeTypography.typography.fontWeightRoman, fontSize: themeTypography.typography.fontSize16, lineHeight: themeTypography.typography.lineHeight150, @@ -426,6 +427,13 @@ const themeColors = createTheme({ const theme = createTheme( { components: { + MuiCssBaseline: { + styleOverrides: { + body: { + fontFamily: themeTypography.typography.fontFamily, + }, + }, + }, MuiPaper: { variants: [ {