import { jsx as _jsx } from "react/jsx-runtime";
import { ThemeProvider } from 'styled-components';
import { space, fontSize } from '../../style/theme';
const CoreUiThemeProvider = ({ theme, children }) => {
    const newTheme = {
        ...theme,
        space,
        fontSizes: fontSize,
        colors: { ...theme },
    };
    return _jsx(ThemeProvider, { theme: newTheme, children: children });
};
export { CoreUiThemeProvider };
