Open
Description
In the charts
plugin we exposed a useDarkMode
hook to make it easy to fetch dark mode from charts instead of also having to import the theme.
In addition we also provided an observable for darkModeEnabled$
.
With changes to correct usage of the theme across kibana in #220141 we deprecated these properties to prevent usage in favor of useKibanaIsDarkMode
(later to be useIsDarkMode
from eui).
These properties should eventually be hidden in the case of darkModeEnabled$
and removed in the case of useDarkMode
.