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

This commit is contained in:
Josh Hunt 2022-08-08 12:10:42 +01:00 committed by GitHub
parent 6f01930e9d
commit aee2856907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {