export function createTheme(
settings
) {
const initialTheme = {
colorSchemes,
shadows: shadows(settings.colorScheme),
customShadows: customShadows(settings.colorScheme),
direction: settings.direction,
shape: { borderRadius: 8 },
components,
typography,
cssVarPrefix: '',
shouldSkipGeneratingVar,
};
const updateTheme = updateCoreWithSettings(initialTheme, settings);
const theme = extendTheme(
updateTheme,
updateComponentsWithSettings(settings),
);
return theme;
}