Skip to content

Commit

Permalink
fix: remove active styles
Browse files Browse the repository at this point in the history
  • Loading branch information
inikolova authored and joneff committed Apr 15, 2021
1 parent 7a97755 commit 3b48598
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/default/scss/bottom-navigation/_theme.scss
Expand Up @@ -14,9 +14,7 @@
@include fill( $bg: rgba(true-mix( $color, contrast-wcag( $color ), 35%), .2));
}

.k-bottom-nav-item.k-state-selected,
.k-bottom-nav-item.k-state-active,
.k-bottom-nav-item:active {
.k-bottom-nav-item.k-state-selected {
@include fill( $color: contrast-wcag( $color ) );
}
}
Expand All @@ -37,9 +35,7 @@
}

@each $name, $color in $theme-colors {
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected,
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-active,
&.k-bottom-nav-#{$name} .k-bottom-nav-item:active {
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
@if $name == "secondary" or $name == "light" {
@include fill( $color: try-shade($color, 3) );
} @else {
Expand Down

0 comments on commit 3b48598

Please sign in to comment.