@basic-ui/material 1.0.0-alpha.12 → 1.0.0-alpha.15

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.
@@ -596,7 +596,7 @@ function getDarkThemeBackgroundOverlay(theme, backgroundOverlay, overlayColor =
596
596
  }
597
597
 
598
598
  return {
599
- [`.${dynamicTheme.DARK_THEME_CLASS} &, &.${dynamicTheme.DARK_THEME_CLASS}`]: { ...getBackgroundOverlay(theme, backgroundOverlay, overlayColor)
599
+ [`.${dynamicTheme.DARK_SCHEME_CLASS} &, &.${dynamicTheme.DARK_SCHEME_CLASS}`]: { ...getBackgroundOverlay(theme, backgroundOverlay, overlayColor)
600
600
  }
601
601
  };
602
602
  }
@@ -4789,8 +4789,8 @@ function useSnackbarAnimation(ref, timeout) {
4789
4789
 
4790
4790
  const Snackbar = /*#__PURE__*/react$1.forwardRef(function Snackbar(props, forwardedRef) {
4791
4791
  const {
4792
- colorMode
4793
- } = dynamicTheme.useColorMode();
4792
+ colorScheme
4793
+ } = dynamicTheme.useColorScheme();
4794
4794
  const ref = react$1.useRef(null);
4795
4795
  const {
4796
4796
  __css,
@@ -4809,7 +4809,7 @@ const Snackbar = /*#__PURE__*/react$1.forwardRef(function Snackbar(props, forwar
4809
4809
  return /*#__PURE__*/jsxRuntime.jsxs(Paper, {
4810
4810
  elevation: 4,
4811
4811
  darkThemeBackgroundOverlay: 4,
4812
- className: colorMode === 'default' ? dynamicTheme.DARK_THEME_CLASS : dynamicTheme.DEFAULT_THEME_CLASS,
4812
+ className: colorScheme === 'light' ? dynamicTheme.DARK_SCHEME_CLASS : dynamicTheme.LIGHT_SCHEME_CLASS,
4813
4813
  ref: core.assignMultipleRefs(forwardedRef, ref),
4814
4814
  __css: {
4815
4815
  boxShadow: 4,