Skip to content

Commit

Permalink
Add styling for Anki's and Anki Mobile's built-in dark mode
Browse files Browse the repository at this point in the history
This deals with the issue of the info (and "type") text being
displayed as dark grey on black.

This is not necessary for Ankidroid, since Ankidroid dark mode
automatically inverts all text colours, but doesn't hurt either.

Once #156 is resolved, one could consider adding a selector for
.night_mode, for the popular dark-mode add-on.
  • Loading branch information
aplaice committed Nov 17, 2019
1 parent 2aa2711 commit 0e28d13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@
hr {
margin: 1.5em 0;
}

.nightMode .info, .nightMode .type {
color: #ccc;
}

0 comments on commit 0e28d13

Please sign in to comment.