Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
fix(button): improve outline button appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
joneff committed Jan 25, 2018
1 parent 8f85d17 commit 2174dd6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scss/button/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,25 @@

// Outline default button
.k-button.k-outline {
color: $button-border;
color: try-darken($button-bg, 20);
border-color: try-darken($button-bg, 20);

// Hover state
&:hover,
&.k-state-hover {
@include fill( $button-bg, $button-border, $button-border, none );
@include fill( $button-text, $button-bg, $button-bg, none );
}
}

// Outline primary button
.k-button.k-outline.k-primary {
color: $primary-button-border;
color: $primary-button-bg;
border-color: $primary-button-bg;

// Hover state
&:hover,
&.k-state-hover {
@include fill( $primary-button-text, $primary-button-border, $primary-button-bg, none );
@include fill( $primary-button-text, $primary-button-bg, $primary-button-bg, none );
}
}

Expand Down

0 comments on commit 2174dd6

Please sign in to comment.