From af98c37ccb3d2e27615a154c987d13302374abc1 Mon Sep 17 00:00:00 2001 From: Anastasiya Date: Wed, 21 Aug 2024 16:08:24 +0300 Subject: [PATCH] fix: fix backgraund color --- .../frontend/src/components/NavButton/NavButton.styled.ts | 4 ++-- application/frontend/src/components/Theme/Theme.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/frontend/src/components/NavButton/NavButton.styled.ts b/application/frontend/src/components/NavButton/NavButton.styled.ts index 26357c4..a02df54 100644 --- a/application/frontend/src/components/NavButton/NavButton.styled.ts +++ b/application/frontend/src/components/NavButton/NavButton.styled.ts @@ -2,8 +2,8 @@ import Chip from "@mui/material/Chip" import { emphasize, styled } from "@mui/material/styles" export const StyledBreadcrumb = styled(Chip)(({ theme }) => { - const backgroundColor = - theme.palette.mode === "light" ? theme.palette.grey[100] : theme.palette.grey[800] + const backgroundColor = "rgba(0, 0, 0, 0.08)" + return { backgroundColor, height: theme.spacing(3), diff --git a/application/frontend/src/components/Theme/Theme.tsx b/application/frontend/src/components/Theme/Theme.tsx index 87481d9..d315e51 100644 --- a/application/frontend/src/components/Theme/Theme.tsx +++ b/application/frontend/src/components/Theme/Theme.tsx @@ -38,7 +38,7 @@ export const Theme: React.FC = ({ children }) => { contrastText: "#fff", }, background: { - default: currentTheme === ThemeEnum.Light ? "#ffffff" : "#121212", + default: currentTheme === ThemeEnum.Light ? "rgba(250, 250, 250, 1)" : "#121212", paper: currentTheme === ThemeEnum.Light ? "#ffffff" : "#1e1e1e", }, text: {