diff --git a/src/platform/packages/shared/kbn-cases-components/src/status/config.ts b/src/platform/packages/shared/kbn-cases-components/src/status/config.ts index 74197b25ae1f5..a23c4cbd5b241 100644 --- a/src/platform/packages/shared/kbn-cases-components/src/status/config.ts +++ b/src/platform/packages/shared/kbn-cases-components/src/status/config.ts @@ -12,12 +12,12 @@ import { CaseStatuses } from './types'; export const getStatusConfiguration = () => ({ [CaseStatuses.open]: { - color: 'primary', + color: 'success', label: i18n.OPEN, icon: 'folderOpen' as const, }, [CaseStatuses['in-progress']]: { - color: 'warning', + color: 'primary', label: i18n.IN_PROGRESS, icon: 'folderExclamation' as const, }, diff --git a/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx index 04de1845f450d..d55c509338bd1 100644 --- a/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx @@ -69,7 +69,7 @@ describe('StatusPopoverButton', () => { .find(`[data-test-subj="case-status-badge-popover-button-open"]`) .first() .prop('color') - ).toBe('primary'); + ).toBe('success'); }); it('shows the correct color when status is in-progress', async () => { @@ -82,7 +82,7 @@ describe('StatusPopoverButton', () => { .find(`[data-test-subj="case-status-badge-popover-button-in-progress"]`) .first() .prop('color') - ).toBe('warning'); + ).toBe('primary'); }); it('shows the correct color when status is closed', async () => { diff --git a/x-pack/solutions/security/plugins/security_solution/public/overview/components/detection_response/cases_by_status/cases_by_status.tsx b/x-pack/solutions/security/plugins/security_solution/public/overview/components/detection_response/cases_by_status/cases_by_status.tsx index a7fdca017b55d..1993247674c3f 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/overview/components/detection_response/cases_by_status/cases_by_status.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/overview/components/detection_response/cases_by_status/cases_by_status.tsx @@ -110,14 +110,14 @@ const CasesByStatusComponent: React.FC = () => { const barColors = useMemo( () => ({ empty: euiTheme.colors.vis.euiColorVis8, - open: euiTheme.colors.primary, - 'in-progress': euiTheme.colors.warning, + open: euiTheme.colors.success, + 'in-progress': euiTheme.colors.primary, closed: euiTheme.colors.borderBaseSubdued, }), [ euiTheme.colors.vis.euiColorVis8, euiTheme.colors.primary, - euiTheme.colors.warning, + euiTheme.colors.success, euiTheme.colors.borderBaseSubdued, ] ); diff --git a/x-pack/solutions/security/plugins/security_solution/public/overview/components/detection_response/cases_table/status_badge.tsx b/x-pack/solutions/security/plugins/security_solution/public/overview/components/detection_response/cases_table/status_badge.tsx index ba3e51d17383c..236fdbcb46829 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/overview/components/detection_response/cases_table/status_badge.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/overview/components/detection_response/cases_table/status_badge.tsx @@ -18,11 +18,11 @@ interface Props { const statuses = { [CaseStatuses.open]: { - color: 'primary', + color: 'success', label: i18n.STATUS_OPEN, }, [CaseStatuses['in-progress']]: { - color: 'warning', + color: 'primary', label: i18n.STATUS_IN_PROGRESS, }, [CaseStatuses.closed]: {