Also add dark mode CSS to utils.c.

This commit is contained in:
default 2024-02-03 07:36:17 +01:00
parent 29f2160b58
commit ceda5bab31

View file

@ -62,6 +62,11 @@ static const char *default_css =
".snac-btn-unlimit { float: right; margin-left: 0.5em }\n" ".snac-btn-unlimit { float: right; margin-left: 0.5em }\n"
".snac-footer { margin-top: 2em; font-size: 75% }\n" ".snac-footer { margin-top: 2em; font-size: 75% }\n"
".snac-poll-result { margin-left: auto; margin-right: auto; }\n" ".snac-poll-result { margin-left: auto; margin-right: auto; }\n"
"@media (prefers-color-scheme: dark) { \n"
" body { background-color: #000; color: #fff; }\n"
" a { color: #7799dd }\n"
" a:visited { color: #aa99dd }\n"
"}\n"
; ;
const char *snac_blurb = const char *snac_blurb =