kitchen-color-studio
Version:
an open-source color editor for designing color system
60 lines • 1.09 kB
JavaScript
import { defaultConfig } from "../utils/generateScale";
var defaultSystemConfig = {
pattern: {
isolateDark: false,
isFliterStep: false,
displayFliterStep: false
},
edit: {
isolateEdit: false
}
};
var defaultColorList = [{
id: 'Primary',
title: 'Primary',
color: '#1677FF',
darkColor: '#1677FF',
type: 'normal'
}, {
id: 'Neutral',
title: 'Neutral',
color: '#1677FF',
darkColor: '#1677FF',
type: 'neutral'
}, {
id: 'Red',
title: 'Red',
color: '#da4a45',
darkColor: '#da4a45',
type: 'normal'
}, {
id: 'Yellow',
title: 'Yellow',
color: '#e09f00',
darkColor: '#be8600',
type: 'normal'
}, {
id: 'Green',
title: 'Green',
color: '#67c03a',
darkColor: '#4ca41f',
type: 'normal'
}, {
id: 'Sky',
title: 'Sky',
color: '#00bec3',
darkColor: '#00a1a5',
type: 'normal'
}, {
id: 'Purple',
title: 'Purple',
color: '#9b59eb',
darkColor: '#9b59eb',
type: 'normal'
}];
export var defaultEditorConfig = {
generate: defaultConfig,
system: defaultSystemConfig,
colorList: defaultColorList,
stepFliter: undefined
};