From cbd3eb161ddf83aaf1a01a1b044c4e4f6dd2a12a Mon Sep 17 00:00:00 2001 From: Johanna Szepanski <johanna.szepanski@softhouse.se> Date: Mon, 15 Apr 2024 13:40:45 +0200 Subject: [PATCH] added a text grey to theme --- src/style/Theme.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/style/Theme.js b/src/style/Theme.js index 6b76d34e..029b545a 100644 --- a/src/style/Theme.js +++ b/src/style/Theme.js @@ -5,7 +5,7 @@ import "@fontsource/titillium-web/400.css"; import "@fontsource/titillium-web/600.css"; import "@fontsource/titillium-web/900.css"; import { createTheme, responsiveFontSizes } from "@mui/material"; -import { yellow } from "@mui/material/colors"; +import { yellow, grey } from "@mui/material/colors"; export let theme = createTheme({}); @@ -79,7 +79,8 @@ theme = createTheme(theme, { palette: { primary: { main: theme.palette.essCyan.main, - lightText: theme.palette.essWhite + lightText: theme.palette.essWhite, + mediumText: grey[800] }, primaryContrastText: { main: theme.palette.primary.contrastText -- GitLab