Skip to content

Commit

Permalink
Adjust theme colors
Browse files Browse the repository at this point in the history
  • Loading branch information
derarion committed Dec 16, 2023
1 parent 7692315 commit 99801cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const Header = ({
}: Props) => {
const { mode, toggleMode } = useContext<UserConfig>(ThemeContext);
return (
<AppBar position="static" sx={{ padding: "0.5rem" }}>
<AppBar position="static" sx={{ padding: "0.5rem" }} color="default">
<Toolbar variant="dense">
<Box
sx={{
Expand Down
10 changes: 8 additions & 2 deletions src/context/ThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,19 @@ export const ThemeProvider = ({ children }: Props) => {
? {
primary: amber,
text: {
primary: "#fff",
primary: "#D4D4D4",
},
background: {
default: "#1E1E1E",
},
}
: {
primary: amber,
text: {
primary: "#000",
primary: "#000000",
},
background: {
default: "#FFFFFF",
},
}),
},
Expand Down

0 comments on commit 99801cf

Please sign in to comment.