Skip to content

Commit

Permalink
Do not fill child backgrounds in dark mode (#1768)
Browse files Browse the repository at this point in the history
Small change which allows users to style the body background with dark mode enabled, without having to style the child elements (a, h1) as well.
  • Loading branch information
dmadison authored Dec 11, 2024
1 parent 7ebbcfe commit b541d9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wm_strings_en.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ const char HTTP_STYLE[] PROGMEM = "<style>"
"button.D{background-color:#dc3630}"
"button:active{opacity:50% !important;cursor:wait;transition-delay: 0s}"
// invert
"body.invert,body.invert a,body.invert h1 {background-color:#060606;color:#fff;}"
"body.invert{background-color:#060606;}"
"body.invert,body.invert a,body.invert h1 {color:#fff;}"
"body.invert .msg{color:#fff;background-color:#282828;border-top:1px solid #555;border-right:1px solid #555;border-bottom:1px solid #555;}"
"body.invert .q[role=img]{-webkit-filter:invert(1);filter:invert(1);}"
":disabled {opacity: 0.5;}"
Expand Down

0 comments on commit b541d9c

Please sign in to comment.