From 65c875d058922f26c46d42cba5a7121e97deb4d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederic=20G=2E=20=C3=98stby?= Date: Wed, 25 Oct 2023 13:27:08 +0200 Subject: [PATCH] Made labels bold --- package.json | 2 +- src/light.ts | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5658b1f..73a7e42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digitalarkivet/mui-theme", - "version": "2.0.0-alpha6", + "version": "2.0.0-alpha7", "description": "MUI themes for Digitalarkivet applications", "private": false, "main": "dist/main.js", diff --git a/src/light.ts b/src/light.ts index f0f2283..dedfe8c 100644 --- a/src/light.ts +++ b/src/light.ts @@ -535,6 +535,15 @@ const theme = createTheme( }, }, }, + MuiFormControlLabel: { + styleOverrides: { + root: { + "& span": { + fontWeight: themeTypography.typography.fontWeightBold, + }, + }, + }, + }, }, }, themeTypography, themeColors,