Skip to content

Commit

Permalink
Docs: Added Dark Mode (#52)
Browse files Browse the repository at this point in the history
* add dark mode to docs

* docs: add dark mode
  • Loading branch information
xjkbro committed May 13, 2023
1 parent 9e68b5a commit fbf8213
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/theme.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const Head = () => {
export const Logo = () => {
return (
<h1 className="flex flex-row items-baseline text-2xl font-bold">
<span className="tracking-tight hover:cursor-pointer">
<span className="dark:text-white tracking-tight hover:cursor-pointer">
{`upload`}
<span className="text-red-600">{`thing`}</span>
<span className="ml-1 font-semibold">docs</span>
Expand All @@ -102,7 +102,7 @@ const config = {
chat: {
link: "https://discord.gg/UCXkw6xj2K",
},
darkMode: false,
darkMode: true,
editLink: {
component: () => null,
},
Expand All @@ -113,7 +113,7 @@ const config = {
head: Head,
logo: Logo,
nextThemes: {
forcedTheme: "light",
defaultTheme: "system",
},
primaryHue: 348,
useNextSeoProps() {
Expand Down

1 comment on commit fbf8213

@vercel
Copy link

@vercel vercel bot commented on fbf8213 May 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.