mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Prometheus/Loki: Improve metric search highlight contrast (#49384)
* Prometheus/Loki: Improve metric search highlight contrast * Update other places, and add reusable variables
This commit is contained in:
@@ -36,6 +36,10 @@ export interface ThemeComponents {
|
||||
background: string;
|
||||
padding: number;
|
||||
};
|
||||
textHighlight: {
|
||||
background: string;
|
||||
text: string;
|
||||
};
|
||||
sidemenu: {
|
||||
width: number;
|
||||
};
|
||||
@@ -91,6 +95,10 @@ export function createComponents(colors: ThemeColors, shadows: ThemeShadows): Th
|
||||
menuTabs: {
|
||||
height: 41,
|
||||
},
|
||||
textHighlight: {
|
||||
text: colors.warning.contrastText,
|
||||
background: colors.warning.main,
|
||||
},
|
||||
horizontalDrawer: {
|
||||
defaultHeight: 400,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user