Skip to content

Commit

Permalink
Separate $btn-link colors from $link-color (twbs#28681)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoSot authored and XhmikosR committed Apr 23, 2019
1 parent 4ee2ae4 commit 275cd7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ fieldset:disabled a.btn {
// Make a button look and behave like a link
.btn-link {
font-weight: $font-weight-normal;
color: $link-color;
color: $btn-link-color;
text-decoration: $link-decoration;

@include hover {
color: $link-hover-color;
color: $btn-link-hover-color;
text-decoration: $link-hover-decoration;
}

Expand Down
2 changes: 2 additions & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,8 @@ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
$btn-disabled-opacity: .65 !default;
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;

$btn-link-color: $link-color !default;
$btn-link-hover-color: $link-hover-color !default;
$btn-link-disabled-color: $gray-600 !default;

$btn-block-spacing-y: .5rem !default;
Expand Down

0 comments on commit 275cd7f

Please sign in to comment.