adjust monitor status badge failed color (#87097)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Dominique Clarke 2021-01-04 08:49:39 -05:00 committed by GitHub
parent 63539fa6d6
commit 7f71ca128d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ describe('StatusBadge', () => {
it('displays failed message', () => {
expect(shallowWithIntl(<StatusBadge status="failed" />)).toMatchInlineSnapshot(`
<EuiBadge
color="#bd271e"
color="#ff7e62"
>
Failed
</EuiBadge>

View file

@ -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';
}