From 18c9772876d0e36a4f404d914140f3d24d6037e1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 Oct 2019 11:14:58 +0200 Subject: Fix checkbox themes --- client/src/app/menu/avatar-notification.component.scss | 2 +- client/src/sass/include/_mixins.scss | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/app/menu/avatar-notification.component.scss b/client/src/app/menu/avatar-notification.component.scss index 5e09225df..d0f01fc32 100644 --- a/client/src/app/menu/avatar-notification.component.scss +++ b/client/src/app/menu/avatar-notification.component.scss @@ -56,7 +56,7 @@ align-items: center; justify-content: center; font-weight: $font-semibold; - color: var(--mainForegroundColor); + color: $fg-color; padding: 7px 0; } } diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 26ba490c7..4b47dde09 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -345,7 +345,7 @@ width: 18px; min-width: 18px; height: 18px; - border: $border-width solid var(--mainForegroundColor); + border: $border-width solid $fg-color; border-radius: 3px; vertical-align: middle; cursor: pointer; @@ -359,14 +359,14 @@ height: 12px; opacity: 0; transform: rotate(45deg) scale(0); - border-right: 2px solid var(--mainBackgroundColor); - border-bottom: 2px solid var(--mainBackgroundColor); + border-right: 2px solid $bg-color; + border-bottom: 2px solid $bg-color; } } &:checked + span { border-color: transparent; - background: var(--mainColor); + background: $orange-color; animation: jelly 0.6s ease; &:after { -- cgit v1.2.3