From: Chocobozzz Date: Tue, 22 Oct 2019 09:14:58 +0000 (+0200) Subject: Fix checkbox themes X-Git-Tag: v2.0.0-rc.1~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18c9772876d0e36a4f404d914140f3d24d6037e1;p=oweals%2Fpeertube.git Fix checkbox themes --- 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 {