import * as __WEBPACK_EXTERNAL_MODULE__chakra_ui_react__ from "@chakra-ui/react";
import * as __WEBPACK_EXTERNAL_MODULE__components_mjs__ from "./components.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__colors_mjs__ from "./colors.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__styles_mjs__ from "./styles.mjs";
import "@fontsource/inter";
import "@fontsource/inter/100.css";
import "@fontsource/inter/200.css";
import "@fontsource/inter/300.css";
import "@fontsource/inter/400.css";
import "@fontsource/inter/500.css";
import "@fontsource/inter/600.css";
import "@fontsource/inter/700.css";
import "react-datepicker/dist/react-datepicker.css";
import "./custom-date-time-picker.css";
/*
Chakra theme configuration 
*/ // Custom theme extensions and overrides
// Set the outline for all components you can 'tab' to
const theme = (0, __WEBPACK_EXTERNAL_MODULE__chakra_ui_react__.extendTheme)({
    initialColorMode: 'light',
    useSystemColorMode: false,
    styles: __WEBPACK_EXTERNAL_MODULE__styles_mjs__.styles,
    colors: __WEBPACK_EXTERNAL_MODULE__colors_mjs__.colors,
    // Some of the usages of this theme still work with Ant design which uses zIndex: 1000
    // This part should go away once we complete the migration and we should let Chakra do the job.
    zIndices: {
        hide: -1,
        auto: 'auto',
        base: 0,
        docked: 10,
        dropdown: 100,
        sticky: 110,
        banner: 120,
        overlay: 130,
        modal: 140,
        popover: 150,
        skipLink: 160,
        toast: 170,
        tooltip: 180
    },
    components: __WEBPACK_EXTERNAL_MODULE__components_mjs__.components,
    borders: {
        borderColor: 'green.500'
    },
    fonts: {
        heading: 'Inter, sans-serif',
        subHeading: 'Inter, sans-serif',
        text: 'Inter, sans-serif'
    },
    lineHeights: {
        base: '1.5'
    },
    fontSizes: {
        sm: '0.85rem',
        lg: '1.14rem',
        xl: '1.28rem'
    },
    shadows: {
        outline: `0 0 0 3px ${__WEBPACK_EXTERNAL_MODULE__colors_mjs__.colors.focus["500"]}`
    }
}, // Use 'colors.brand' for emphasis.
(0, __WEBPACK_EXTERNAL_MODULE__chakra_ui_react__.withDefaultColorScheme)({
    colorScheme: 'darkblue'
}));
/**
 * This object defines default toastOptions that should be consistent across all RedPanda UIs.
 */ const toastOptions = {
    defaultOptions: {
        variant: 'left-accent',
        position: 'top-right',
        duration: 5000,
        isClosable: true
    }
};
export { theme, toastOptions };
