Skip to content

Commit

Permalink
feat(css): Dark mode, a bit brown/red/yellow-ish
Browse files Browse the repository at this point in the history
  • Loading branch information
chelmertz committed Sep 25, 2024
1 parent 4c8748c commit 09f03a8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion internal/server/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
--muted: #ccc;
--positive: #27b427;
--negative: #b42727;
--buried: #333;
--action: #f8da22;
--link: #aa0606;
}
Expand Down Expand Up @@ -126,7 +127,7 @@
}

&.buried {
background: #333;
background: var(--buried);
}
}

Expand Down Expand Up @@ -154,6 +155,19 @@
justify-content: center;
align-items: center;
}

@media (prefers-color-scheme: dark) {
:root {
--bg: #312f2f;
--fg: #e1e1e1;
--muted: #555;
--positive: #27b427;
--negative: #b42727;
--buried: #818080;
--action: #f8da22;
--link: #f8da22;
}
}

</style>
<title>elly - Github pull request todos</title>
Expand Down

0 comments on commit 09f03a8

Please sign in to comment.