From 34e15b637bb906f896ed106fe6cd83ae5b73f831 Mon Sep 17 00:00:00 2001 From: developomp Date: Mon, 17 Jan 2022 20:10:21 +0900 Subject: [PATCH] added new color to theming.ts --- source/src/components/Card.tsx | 2 +- source/src/styles/theming.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/src/components/Card.tsx b/source/src/components/Card.tsx index 6dc9025..061385c 100644 --- a/source/src/components/Card.tsx +++ b/source/src/components/Card.tsx @@ -7,7 +7,7 @@ export const cardCSS = css` background-color: ${(props) => theming.theme(props.theme.currentTheme, { light: "white", - dark: "#2F3136", + dark: theming.dark.backgroundColor2, })}; padding: 2rem; border-radius: 6px; diff --git a/source/src/styles/theming.ts b/source/src/styles/theming.ts index b43e64c..490f404 100644 --- a/source/src/styles/theming.ts +++ b/source/src/styles/theming.ts @@ -35,12 +35,14 @@ export default { dark: { backgroundColor0: "#202225", backgroundColor1: "#36393F", + backgroundColor2: "#2F3136", color0: "#FFFFFF", color1: "#EEEEEE", }, light: { backgroundColor0: "#FFFFFF", backgroundColor1: "#F7F7F7", + backgroundColor2: "#DDDDDD", color0: "#000000", color1: "#111111", },