Skip to content

Commit

Permalink
Revert "Hotfix dark mode UI disable"
Browse files Browse the repository at this point in the history
This reverts commit 566a6da.
  • Loading branch information
kognise committed Nov 4, 2023
1 parent 4904d06 commit 7b1d3c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/navbar-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ export default function EditorNavbar(props: EditorNavbarProps) {
</a>
</li>

{/* <li>
<li>
<Button onClick={toggleTheme}>
{ isDark.value ? "Light" : "Dark" }
</Button>
</li> */}
</li>

<li>
<Button
Expand Down
5 changes: 5 additions & 0 deletions src/pages/~/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ if (games.length === 0 && unnamedGames.length > 0) {
flex-direction: column;
overflow: hidden;
}
@media (prefers-color-scheme: dark) {
body {
color: white;
}
}

.columns {
flex: 1;
Expand Down

0 comments on commit 7b1d3c9

Please sign in to comment.