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:
Torkel Ödegaard
2022-05-23 15:53:45 +02:00
committed by GitHub
parent 4ea0b39db1
commit c29e6fcb3a
7 changed files with 21 additions and 20 deletions

View File

@@ -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,
},