From 189832deed04d3e4e015fbfdb05ae003775aac47 Mon Sep 17 00:00:00 2001 From: Brock Whittaker Date: Wed, 24 Jan 2018 12:36:17 -0800 Subject: [PATCH] dark-mode: Make "error" alerts compatible. This makes them compatible by making the backgrounds darker and the text base color. --- static/styles/dark.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/static/styles/dark.css b/static/styles/dark.css index f7a008de83..670088177e 100644 --- a/static/styles/dark.css +++ b/static/styles/dark.css @@ -296,6 +296,17 @@ body.dark-mode .alert.alert-success { border-color: #1e9e7f; } +body.dark-mode .alert.alert-error, +body.dark-mode .alert.alert-danger { + background: hsl(318, 12%, 21%); + color: inherit; + border: 1px solid hsl(0, 75%, 65%); +} + +body.dark-mode .alert .close { + color: inherit; +} + body.dark-mode .alert-box .alert, body.dark-mode .alert.alert-error { background: hsl(318, 12%, 21%);