import { Builder } from "../../builder/index.js";
import { darkTheme, lightTheme } from "../../../theme/index.js";
const registerCustomTheme = (key, themeConfig)=>{
    const customTheme = 'function' == typeof themeConfig ? themeConfig({
        lightTheme: lightTheme(),
        darkTheme: darkTheme()
    }) : themeConfig;
    Builder.registerTheme(key, customTheme);
};
export { registerCustomTheme };

//# sourceMappingURL=custom.js.map