Skip to content

Commit

Permalink
fix(website): fix darkmode bug on docs website (#13101)
Browse files Browse the repository at this point in the history
  • Loading branch information
d1onys1us committed Feb 16, 2023
1 parent e2b41b2 commit a6d9bed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions packages/website/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ export default function Footer() {
return (
<footer className="bg-neutral-100 dark:bg-neutral-900">
<div className="mx-auto max-w-[90rem]">
<div className="grid grid-cols-2 pl-[max(env(safe-area-inset-left),1.5rem)] pr-[max(env(safe-area-inset-right),1.5rem)] py-8 md:grid-cols-3 ">
<div className="grid grid-cols-2 pl-[max(env(safe-area-inset-left),1.5rem)] pr-[max(env(safe-area-inset-right),1.5rem)] py-8 md:grid-cols-3">
<div>
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300">
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300 pt-3">
About
</h2>
<ul className="text-neutral-500 dark:text-neutral-400">
Expand Down Expand Up @@ -38,7 +38,7 @@ export default function Footer() {
</ul>
</div>
<div>
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300">
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300 pt-3">
Developers
</h2>
<ul className="text-neutral-500 dark:text-neutral-400">
Expand Down Expand Up @@ -68,7 +68,7 @@ export default function Footer() {
</ul>
</div>
<div>
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300">
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300 pt-3">
Follow us
</h2>
<ul className="text-neutral-500 dark:text-neutral-400">
Expand Down
5 changes: 4 additions & 1 deletion packages/website/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default {
chat: {
link: "https://discord.gg/taikoxyz",
},
darkMode: true,
docsRepositoryBase:
"https://github.com/taikoxyz/taiko-mono/blob/main/packages/website",
editLink: {
Expand Down Expand Up @@ -46,6 +47,9 @@ export default {
);
},
logo: <ThemedImage />,
nextThemes: {
defaultTheme: "light",
},
primaryHue: 315,
project: {
link: "https://github.com/taikoxyz",
Expand All @@ -55,5 +59,4 @@ export default {
titleTemplate: "%s – Taiko",
};
},
darkMode: true,
};
5 changes: 1 addition & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a6d9bed

Please sign in to comment.