dhre-ui-kit 0.0.214 → 0.0.215

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -286,7 +286,7 @@ const ThemeContext = React.createContext(void 0);
286
286
  const ThemeProvider = ({ children }) => {
287
287
  const mode = reactRedux.useSelector((state) => state.theme.currentTheme);
288
288
  const filteredTheme = Object.keys(theme).reduce((acc, key) => {
289
- acc[key] = theme[key];
289
+ acc[key] = theme[key][mode];
290
290
  return acc;
291
291
  }, {});
292
292
  return /* @__PURE__ */ React__default["default"].createElement(ThemeContext.Provider, { value: { theme: filteredTheme, mode } }, children);