Skip to content

Commit

Permalink
New: Card added $card-link-hover-color
Browse files Browse the repository at this point in the history
  • Loading branch information
pat270 committed Aug 8, 2017
1 parent 1a110a7 commit 2b29e29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scss/lexicon-base/_cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@

.card-link {
color: $card-link-color;

@include hover-focus {
color: $card-link-hover-color;
}
}

.card-row {
Expand Down
1 change: 1 addition & 0 deletions src/scss/lexicon-base/variables/_cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ $card-border-style: solid !default;
$card-box-shadow: null !default;

$card-link-color: null !default;
$card-link-hover-color: null !default;

$card-rounded-inner-border-radius: if($card-border-width > 0, calc(#{$rounded-border-radius} - #{$card-border-width}), $rounded-border-radius) !default;
$card-rounded-0-inner-border-radius: if($rounded-0-border-radius > $card-border-width, calc(#{$rounded-0-border-radius} - #{$card-border-width}), 0) !default;
Expand Down

0 comments on commit 2b29e29

Please sign in to comment.