Skip to content

Commit

Permalink
Update: (Fixes #1088) List Group variables $list-group-text-link an…
Browse files Browse the repository at this point in the history
…d `$list-group-subtext-link` should follow same pattern as `$list-group-title-link`
  • Loading branch information
pat270 committed Aug 15, 2018
1 parent 2cf6bad commit 3958ebd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 38 deletions.
20 changes: 10 additions & 10 deletions packages/clay-css/src/scss/atlas/variables/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,28 @@ $list-group-subtitle-link: map-merge((

// List Group Text

$list-group-text: () !default;
$list-group-text: map-merge((
line-height: 1.45
), $list-group-text);

$list-group-text-link: () !default;
$list-group-text-link: map-merge((
hover-color: $body-color
), $list-group-text-link);

// List Group Subtext

$list-group-subtext: () !default;
$list-group-subtext: map-merge((
$list-group-text: () !default;
$list-group-text: map-merge((
line-height: 1.45
), $list-group-subtext);
), $list-group-text);

// List Group Subtext

$list-group-subtext-link: () !default;
$list-group-subtext-link: map-merge((
hover-color: $body-color
), $list-group-subtext-link);

$list-group-subtext: () !default;
$list-group-subtext: map-merge((
line-height: 1.45
), $list-group-subtext);

// List Group Link

$list-group-link-color: $body-color !default;
Expand Down
16 changes: 0 additions & 16 deletions packages/clay-css/src/scss/components/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,40 +70,24 @@
@include clay-text-typography($list-group-title);
}

// .list-group-title a {
// @include clay-link($list-group-title-link);
// }

// List Group Subtitle

.list-group-subtitle {
@include clay-text-typography($list-group-subtitle);
}

// .list-group-subtitle a {
// @include clay-link($list-group-subtitle-link);
// }

// List Group Text

.list-group-text {
@include clay-text-typography($list-group-text);
}

.list-group-text-link {
@include clay-link($list-group-text-link);
}

// List Group Subtext

.list-group-subtext {
@include clay-text-typography($list-group-subtext);
}

.list-group-subtext-link {
@include clay-link($list-group-subtext-link);
}

// List Group Details

.list-group-detail {
Expand Down
26 changes: 14 additions & 12 deletions packages/clay-css/src/scss/variables/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,34 +62,36 @@ $list-group-subtitle: map-merge((

// List Group Text

$list-group-text: () !default;
$list-group-text: map-merge((
color: $body-color,
margin-bottom: 0
), $list-group-text);

$list-group-text-link: () !default;
$list-group-text-link: map-merge((
color: $body-color,
hover-color: darken($body-color, 15%)
), $list-group-text-link);

$list-group-text: () !default;
$list-group-text: map-merge((
color: $body-color,
margin-bottom: 0,
clay-link: $list-group-text-link
), $list-group-text);

$list-group-text-active-color: $list-group-active-color !default;

// List Group Subtext

$list-group-subtext: () !default;
$list-group-subtext: map-merge((
color: $secondary,
margin-bottom: 0
), $list-group-subtext);

$list-group-subtext-link: () !default;
$list-group-subtext-link: map-merge((
color: $secondary,
hover-color: darken($secondary, 15%)
), $list-group-subtext-link);

$list-group-subtext: () !default;
$list-group-subtext: map-merge((
color: $secondary,
margin-bottom: 0,
clay-link: $list-group-subtext-link
), $list-group-subtext);

$list-group-subtext-active-color: $list-group-active-color !default;

// List Group Detail
Expand Down

0 comments on commit 3958ebd

Please sign in to comment.