Skip to content

Commit

Permalink
fix(treeview): update selected and hover icon color tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Mar 16, 2021
1 parent 9eb6071 commit 5c4abf9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/components/src/components/treeview/_treeview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@
color: $text-01;
}

.#{$prefix}--tree-node__label:hover
.#{$prefix}--tree-parent-node__toggle-icon,
.#{$prefix}--tree-node__label:hover .#{$prefix}--tree-node__icon {
fill: $icon-01;
}

.#{$prefix}--tree-leaf-node {
display: flex;
padding-left: $spacing-08;
Expand Down Expand Up @@ -127,6 +133,11 @@
}
}

.#{$prefix}--tree-node--selected .#{$prefix}--tree-parent-node__toggle-icon,
.#{$prefix}--tree-node--selected .#{$prefix}--tree-node__icon {
fill: $icon-01;
}

.#{$prefix}--tree-node--active > .#{$prefix}--tree-node__label {
position: relative;

Expand Down

0 comments on commit 5c4abf9

Please sign in to comment.