Skip to content

The open alternative to Salesforce, designed for AI.

New "inverted" Background Colors (#6354)

Priyank Sevak33fc4ff9074b
diff --git a/packages/twenty-ui/src/theme/constants/BackgroundDark.ts b/packages/twenty-ui/src/theme/constants/BackgroundDark.ts
index 8c516795e74..df00ccf90b3 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 9141a8b76ed..82f1eccbf78 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),