From f9bb6399e0dcd5e209d3d60f211c8573a871602b Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Wed, 12 May 2021 08:56:15 -0400 Subject: [PATCH] DEV: Remove SCSS color vars fallbacks (#13035) They are no longer needed. --- app/assets/stylesheets/publish.scss | 12 ++++++------ .../assets/stylesheets/presence.scss | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/publish.scss b/app/assets/stylesheets/publish.scss index 52fc15fd501..cdd768b7512 100644 --- a/app/assets/stylesheets/publish.scss +++ b/app/assets/stylesheets/publish.scss @@ -9,7 +9,7 @@ width: 100%; top: 0; z-index: z("header"); - background-color: var(--header_background, $header_background); + background-color: var(--header_background); box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.25); position: sticky; top: 0; @@ -25,7 +25,7 @@ line-height: 1em; } .published-page-title { - color: var(--header_primary, $header_primary); + color: var(--header_primary); font-size: 2em; margin: 0; max-height: 1.25em; @@ -34,8 +34,8 @@ } .published-page { - background-color: var(--secondary, $secondary); - color: var(--primary, $primary); + background-color: var(--secondary); + color: var(--primary); blockquote { margin-left: 0; @@ -53,10 +53,10 @@ margin-right: 1em; height: 45px; width: 45px; - border: 4px solid var(--tertiary-medium, $tertiary-medium); + border: 4px solid var(--tertiary-medium); } .topic-created-at { - color: var(--primary-medium, $primary-medium); + color: var(--primary-medium); } } diff --git a/plugins/discourse-presence/assets/stylesheets/presence.scss b/plugins/discourse-presence/assets/stylesheets/presence.scss index f85cfbf8e1e..fd4b1993b20 100644 --- a/plugins/discourse-presence/assets/stylesheets/presence.scss +++ b/plugins/discourse-presence/assets/stylesheets/presence.scss @@ -4,8 +4,8 @@ } .presence-users { - background-color: var(--secondary, $secondary); - color: var(--primary-medium, $primary-medium); + background-color: var(--secondary); + color: var(--primary-medium); display: flex; span.presence-text {