From 8be836b8d2f9aaf4ad090aab44c26dee8b649447 Mon Sep 17 00:00:00 2001 From: Maksim Zakharov Date: Fri, 30 Sep 2022 12:35:49 +0300 Subject: fix theme --- src/assets/styles/bmc/_sila/_buttons.scss | 2 +- src/assets/styles/bmc/_sila/_dropdown.scss | 9 ++++++--- src/assets/styles/bmc/_sila/_forms.scss | 4 +++- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'src/assets/styles/bmc/_sila') diff --git a/src/assets/styles/bmc/_sila/_buttons.scss b/src/assets/styles/bmc/_sila/_buttons.scss index 2ca971f8..a13a1457 100644 --- a/src/assets/styles/bmc/_sila/_buttons.scss +++ b/src/assets/styles/bmc/_sila/_buttons.scss @@ -57,7 +57,7 @@ border: none; box-shadow: 1px 2px 4px -1px rgb(79 37 37 / 10%) inset; @include themify($themes) { - background-color: themed("gray-5"); + background-color: themed("btn-secondary"); &:hover { background-color: themed("gray-5-hover"); color: $red; diff --git a/src/assets/styles/bmc/_sila/_dropdown.scss b/src/assets/styles/bmc/_sila/_dropdown.scss index 261d91f1..983d8bdd 100644 --- a/src/assets/styles/bmc/_sila/_dropdown.scss +++ b/src/assets/styles/bmc/_sila/_dropdown.scss @@ -4,7 +4,8 @@ padding: $spacer / 2; border-radius: $border-radius; @include themify($themes) { - background-color: themed("surface-primary"); + background-color: themed("dropdown-bg"); + border: 1px solid themed("dropdown-border"); } } @@ -17,7 +18,7 @@ color: themed("text-primary"); } &:hover { - background-color: $red-hover; + background-color: $red-dropdown-hover; } &:active { background-color: $red-active; @@ -48,7 +49,9 @@ &:focus { outline: none; background-color: transparent; - box-shadow: inset 0 0 0 2px theme-color("primary"); + @include themify($themes) { + box-shadow: inset 0 0 0 2px theme-color("primary"); + } } } } diff --git a/src/assets/styles/bmc/_sila/_forms.scss b/src/assets/styles/bmc/_sila/_forms.scss index 3c22ba30..d722e230 100644 --- a/src/assets/styles/bmc/_sila/_forms.scss +++ b/src/assets/styles/bmc/_sila/_forms.scss @@ -183,7 +183,9 @@ div:not(.search-global) > .form-group { width: 100%; .custom-select, .form-control { - color: #0c1c29e6; + @include themify($themes) { + color: themed("text-secondary"); + } border-radius: $border-radius; border: none; background-color: $gray-5; -- cgit v1.2.3