Skip to content

Commit

Permalink
Supports dark themes
Browse files Browse the repository at this point in the history
  • Loading branch information
rhirano0715 committed Mar 18, 2023
1 parent ac193d2 commit 0d894cc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
<head>
<title>Messy Statement</title>
<style>
@media (prefers-color-scheme: light) {
body {
background-color: #fff;
color: #000;
}
}

@media (prefers-color-scheme: dark) {
body {
background-color: #000;
color: #fff;
}
}

#center-container {
display: flex;
justify-content: center;
Expand Down

0 comments on commit 0d894cc

Please sign in to comment.