Skip to content

Commit

Permalink
fix(Item): fix default css var (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunory authored Feb 16, 2024
1 parent 4d60f3d commit 5df8e2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/CompositeBar/Item/Item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ $block: '.#{variables.$ns}composite-bar-item';
#{$block} {
$class: &;
--gn-composite-bar-item-action-size: 36px;
--_--horizontal-divider-line-color: var(--g-color-line-generic);

--_--item-background-color-hover: var(--g-color-base-simple-hover);
--_--item-selected-background-color-active: var(--g-color-base-selection);
Expand Down Expand Up @@ -80,7 +81,7 @@ $block: '.#{variables.$ns}composite-bar-item';
margin: 0 8px;
width: 100%;
border-top: 1px solid
var(--gn-aside-header-divider-horizontal-color, --_--horizontal-divider-line-color);
var(--gn-aside-header-divider-horizontal-color, var(--_--horizontal-divider-line-color));
cursor: default;
}

Expand Down

0 comments on commit 5df8e2d

Please sign in to comment.