UNPKG

@eeacms/volto-widget-theme-picker

Version:

@eeacms/volto-widget-theme-picker: Volto add-on

17 lines (12 loc) 413 B
import { ThemePickerWidget } from './Widgets'; const applyConfig = (config) => { config.widgets.widget.theme_picker = ThemePickerWidget; config.settings.themeColors = [ { value: undefined, title: 'No theme' }, { value: 'primary', title: 'Primary' }, { value: 'secondary', title: 'Secondary' }, { value: 'tertiary', title: 'Tertiary' }, ]; return config; }; export default applyConfig;