Skip to content

Commit

Permalink
fix: adding back side-nav style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hectordavis committed Nov 18, 2024
1 parent 8a53bf3 commit d21fc82
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/react/src/components/SideNav/_side-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ $hoverBgColor: #2c2c2c;
// stylelint-disable-next-line declaration-property-unit-disallowed-list
transition: width $duration-fast-01 motion(entrance, productive) 300ms;
}
// need to override the carbon-components new aria-current page because it's assuming a white theme
& a.#{$prefix}--side-nav__link[aria-current='page'] {
background-color: $gray-70;

.#{$prefix}--side-nav__link-text {
color: $ui-02;
}
}
}

html[dir='rtl'] {
Expand Down

0 comments on commit d21fc82

Please sign in to comment.