diff --git a/packages/grafana-ui/src/components/Tooltip/Tooltip.tsx b/packages/grafana-ui/src/components/Tooltip/Tooltip.tsx index 7ad6aa2a626..ac18752b75b 100644 --- a/packages/grafana-ui/src/components/Tooltip/Tooltip.tsx +++ b/packages/grafana-ui/src/components/Tooltip/Tooltip.tsx @@ -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 {