From 693ce13bb2c7847dbb7033cd491a361c508f4165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Wed, 1 Mar 2023 13:05:48 +0100 Subject: [PATCH] Add inert color for dark mode --- site/source/design-system/card/Card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/source/design-system/card/Card.tsx b/site/source/design-system/card/Card.tsx index fa5f91e1f..0bf8e6869 100644 --- a/site/source/design-system/card/Card.tsx +++ b/site/source/design-system/card/Card.tsx @@ -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 }) =>