fix: sidebar and body background not adapting to light mode

## Changes

### Sidebar
- Remove hardcoded `backgroundColor: "#000000"`
- Use `theme.palette.background.main` for dynamic theming
- Update border color to use `theme.palette.border.light`

### Body Background
- Remove hardcoded `background-color: #000000` from index.css
- Add GlobalStyles in App.jsx to apply theme background to body element

## Benefits
- Sidebar now properly displays in light mode
- Body background adapts correctly to theme changes
- Consistent theming across light and dark modes
This commit is contained in:
gorkem-bwl committed 2026-01-22 12:27:18 -05:00
1 parent 5a0078cf92
commit ea589d6be4
3 files changed
+12 -4

No files matched your search

+2 -2
View File
@@ -84,8 +84,8 @@ const Sidebar = () => {
gap={theme.spacing(6)}
sx={{
transition,
backgroundColor: "#000000",
borderRight: "1px solid #344054",
backgroundColor: theme.palette.background.main,
borderRight: `1px solid ${theme.palette.border.light}`,
zIndex: 1000,
}}
>