adjust monitor status badge failed color (#87097)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
63539fa6d6
commit
7f71ca128d
|
@ -22,7 +22,7 @@ describe('StatusBadge', () => {
|
|||
it('displays failed message', () => {
|
||||
expect(shallowWithIntl(<StatusBadge status="failed" />)).toMatchInlineSnapshot(`
|
||||
<EuiBadge
|
||||
color="#bd271e"
|
||||
color="#ff7e62"
|
||||
>
|
||||
Failed
|
||||
</EuiBadge>
|
||||
|
|
|
@ -19,7 +19,7 @@ export function colorFromStatus(color: UptimeAppColors, status?: string) {
|
|||
case 'succeeded':
|
||||
return color.success;
|
||||
case 'failed':
|
||||
return color.danger;
|
||||
return color.dangerBehindText;
|
||||
default:
|
||||
return 'default';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue