From aae73f0cc670c574eb55147e41fbc7a12d77f626 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Tue, 4 Dec 2018 07:25:22 -0800 Subject: [PATCH] fix(design): "add instance" input has dark bg on dark theme (#726) fixes #723 --- routes/_pages/settings/instances/add.html | 4 ++-- scss/themes/_base.scss | 3 ++- templates/2xx.html | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/routes/_pages/settings/instances/add.html b/routes/_pages/settings/instances/add.html index 332c87fc..a36e7c3d 100644 --- a/routes/_pages/settings/instances/add.html +++ b/routes/_pages/settings/instances/add.html @@ -41,7 +41,7 @@ .add-new-instance-input { min-width: 70%; max-width: 100%; - background-color: white; + background-color: var(--input-bg); } .add-new-instance { @@ -89,4 +89,4 @@ } } } - \ No newline at end of file + diff --git a/scss/themes/_base.scss b/scss/themes/_base.scss index 0b29379c..997c75a9 100644 --- a/scss/themes/_base.scss +++ b/scss/themes/_base.scss @@ -14,6 +14,7 @@ --button-bg-hover: #{darken($main-bg-color, 5%)}; --input-border: #{$border-color}; + --input-bg: #{$main-bg-color}; --anchor-text: #{$anchor-color}; --main-bg: #{$main-bg-color}; --body-bg: #{$body-bg-color}; @@ -92,4 +93,4 @@ --compose-autosuggest-outline: #{lighten($focus-outline, 5%)}; --compose-button-halo: #{rgba(255, 255, 255, 0.1)}; -} \ No newline at end of file +} diff --git a/templates/2xx.html b/templates/2xx.html index 2d6fb272..c05e984a 100644 --- a/templates/2xx.html +++ b/templates/2xx.html @@ -16,11 +16,11 @@