export function methaniumUi(options) {
    if (!options.defaultThemeId.trim()) {
        throw new Error("methaniumUi defaultThemeId must not be empty");
    }
    return {
        name: "methanium-ui",
        config() {
            return {
                define: {
                    __METHANIUM_UI_DEFAULT_THEME_ID__: JSON.stringify(options.defaultThemeId),
                },
            };
        },
    };
}
