Fix css background color in dark mode

pull/2782/head
Jérémy Rialland 2023-06-07 15:55:58 +02:00 committed by Johan Girod
parent fb0e608c68
commit 5b29aa0927
1 changed files with 7 additions and 1 deletions

View File

@ -91,7 +91,13 @@ export default function AccueilChoixStatut() {
flex: 1;
`}
></div>
<Container backgroundColor={(theme) => theme.colors.bases.primary[100]}>
<Container
backgroundColor={(theme) =>
theme.darkMode
? theme.colors.bases.primary[800]
: theme.colors.bases.primary[100]
}
>
<H3>
<Trans i18nKey="common.useful-resources">Ressources utiles</Trans>
</H3>