mirror of https://github.com/grafana/grafana.git
				
				
				
			Navigation: Set dropdown text color to primary to match previous behaviour (#41560)
This commit is contained in:
		
							parent
							
								
									b79eab8455
								
							
						
					
					
						commit
						e0a60cf459
					
				|  | @ -44,6 +44,7 @@ const NavBarDropdown = ({ | ||||||
|           isDivider={child.divider} |           isDivider={child.divider} | ||||||
|           icon={child.icon as IconName} |           icon={child.icon as IconName} | ||||||
|           onClick={child.onClick} |           onClick={child.onClick} | ||||||
|  |           styleOverrides={styles.item} | ||||||
|           target={child.target} |           target={child.target} | ||||||
|           text={child.text} |           text={child.text} | ||||||
|           url={child.url} |           url={child.url} | ||||||
|  | @ -67,6 +68,7 @@ const getStyles = ( | ||||||
|   return { |   return { | ||||||
|     header: css` |     header: css` | ||||||
|       background-color: ${theme.colors.background.secondary}; |       background-color: ${theme.colors.background.secondary}; | ||||||
|  |       color: ${theme.colors.text.primary}; | ||||||
|       height: ${theme.components.sidemenu.width - (adjustHeightForBorder ? 2 : 1)}px; |       height: ${theme.components.sidemenu.width - (adjustHeightForBorder ? 2 : 1)}px; | ||||||
|       font-size: ${theme.typography.h4.fontSize}; |       font-size: ${theme.typography.h4.fontSize}; | ||||||
|       font-weight: ${theme.typography.h4.fontWeight}; |       font-weight: ${theme.typography.h4.fontWeight}; | ||||||
|  | @ -74,6 +76,9 @@ const getStyles = ( | ||||||
|       white-space: nowrap; |       white-space: nowrap; | ||||||
|       width: 100%; |       width: 100%; | ||||||
|     `,
 |     `,
 | ||||||
|  |     item: css` | ||||||
|  |       color: ${theme.colors.text.primary}; | ||||||
|  |     `,
 | ||||||
|     menu: css` |     menu: css` | ||||||
|       background-color: ${theme.colors.background.primary}; |       background-color: ${theme.colors.background.primary}; | ||||||
|       border: 1px solid ${theme.components.panel.borderColor}; |       border: 1px solid ${theme.components.panel.borderColor}; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue