diff --git a/src/platform/packages/shared/kbn-unified-chart-section-viewer/src/components/chart/lens_wrapper.tsx b/src/platform/packages/shared/kbn-unified-chart-section-viewer/src/components/chart/lens_wrapper.tsx index 6ee7def6fa3b9..243517e78ae91 100644 --- a/src/platform/packages/shared/kbn-unified-chart-section-viewer/src/components/chart/lens_wrapper.tsx +++ b/src/platform/packages/shared/kbn-unified-chart-section-viewer/src/components/chart/lens_wrapper.tsx @@ -73,6 +73,13 @@ export function LensWrapper({ left: 50%; transform: translate(-50%, -50%); } + + // Style mark elements (from EuiHighlight) in panel headers to match Discover's highlight colors + & .embPanel__header mark, + & [data-test-subj='embeddablePanelTitle'] mark { + color: ${euiTheme.colors.textAccent}; + background-color: ${euiTheme.colors.backgroundLightAccent}; + } `; const handleExploreInDiscoverTab = useCallback(