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 12, 2021
1 parent c7be1a9 commit 8626f4f
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 8626f4f

Please sign in to comment.