Add inert color for dark mode

pull/2520/head
Jérémy Rialland 2023-03-01 13:05:48 +01:00 committed by Jérémy Rialland
parent c280fac70c
commit 693ce13bb2
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ export const CardContainer = styled.div<{
border: none;
background-color: ${({ theme, $inert }) =>
theme.darkMode
? theme.colors.extended.dark[600]
? theme.colors.extended.dark[$inert ? 700 : 600]
: theme.colors.extended.grey[$inert ? 200 : 100]};
border-radius: ${({ theme }) => theme.box.borderRadius};
box-shadow: ${({ theme }) =>