Skip to content

Commit

Permalink
feat(tree): implement comment updates for indigo tree (#1222)
Browse files Browse the repository at this point in the history
  • Loading branch information
didimmova committed May 30, 2024
1 parent 2e8d9e8 commit 885733d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/tree/themes/shared/item.indigo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$theme: $indigo;

:host {
--igc-tree-indentation-size: #{sizable(rem(8px), rem(12px), rem(16px))};
--igc-tree-indentation-size: #{sizable(rem(24px))};
}

[part~='indicator'] {
Expand All @@ -19,6 +19,7 @@ $theme: $indigo;
[part~='wrapper'] {
border-radius: rem(4px);
margin-block-end: rem(4px);
padding: 0 pad(8px, 12px, 16px);

&::after {
border-radius: rem(4px);
Expand All @@ -32,9 +33,10 @@ $theme: $indigo;
:host(:not([disabled])[selected]) {
[part~='wrapper'] {
background: var-get($theme, 'background');
color: var-get($theme, 'foreground');

&:hover {
color: var-get($theme, 'foreground-active');

&::after {
background: var-get($theme, 'hover-color');
}
Expand Down

0 comments on commit 885733d

Please sign in to comment.