Fix: correct bold, italics, and code color in Panel tooltips (#53380)

This commit is contained in:
Josh Hunt
2022-08-08 07:10:42 -04:00
committed by GitHub
parent 6f01930e9d
commit aee2856907
@@ -177,13 +177,13 @@ function getStyles(theme: GrafanaTheme2) {
code {
border: none;
display: inline;
background: ${colorManipulator.darken(tooltipBg, 0.3)};
background: ${colorManipulator.darken(tooltipBg, 0.1)};
color: ${tooltipText};
}
strong,
em {
color: ${colorManipulator.emphasize(tooltipBg)};
pre {
background: ${colorManipulator.darken(tooltipBg, 0.1)};
color: ${tooltipText};
}
a {