Skip to content

Commit

Permalink
Fixed fonts?
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Nov 14, 2023
1 parent b3ff128 commit 66cb8f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 8 additions & 0 deletions src/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -426,6 +427,13 @@ const themeColors = createTheme({
const theme = createTheme(
{
components: {
MuiCssBaseline: {
styleOverrides: {
body: {
fontFamily: themeTypography.typography.fontFamily,
},
},
},
MuiPaper: {
variants: [
{
Expand Down

0 comments on commit 66cb8f4

Please sign in to comment.