File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2424 $color : variables .$secondary ,
2525 $borderColor : variables .$secondary
2626) {
27- $mixedBorderWhite : color .mix ($borderColor , variables .$white , 25% );
28- $mixedBorderBlack : color .mix ($borderColor , variables .$black , 25% );
29-
3027 & :hover {
31- border-color : rgba ( $mixedBorderWhite , .25 );
28+ background : helpers . backgroundColor ( $background , 1.5 );
3229 }
3330}
3431
3734 $color : variables .$secondary ,
3835 $borderColor : variables .$secondary
3936) {
40- $mixedBorderWhite : color .mix ($borderColor , variables .$white , 25% );
41- $mixedBorderBlack : color .mix ($borderColor , variables .$black , 25% );
42-
43- border-color : rgba ($mixedBorderWhite , .1 );
37+ background : helpers .backgroundColor ($background , 2 );
4438 outline : none ;
4539}
4640
5044 $borderColor : variables .$secondary
5145) {
5246
53- & :active , & :focus {
47+ & :active , & :focus , & [ aria-selected = true ] {
5448 @include boxActiveStyle ($background , $color , $borderColor );
5549 }
5650}
Original file line number Diff line number Diff line change 3535}
3636
3737@function backgroundColor ($color : variables .$secondary , $level : 1 ) {
38+ @if ($color == variables .$primary ) {
39+ @if ($level == 1 ) {
40+ @return variables .$primary
41+ }
42+ @return rgba (variables .$secondary , 10% * $level );
43+ }
3844 @return color .mix ($color , variables .$primary , 10% * $level );
3945}
4046
You can’t perform that action at this time.
0 commit comments