fix: fix white footer in dark mode
This commit is contained in:
parent
f86c8b2ea5
commit
6fb7c6af68
2 changed files with 4 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ export const Footer = ({ children }: FooterProps) => {
|
||||||
padding={2}
|
padding={2}
|
||||||
width="100%"
|
width="100%"
|
||||||
gap={2}
|
gap={2}
|
||||||
sx={{ backgroundColor: theme.palette.background.default.toString(), boxShadow: 2 }}
|
sx={{ backgroundColor: theme.vars.palette.background.default, boxShadow: 2 }}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</Box>
|
</Box>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,9 @@ import { BsMastodon } from "react-icons/bs"
|
||||||
import { Link as GatsbyLink } from "gatsby"
|
import { Link as GatsbyLink } from "gatsby"
|
||||||
import { Footer } from "../atoms/Footer"
|
import { Footer } from "../atoms/Footer"
|
||||||
|
|
||||||
|
// this adds typings for using `theme.vars`
|
||||||
|
import type {} from "@mui/material/themeCssVarsAugmentation"
|
||||||
|
|
||||||
const pages = [
|
const pages = [
|
||||||
{ title: "Home", to: "/" },
|
{ title: "Home", to: "/" },
|
||||||
{ title: "Blog", to: "/blog" },
|
{ title: "Blog", to: "/blog" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue