diff --git a/public/app/core/components/NavBar/NavBarDropdown.tsx b/public/app/core/components/NavBar/NavBarDropdown.tsx index 24f88c04e57..a3141f56ec1 100644 --- a/public/app/core/components/NavBar/NavBarDropdown.tsx +++ b/public/app/core/components/NavBar/NavBarDropdown.tsx @@ -44,6 +44,7 @@ const NavBarDropdown = ({ isDivider={child.divider} icon={child.icon as IconName} onClick={child.onClick} + styleOverrides={styles.item} target={child.target} text={child.text} url={child.url} @@ -67,6 +68,7 @@ const getStyles = ( return { header: css` background-color: ${theme.colors.background.secondary}; + color: ${theme.colors.text.primary}; height: ${theme.components.sidemenu.width - (adjustHeightForBorder ? 2 : 1)}px; font-size: ${theme.typography.h4.fontSize}; font-weight: ${theme.typography.h4.fontWeight}; @@ -74,6 +76,9 @@ const getStyles = ( white-space: nowrap; width: 100%; `, + item: css` + color: ${theme.colors.text.primary}; + `, menu: css` background-color: ${theme.colors.background.primary}; border: 1px solid ${theme.components.panel.borderColor};