Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Add dark theme support #20

Closed
wants to merge 3 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/popup/popup.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,17 @@ body {
.info {
white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
body {
background: black;
apiraino marked this conversation as resolved.
Show resolved Hide resolved
color: white;
}
}

@media (prefers-color-scheme: light) {
body {
background: white;
color: black;
}
apiraino marked this conversation as resolved.
Show resolved Hide resolved
}