fix: fix color and text of status pendant

This commit is contained in:
QiShaoXuan 2022-08-12 15:23:11 +08:00
parent 7dd66e6737
commit ac84c16a4a
2 changed files with 3 additions and 3 deletions

View File

@ -98,8 +98,8 @@ export const pendantConfig: { [key: string]: PendantConfig } = {
}, },
[PendantTypes.Status]: { [PendantTypes.Status]: {
iconName: IconNames.STATUS, iconName: IconNames.STATUS,
background: ['#C5FBE0', '#FFF5AB', '#FFCECE', '#E3DEFF'], background: ['#FFCECE', '#FFF5AB', '#C5FBE0', '#E3DEFF'],
color: ['#05683D', '#896406', '#AF1212', '#511AAB'], color: ['#AF1212', '#896406', '#05683D', '#511AAB'],
}, },
[PendantTypes.Select]: { [PendantTypes.Select]: {
iconName: IconNames.SINGLE_SELECT, iconName: IconNames.SINGLE_SELECT,

View File

@ -88,7 +88,7 @@ export const generateInitialOptions = (
) => { ) => {
if (type === PendantTypes.Status) { if (type === PendantTypes.Status) {
return [ return [
generateBasicOption({ index: 0, iconConfig, name: 'No Started' }), generateBasicOption({ index: 0, iconConfig, name: 'Not Started' }),
generateBasicOption({ generateBasicOption({
index: 1, index: 1,
iconConfig, iconConfig,