From 89406f5d89b27cb477a8f15d85678d81dabb1866 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 26 Jan 2021 17:09:10 +0100 Subject: [PATCH] Start with black background when OS is set to dark theme --- customize.dist/src/outer.css | 5 +++++ www/admin/index.html | 2 +- www/code/index.html | 2 +- www/contacts/index.html | 2 +- www/debug/index.html | 2 +- www/drive/index.html | 2 +- www/file/index.html | 2 +- www/kanban/index.html | 2 +- www/notifications/index.html | 2 +- www/oodoc/index.html | 2 +- www/ooslide/index.html | 2 +- www/pad/index.html | 2 +- www/poll/index.html | 2 +- www/profile/index.html | 2 +- www/settings/index.html | 2 +- www/sheet/index.html | 2 +- www/slide/index.html | 2 +- www/support/index.html | 2 +- www/teams/index.html | 2 +- www/todo/index.html | 2 +- www/whiteboard/index.html | 2 +- 21 files changed, 25 insertions(+), 20 deletions(-) diff --git a/customize.dist/src/outer.css b/customize.dist/src/outer.css index 75f449e61..ba35bf168 100644 --- a/customize.dist/src/outer.css +++ b/customize.dist/src/outer.css @@ -2,6 +2,11 @@ html, body { margin: 0px; padding: 0px; } +@media (prefers-color-scheme: dark) { + html, body { + background: black; + } +} #sbox-iframe, #sbox-secure-iframe { position: fixed; top:0; left:0; diff --git a/www/admin/index.html b/www/admin/index.html index c59dd8edc..959d7b9e8 100644 --- a/www/admin/index.html +++ b/www/admin/index.html @@ -6,7 +6,7 @@ - +