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 { code {
border: none; border: none;
display: inline; display: inline;
background: ${colorManipulator.darken(tooltipBg, 0.3)}; background: ${colorManipulator.darken(tooltipBg, 0.1)};
color: ${tooltipText}; color: ${tooltipText};
} }
strong, pre {
em { background: ${colorManipulator.darken(tooltipBg, 0.1)};
color: ${colorManipulator.emphasize(tooltipBg)}; color: ${tooltipText};
} }
a { a {