File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1600,7 +1600,7 @@ $list-group-active-border-color: $list-group-active-bg !default;
16001600$list-group-disabled-color : var (--#{$prefix}secondary-color ) !default ;
16011601$list-group-disabled-bg : $list-group-bg !default ;
16021602
1603- $list-group-action-color : var (--#{$prefix}secondary -color ) !default ;
1603+ $list-group-action-color : var (--#{$prefix}list-group -color ) !default ;
16041604$list-group-action-hover-color : var (--#{$prefix}emphasis-color ) !default ;
16051605
16061606$list-group-action-active-color : var (--#{$prefix}body-color ) !default ;
Original file line number Diff line number Diff line change 1+ @import " ../../functions" ;
2+ @import " ../../variables" ;
3+
4+ @include describe (" list group variables" ) {
5+ @include it (" uses the regular item color for action items" ) {
6+ @include assert-equal (
7+ $list-group-action-color ,
8+ var (--#{$prefix}list-group-color ),
9+ " Action items should inherit the regular list group item color"
10+ );
11+ }
12+
13+ @include it (" keeps action items visually distinct from disabled items" ) {
14+ @include assert-true (
15+ $list-group-action-color != $list-group-disabled-color ,
16+ " Action items should not use the disabled list group color"
17+ );
18+ }
19+ }
You can’t perform that action at this time.
0 commit comments