import { styled as s } from "@mui/material";
import { useTheme as d } from "@mui/material";
import { collectFontFamilies as n, create as u, createDefaultThemeOptions as T, createTheme as c, isTheme as f, isUxTheme as p, lazyCreateDefaultTheme as x, loadFonts as F } from "./theme.js";
import { ColorSchemeContext as g, default as y, useColorScheme as C } from "./theme-provider.js";
import { mergeThemeOptions as O, mergeAllThemeOptions as A } from "@blocklet/theme";
const o = (e) => e.startsWith("$"), l = (e, r) => s(e, {
  ...r,
  shouldForwardProp: (t) => r?.shouldForwardProp ? r.shouldForwardProp(t) && !o(t) : !o(t)
});
export {
  g as ColorSchemeContext,
  y as ThemeProvider,
  n as collectFontFamilies,
  u as create,
  T as createDefaultThemeOptions,
  c as createTheme,
  O as deepmerge,
  A as deepmergeAll,
  f as isTheme,
  p as isUxTheme,
  x as lazyCreateDefaultTheme,
  F as loadFonts,
  l as styled,
  C as useColorScheme,
  d as useTheme
};
