From 33fc4ff9074b8069c1adc05f8735fb6ab0f89a58 Mon Sep 17 00:00:00 2001 From: Priyank Sevak Date: Mon, 22 Jul 2024 06:03:23 -0400 Subject: [PATCH] New "inverted" Background Colors (#6354) - Added 2 new Inverted background colors as requested under issue#4726 Co-authored-by: Marie Stoppa --- packages/twenty-ui/src/theme/constants/BackgroundDark.ts | 2 ++ packages/twenty-ui/src/theme/constants/BackgroundLight.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/twenty-ui/src/theme/constants/BackgroundDark.ts b/packages/twenty-ui/src/theme/constants/BackgroundDark.ts index 8c516795e..df00ccf90 100644 --- a/packages/twenty-ui/src/theme/constants/BackgroundDark.ts +++ b/packages/twenty-ui/src/theme/constants/BackgroundDark.ts @@ -11,6 +11,8 @@ export const BACKGROUND_DARK = { secondary: GRAY_SCALE.gray80, tertiary: GRAY_SCALE.gray75, quaternary: GRAY_SCALE.gray70, + invertedPrimary: GRAY_SCALE.gray20, + invertedSecondary: GRAY_SCALE.gray35, danger: COLOR.red80, transparent: { primary: RGBA(GRAY_SCALE.gray85, 0.5), diff --git a/packages/twenty-ui/src/theme/constants/BackgroundLight.ts b/packages/twenty-ui/src/theme/constants/BackgroundLight.ts index 9141a8b76..82f1eccbf 100644 --- a/packages/twenty-ui/src/theme/constants/BackgroundLight.ts +++ b/packages/twenty-ui/src/theme/constants/BackgroundLight.ts @@ -11,6 +11,8 @@ export const BACKGROUND_LIGHT = { secondary: GRAY_SCALE.gray10, tertiary: GRAY_SCALE.gray15, quaternary: GRAY_SCALE.gray20, + invertedPrimary: GRAY_SCALE.gray60, + invertedSecondary: GRAY_SCALE.gray50, danger: COLOR.red10, transparent: { primary: RGBA(GRAY_SCALE.gray0, 0.5),