From d883f3308c2b51f1843f41b928f04d6dfbd80ef5 Mon Sep 17 00:00:00 2001 From: Brock Whittaker Date: Wed, 29 Nov 2017 16:01:51 -0800 Subject: [PATCH] dark-mode: Refactor top-of-messages logo to have CSS styles. This changes the fill and stroke styles to be in CSS rather than inlined in the SVG, making it easier to change and override elsewhere. --- static/styles/zulip.css | 10 ++++++++++ templates/zerver/home.html | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 07f4150e33..cbbbc62242 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -99,6 +99,16 @@ p.n-margin { height: 24px; } +.top-messages-logo svg circle { + fill: #444; + stroke: #444; +} + +.top-messages-logo svg path { + fill: #fff; + stroke: #fff; +} + #unmute_muted_topic_notification { display: none; position: absolute; diff --git a/templates/zerver/home.html b/templates/zerver/home.html index add1a5e650..81abd3075f 100644 --- a/templates/zerver/home.html +++ b/templates/zerver/home.html @@ -3,8 +3,8 @@