Skip to content

Commit

Permalink
Nit: invert the toggle on darkmode to increase contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
strseb committed Sep 24, 2024
1 parent 8fe04dc commit 39a0c45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/serverlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@ export class ServerList extends LitElement {
inline-size: 24px;
height: 24px;
}
@media (prefers-color-scheme: dark) {
.toggle {
filter: invert(1);
}
}
.opened .toggle {
transform: rotate(0deg);
Expand Down

0 comments on commit 39a0c45

Please sign in to comment.