Skip to content

Commit

Permalink
fix: fix backgraund color
Browse files Browse the repository at this point in the history
  • Loading branch information
Melichka committed Sep 2, 2024
1 parent 13c2723 commit af98c37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion application/frontend/src/components/Theme/Theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const Theme: React.FC<ThemeProps> = ({ 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: {
Expand Down

0 comments on commit af98c37

Please sign in to comment.