From fd84be0dde631cff9d964391ad8afc5dec04f13e Mon Sep 17 00:00:00 2001 From: Gilles COGNIN Date: Thu, 2 Jan 2025 11:18:18 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Design:=20Homog=C3=A9n=C3=A9isation=20des?= =?UTF-8?q?=20couleurs=20OK/NOK=20en=20prenant=20en=20charge=20l'accessibi?= =?UTF-8?q?lit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FicheSiteConditionsDeVieRubrique.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/frontend/webapp/src/components/FicheSite/FicheSiteConditionsDeVie/FicheSiteConditionsDeVieRubrique.vue b/packages/frontend/webapp/src/components/FicheSite/FicheSiteConditionsDeVie/FicheSiteConditionsDeVieRubrique.vue index 05073ab2ca..6b2f3ce5ce 100644 --- a/packages/frontend/webapp/src/components/FicheSite/FicheSiteConditionsDeVie/FicheSiteConditionsDeVieRubrique.vue +++ b/packages/frontend/webapp/src/components/FicheSite/FicheSiteConditionsDeVie/FicheSiteConditionsDeVieRubrique.vue @@ -131,10 +131,10 @@ const { title, status, info, showStatus, answers, inverted } = toRefs(props); const collapsed = ref(true); const COLORS = { - good: "text-green500", + good: "text-tertiaryA11Y", toImprove: "text-secondary", - bad: "text-red", - unknown: "text-red", + bad: "text-secondary", + unknown: "text-secondary", }; const ICONS = { good: "check", From f67d7360bd0d7e8d70e58bb685b59a36d14c94cd Mon Sep 17 00:00:00 2001 From: Gilles COGNIN Date: Thu, 2 Jan 2025 11:19:47 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Design:=20Prise=20en=20charge=20de=20la=20c?= =?UTF-8?q?ouleur=20par=20d=C3=A9faut=20respectant=20l'accessibilit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FicheSiteConditionsDeVieRubrique.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/webapp/src/components/FicheSite/FicheSiteConditionsDeVie/FicheSiteConditionsDeVieRubrique.vue b/packages/frontend/webapp/src/components/FicheSite/FicheSiteConditionsDeVie/FicheSiteConditionsDeVieRubrique.vue index 6b2f3ce5ce..fd33abd6ea 100644 --- a/packages/frontend/webapp/src/components/FicheSite/FicheSiteConditionsDeVie/FicheSiteConditionsDeVieRubrique.vue +++ b/packages/frontend/webapp/src/components/FicheSite/FicheSiteConditionsDeVie/FicheSiteConditionsDeVieRubrique.vue @@ -161,7 +161,7 @@ const realStatus = computed(() => { return s; }); const colorClass = computed(() => { - return COLORS[realStatus.value] || "text-red"; + return COLORS[realStatus.value] || "text-secondary"; }); const icon = computed(() => { return ICONS[realStatus.value] || "question";