[Infra UI] Use the official KibanaThemeProvider in the logs and metrics apps #118877
Labels
Feature:Logs UI
Logs UI feature
Feature:Metrics UI
Metrics UI feature
Team:Infra Monitoring UI - DEPRECATED
DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
v8.1.0
📓 Summary
In order to support the new theming mechanism of EUI we need to include the recently added
<KibanaThemeProvider>
in the app component hierarchy.part of #118866
✔️ Acceptance criteria
renderApp
functions of the logs app wraps the hierarchy into a<KibanaThemeProvider>
with props from the coretheme$
argument.renderApp
functions of the metrics app wraps the hierarchy into a<KibanaThemeProvider>
with props from the coretheme$
argument.💡 Implementation hints
KibanaThemeProvider
#118866 provides a bit of example codestyled
theme provider will have to coexist with this new theme provider until all styled components usage has been replaced withemotion
in a follow-upThe text was updated successfully, but these errors were encountered: