summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-07-03 21:46:02 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-07-03 21:46:02 +0200
commitdbc59965ac983efbac15f6f51e41adbaf90ff516 (patch)
tree0cfe4cc9c0fdc990a30f3d6159e960988031831a /doc
parent6ffebec1a6005c0400b1935e83ac67f333da9b60 (diff)
downloadweechat-dbc59965ac983efbac15f6f51e41adbaf90ff516.zip
doc: force color-scheme to dark/light according to the theme
This allows to have dark scroll bars in Chrome-based browsers.
Diffstat (limited to 'doc')
-rw-r--r--doc/docinfo.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/docinfo.html b/doc/docinfo.html
index 3331d2277..ded9ebc02 100644
--- a/doc/docinfo.html
+++ b/doc/docinfo.html
@@ -9,6 +9,7 @@
@media (prefers-color-scheme: dark) {
/* dark theme */
:root {
+ color-scheme: dark;
--body-bg-color: #1a1a1a;
--body-color: #ddd;
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
@@ -40,6 +41,7 @@
@media (not (prefers-color-scheme: dark)), (prefers-color-scheme: light) {
/* light theme */
:root {
+ color-scheme: light;
--body-bg-color: ##fff;
--body-color: #353535;
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";