From 97f857dee1fa35be7966909d038e52353fc91d92 Mon Sep 17 00:00:00 2001 From: Sergey Tselovalnikov Date: Wed, 8 Sep 2021 01:10:34 +1000 Subject: [PATCH] return default colouring for light mode --- src/viewer/App.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/viewer/App.scss b/src/viewer/App.scss index 824375e..2afbb98 100644 --- a/src/viewer/App.scss +++ b/src/viewer/App.scss @@ -38,6 +38,17 @@ --incoming-frame-color: #ce5500; } } +// TODO: is there a way not to duplicate? +@media(prefers-color-scheme: light) { + :root { + --base-text-color: #222; + --grey-text-color: #888; + --ascii-view-color: #444; + --main-background-color: #f8f8f8; + --outgoing-frame-color: #f6ffd0; + --incoming-frame-color: #ffe6ca; + } +} .App { font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px;