| undefined
}
export function SimulateurCard({
@@ -224,6 +226,7 @@ export function SimulateurCard({
beta,
small = false,
fromGérer = false,
+ as = undefined,
...props
}: SimulateurCardProps) {
const isIframe = useIsEmbedded()
@@ -241,14 +244,14 @@ export function SimulateurCard({
}}
state={fromGérer ? { fromGérer: true } : { fromSimulateurs: true }}
title={
-
+
{shortName} {tooltip && {tooltip}}
{beta && (
}>
Bêta
)}
-
+
}
role="link"
/>
diff --git a/site/source/pages/simulateurs/auto-entrepreneur/AutoEntrepreneur.tsx b/site/source/pages/simulateurs/auto-entrepreneur/AutoEntrepreneur.tsx
index a6002a40d..cdd7bd141 100644
--- a/site/source/pages/simulateurs/auto-entrepreneur/AutoEntrepreneur.tsx
+++ b/site/source/pages/simulateurs/auto-entrepreneur/AutoEntrepreneur.tsx
@@ -77,7 +77,7 @@ function Explanation() {
dottedName:
'dirigeant . auto-entrepreneur . cotisations et contributions',
title: t('Cotisations'),
- color: colors.bases.secondary[300],
+ color: colors.extended.grey[700],
},
]}
/>
diff --git a/site/source/pages/simulateurs/dividendes/Dividendes.tsx b/site/source/pages/simulateurs/dividendes/Dividendes.tsx
index 6d03493c6..ec788fc25 100644
--- a/site/source/pages/simulateurs/dividendes/Dividendes.tsx
+++ b/site/source/pages/simulateurs/dividendes/Dividendes.tsx
@@ -140,7 +140,7 @@ const DividendesExplanation = () => {
dottedName:
'bénéficiaire . dividendes . cotisations et contributions',
title: t('Cotisations'),
- color: colors.bases.secondary[300],
+ color: colors.extended.grey[700],
},
]}
/>
diff --git a/site/source/pages/statistiques/DemandesUtilisateurs.tsx b/site/source/pages/statistiques/DemandesUtilisateurs.tsx
index b3cebbf83..900d31cab 100644
--- a/site/source/pages/statistiques/DemandesUtilisateurs.tsx
+++ b/site/source/pages/statistiques/DemandesUtilisateurs.tsx
@@ -68,6 +68,7 @@ function Pagination({ items }: PaginationProps) {
setCurrentPage(i)}
currentPage={currentPage === i}
+ aria-selected={currentPage === i ? true : undefined}
key={i}
>
{i + 1}
@@ -111,11 +112,10 @@ type PagerButtonProps = {
const PagerButton = styled.button`
font-family: ${({ theme }) => theme.fonts.main};
padding: 0.375rem 0.5rem;
- border: 1px solid
- ${({ theme, currentPage }) =>
- currentPage
- ? theme.colors.bases.primary[500]
- : theme.colors.extended.grey[300]};
+ border: ${({ theme, currentPage }) =>
+ currentPage
+ ? `2px solid ${theme.colors.bases.primary[500]}`
+ : `1px solid ${theme.colors.extended.grey[300]}`};
margin-right: 0.25rem;
background-color: ${({ theme, currentPage }) =>
currentPage
diff --git a/site/source/pages/statistiques/SatisfactionChart.tsx b/site/source/pages/statistiques/SatisfactionChart.tsx
index 90c915613..9eeccebe2 100644
--- a/site/source/pages/statistiques/SatisfactionChart.tsx
+++ b/site/source/pages/statistiques/SatisfactionChart.tsx
@@ -25,10 +25,10 @@ export const SatisfactionStyle: [
SatisfactionLevel,
{ emoji: string; color: string }
][] = [
- [SatisfactionLevel.Mauvais, { emoji: '🙁', color: '#D97C76' }],
- [SatisfactionLevel.Moyen, { emoji: '😐', color: '#f3dd68' }],
- [SatisfactionLevel.Bien, { emoji: '🙂', color: '#90e789' }],
- [SatisfactionLevel.TrèsBien, { emoji: '😀', color: '#17B890' }],
+ [SatisfactionLevel.Mauvais, { emoji: '🙁', color: '#F66775' }],
+ [SatisfactionLevel.Moyen, { emoji: '😐', color: '#4A184F' }],
+ [SatisfactionLevel.Bien, { emoji: '🙂', color: '#0F9970' }],
+ [SatisfactionLevel.TrèsBien, { emoji: '😀', color: '#02412F' }],
]
function toPercentage(data: Record) {