Log Panel: Improve log row hover contrast and visibility (#50908)

This commit is contained in:
Seyaji 2022-06-17 15:59:44 +01:00 committed by GitHub
parent 677b2a43b5
commit 5cf25f4b7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ import { styleMixins, stylesFactory } from '../../themes';
export const getLogRowStyles = stylesFactory((theme: GrafanaTheme2, logLevel?: LogLevel) => {
let logColor = theme.isLight ? theme.v1.palette.gray5 : theme.v1.palette.gray2;
const hoverBgColor = styleMixins.hoverColor(theme.colors.background.primary, theme);
const hoverBgColor = styleMixins.hoverColor(theme.colors.background.secondary, theme);
switch (logLevel) {
case LogLevel.crit: