Skip to content

Commit

Permalink
perf: dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Jan 29, 2023
1 parent 5d38417 commit 583f162
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ h1 {
padding: 2rem;
color: #213547;
background-color: #f3f3f3;
position: absolute;
}

.card {
Expand Down Expand Up @@ -337,3 +338,19 @@ input {
.comment-item:hover .comment-item-reply button {
opacity: 1;
}

@media (prefers-color-scheme: dark) {
.comment-item {
background-color: #242424;
}
.textarea {
background-color: #242424;
color: #fff;
}
.textarea:focus {
background-color: rgb(26, 26, 26);
}
button {
color: #fff;
}
}

0 comments on commit 583f162

Please sign in to comment.