Skip to content

Commit

Permalink
fix(pn-13840): updated error graph colors (#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrogelmi authored Feb 20, 2025
1 parent 4f1a316 commit 9d9a15d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,25 @@ const DigitalErrorsDetailStatistics: React.FC<Props> = ({ data: sData }) => {
title: t('digital_errors_detail.virus_detected_title'),
description: t('digital_errors_detail.virus_detected_description'),
value: virus_detected_errors,
color: GraphColors.turquoise,
color: GraphColors.lightYellow,
},
{
title: t('digital_errors_detail.server_pec_comunication_title'),
description: t('digital_errors_detail.server_pec_comunication_description'),
value: server_pec_comunication_errors,
color: GraphColors.blue,
color: GraphColors.gold,
},
{
title: t('digital_errors_detail.sending_pec_title'),
description: t('digital_errors_detail.sending_pec_description'),
value: sending_pec_errors,
color: GraphColors.darkGreen,
color: GraphColors.goldenYellow,
},
{
title: t('digital_errors_detail.malformed_pec_address_title'),
description: t('digital_errors_detail.malformed_pec_address_description'),
value: malformed_pec_address_errors,
color: GraphColors.navy,
color: GraphColors.oliveBrown,
},
];

Expand Down
5 changes: 4 additions & 1 deletion packages/pn-pa-webapp/src/models/Statistics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ export enum GraphColors {
lightRed = '#FE6666',
turquoise = '#21CDD1',
azure = '#00C5CA',
pink = '#FFE0E0',
pink = '#FB9EAC',
darkRed = '#761F1F',
lightYellow = '#FFE5A3',
goldenYellow = '#D9AD3C',
oliveBrown = '#614C15',
}

export enum CxType {
Expand Down

0 comments on commit 9d9a15d

Please sign in to comment.