Skip to content

Commit

Permalink
[core] Fix intent color for Icons inside Tree component in dark mode (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacek Jagiełło authored and adidahiya committed Jun 13, 2019
1 parent fe09ee5 commit 6400bad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/src/components/tree/_tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@ $tree-icon-spacing: ($tree-row-height - $pt-icon-size-standard) / 2 !default;
.#{$ns}-tree {
#{$icon-classes} {
color: $pt-dark-icon-color;

@each $intent, $colors in $pt-intent-colors {
&.#{$ns}-intent-#{$intent} {
@include intent-color($intent);
}
}
}
}

Expand Down

1 comment on commit 6400bad

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[core] Fix intent color for Icons inside Tree component in dark mode (#3598)

Previews: documentation | landing | table

Please sign in to comment.