Skip to content
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `28.1.0`.
- Adjusted coloring of `EuiSideNav` to be more consistent across open states ([#3926](https://github.com/elastic/eui/pull/3926))

## [`28.1.0`](https://github.com/elastic/eui/tree/v28.1.0)

Expand Down
15 changes: 6 additions & 9 deletions src/components/side_nav/_side_nav_item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
display: block;
width: 100%;
padding: $euiSizeXS / 2 0;
color: $euiColorFullShade; /* 2 */
color: $euiTextColor; /* 2 */

&.euiSideNavItemButton--isClickable {
&:hover .euiSideNavItemButton__label {
Expand All @@ -25,7 +25,7 @@
&.euiSideNavItemButton-isSelected {
.euiSideNavItemButton__label {
color: $euiColorPrimary;
font-weight: $euiFontWeightMedium;
font-weight: $euiFontWeightBold;
text-decoration: underline;
}
}
Expand All @@ -48,7 +48,7 @@
}

.euiSideNavItemButton__label {
color: $euiColorDarkShade;
color: $euiTitleColor;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down Expand Up @@ -148,12 +148,9 @@
& > .euiSideNavItem__items {
margin-left: $euiSize;
}
}

.euiSideNavItem--hasChildItems {
& > .euiSideNavItemButton-isOpen {
.euiSideNavItemButton__label {
color: $euiColorFullShade;
}
.euiSideNavItemButton__label {
color: $euiTextSubduedColor;
}
}