From fcc8ab280116e2bca0ee4c805e22f180471c74b7 Mon Sep 17 00:00:00 2001 From: Gerard Date: Wed, 29 May 2024 12:27:32 +0200 Subject: [PATCH] unify color errors --- src/components/Process/Questions.tsx | 2 +- src/theme/components/Questions.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Process/Questions.tsx b/src/components/Process/Questions.tsx index cda41c8..5680a8b 100644 --- a/src/components/Process/Questions.tsx +++ b/src/components/Process/Questions.tsx @@ -87,7 +87,7 @@ export const Questions = () => { /> {!!Object.values(formErrors).length && ( - + . {t('process.helper_error', { count: election.questions.length - Object.values(formErrors).length, diff --git a/src/theme/components/Questions.ts b/src/theme/components/Questions.ts index 8ff249a..dfec880 100644 --- a/src/theme/components/Questions.ts +++ b/src/theme/components/Questions.ts @@ -164,6 +164,7 @@ const baseStyle = definePartsStyle({ error: { display: 'flex', justifyContent: 'center', + color: 'error', }, })