Skip to content

Commit

Permalink
Added support for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
TenSoja committed Oct 24, 2024
1 parent 4644f8f commit df17e6a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions options/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ body {
font-family: "Open Sans Light", sans-serif;
font-weight: 300;
line-height: 1.5;
background-color: white;
color: black;
}

h2 {
Expand Down Expand Up @@ -54,4 +56,28 @@ label:hover {

#save-button:focus {
outline: 3px solid #ADD8E6;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
body {
background-color: #2c2c2c;
color: #f1f1f1;
}

label:hover {
background-color: #444;
}

#save-button {
background-color: #3d7f3a;
}

#save-button:hover {
background-color: #366d33;
}

#save-button:focus {
outline: 3px solid #5da6d9;
}
}

0 comments on commit df17e6a

Please sign in to comment.