Skip to content

Commit

Permalink
feat(tile): only show chevron on selection (#5667)
Browse files Browse the repository at this point in the history
* feat(tile): only show chevron on selection

* fix(tile): update selected state to use $ui-05

Co-authored-by: TJ Egan <[email protected]>
  • Loading branch information
joshblack and tw15egan authored Apr 6, 2020
1 parent 407f3e0 commit 43460a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/components/src/components/tile/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@
&:hover {
background: $hover-ui;
}
}

.#{$prefix}--tile--clickable,
.#{$prefix}--tile--expandable {
&:hover,
&:focus {
.#{$prefix}--tile__checkmark {
Expand Down Expand Up @@ -176,7 +179,7 @@
}

.#{$prefix}--tile--is-selected {
outline: 1px solid $interactive-02;
outline: 1px solid $ui-05;
outline-offset: -1px;
}

Expand Down

0 comments on commit 43460a4

Please sign in to comment.