Compare commits

...

2 Commits

Author SHA1 Message Date
76757998c8 Changed unsubscribe color.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-13 23:20:23 +01:00
287a9615b8 Improved color display. 2026-07-13 22:38:26 +01:00
3 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,7 @@
.ant-steps-icon,
.ant-color-picker-presets-label,
.ant-select-selection-item,
.ant-color-picker-trigger-text,
[class*=' ant-radio'] {
font-family: 'DM Sans';
}

View File

@ -269,7 +269,7 @@ const ObjectProperty = ({
}
case 'color': {
if (value) {
return <Badge color={value} text={value} />
return <Badge color={value} count={value.toUpperCase()} />
} else {
return (
<Text type='secondary' {...textParams}>

View File

@ -39,7 +39,7 @@ const OperationDisplay = ({
case 'unsubscribe':
tagText = 'Unsubscribe'
tagIcon = <BellIcon />
tagColor = 'orange'
tagColor = 'default'
break
default:
break