mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 00:07:55 +03:00
fix: fix color and text of status pendant
This commit is contained in:
parent
7dd66e6737
commit
ac84c16a4a
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user