Skip to content

Commit

Permalink
Fix for incorrect class for styling navtext
Browse files Browse the repository at this point in the history
  • Loading branch information
fgs-dbudwin committed Feb 26, 2020
1 parent 7495c5c commit 181cfc1
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions examples/Styled/StyledSideNav.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import styled from 'styled-components';
import SideNav, {
Toggle,
Nav,
NavItem,
NavIcon,
NavText
NavItem,
NavText,
Toggle
} from '../SideNav';

import styled from 'styled-components';

// SideNav
const StyledSideNav = styled(SideNav)`
background-color: #fff;
Expand Down Expand Up @@ -67,7 +68,7 @@ const StyledNav = styled(Nav)`
color: #666;
}
}
[class*="sidenav-nav-text--"] {
[class*="navtext--"] {
&, > * {
color: #222;
}
Expand All @@ -82,11 +83,9 @@ const StyledNav = styled(Nav)`
[class*="navtext--"] {
&, > * {
color: #db3d44;
font-weight: 700;
}
}
[class*="sidenav-nav-text--"] {
font-weight: 700;
}
}
}
`;
Expand Down

0 comments on commit 181cfc1

Please sign in to comment.