1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-03-13 02:45:04 +00:00

refactor: remplace valeurs en dur par paramètres du thème

This commit is contained in:
Alice Dahan 2025-02-10 14:26:03 +01:00 committed by liliced
parent 6b2e77a15a
commit 00069ec771

View file

@ -14,7 +14,7 @@ export const InnerBanner = styled.div`
margin: auto;
align-items: center;
justify-content: center;
padding: 0.5rem 1rem;
padding: ${({ theme }) => `${theme.spacings.xs} ${theme.spacings.md}`};
background-color: ${({ theme }) =>
theme.darkMode
? theme.colors.bases.primary[700]