fix(ui): production channel pill is green, not error-red

The active-channel pill coloured 'production' with the theme error
colour — red read as 'something is broken'. Use ChainColors.success
(live & healthy) instead; still visibly distinct from beta (amber),
dev (accent) and local (grey).

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-18 12:45:59 +02:00
parent da30aae8e9
commit a8feb159ce

View file

@ -909,7 +909,8 @@ class _ChannelPill extends StatelessWidget {
Color _accent(ColorScheme cs) {
switch (channel) {
case 'production':
return cs.error;
// "Live & healthy", not an error red here read as a fault.
return ChainColors.success;
case 'beta':
return ChainColors.warning;
case 'dev':
@ -1023,7 +1024,8 @@ class _CollapsedChannelChip extends StatelessWidget {
Color _accent(ColorScheme cs) {
switch (channel) {
case 'production':
return cs.error;
// "Live & healthy", not an error red here read as a fault.
return ChainColors.success;
case 'beta':
return ChainColors.warning;
case 'dev':