From b3a67484e3c4c835deda659ed4c467288ab01dad Mon Sep 17 00:00:00 2001 From: Faisal Kanout Date: Thu, 19 Dec 2024 13:46:25 +0100 Subject: [PATCH] update the theme provide --- .../entity_manager_app/public/application.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx index 8f2e9e2213ba0..b4dd3349ef6be 100644 --- a/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx +++ b/x-pack/solutions/observability/plugins/observability_solution/entity_manager_app/public/application.tsx @@ -6,7 +6,7 @@ */ import { AppMountParameters, APP_WRAPPER_CLASS, CoreStart } from '@kbn/core/public'; import { PerformanceContextProvider } from '@kbn/ebt-tools'; -import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common'; +import { EuiThemeProvider } from '@elastic/eui'; import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; import { Storage } from '@kbn/kibana-utils-plugin/public'; import type { LazyObservabilityPageTemplateProps } from '@kbn/observability-shared-plugin/public'; @@ -44,7 +44,6 @@ export function renderApp({ entityClient: EntityClient; }) { const { element, history, theme$ } = appMountParameters; - const isDarkMode = core.theme.getTheme().darkMode; // ensure all divs are .kbnAppWrappers element.classList.add(APP_WRAPPER_CLASS); @@ -80,7 +79,7 @@ export function renderApp({ }} > - +