Skip to content

Commit

Permalink
fix(button): add extra styles for flat button
Browse files Browse the repository at this point in the history
  • Loading branch information
joneff committed Jan 10, 2022
1 parent 522dda8 commit 885cc6f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions packages/default/scss/button/_theme.scss
Expand Up @@ -268,6 +268,33 @@
}
}

@each $name, $color in $button-theme-colors {
.k-button-flat.k-button-flat-#{$name} {

&,
&:hover,
&.k-state-hover,
&:active,
&.k-state-active,
&:focus,
&.k-state-focus {
color: $color;
}

// Disabled state
&:disabled,
&.k-state-disabled {
@include fill(
$button-disabled-text,
$button-disabled-bg,
$button-disabled-border,
$button-disabled-gradient
);
@include box-shadow( $button-disabled-shadow );
}
}
}

}


Expand Down

0 comments on commit 885cc6f

Please sign in to comment.