From 1070c9a8f9f46a5b1b79f7a97ca800fcaef1b3c0 Mon Sep 17 00:00:00 2001 From: enes Date: Wed, 31 Jul 2024 13:39:16 +0200 Subject: [PATCH] refactor: review colors, usage Requested Change --- src/App.scss | 5 ----- src/pages/settings/relays/style.module.scss | 4 ++-- src/styles/colors.scss | 6 ++---- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/App.scss b/src/App.scss index 8ef1033..f5394f7 100644 --- a/src/App.scss +++ b/src/App.scss @@ -18,11 +18,6 @@ --text-color: #{$text-color}; --input-text-color: #{$input-text-color}; - - --review-feedback-correct: #{$review-feedback-correct}; - --review-feedback-incorrect: #{$review-feedback-incorrect}; - --review-feedback-neutral: #{$review-feedback-neutral}; - --review-feedback-selected-color: #{$review-feedback-selected-color}; } h1, diff --git a/src/pages/settings/relays/style.module.scss b/src/pages/settings/relays/style.module.scss index 2ad0ac0..a5654c5 100644 --- a/src/pages/settings/relays/style.module.scss +++ b/src/pages/settings/relays/style.module.scss @@ -92,11 +92,11 @@ } .connectionStatusConnected { - background-color: $review-feedback-correct; + background-color: $relay-status-connected; } .connectionStatusNotConnected { - background-color: $review-feedback-incorrect; + background-color: $relay-status-notconnected; } .connectionStatusUnknown { diff --git a/src/styles/colors.scss b/src/styles/colors.scss index a9ecb8e..2d7d358 100644 --- a/src/styles/colors.scss +++ b/src/styles/colors.scss @@ -13,7 +13,5 @@ $overlay-background-color: #ffffff; $text-color: #434343; $input-text-color: #717171; -$review-feedback-correct: #178b13; -$review-feedback-incorrect: #d82222; -$review-feedback-neutral: #f39220; -$review-feedback-selected-color: #fff; +$relay-status-connected: #178b13; +$relay-status-notconnected: #d82222;