'use client';
import * as React from 'react';
import defaultTheme from './defaultTheme.mjs';
import THEME_ID from './identifier.mjs';
import useTheme$1 from '../../system/esm/useTheme/useTheme.mjs';

function useTheme() {
  const theme = useTheme$1(defaultTheme);
  {
    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/rules-of-hooks
    React.useDebugValue(theme);
  }
  return theme[THEME_ID] || theme;
}

export { useTheme as default };
//# sourceMappingURL=useTheme.mjs.map
