Skip to content

The open alternative to Salesforce, designed for AI.

Fix layout edition mode dark mode text color - 2 (#20024)

Weiko3deb46784563
diff --git a/packages/twenty-front/src/modules/layout-customization/components/LayoutCustomizationBar.tsx b/packages/twenty-front/src/modules/layout-customization/components/LayoutCustomizationBar.tsx
index c156d06cfe4..27ef30bccaa 100644
--- a/packages/twenty-front/src/modules/layout-customization/components/LayoutCustomizationBar.tsx
+++ b/packages/twenty-front/src/modules/layout-customization/components/LayoutCustomizationBar.tsx
@@ -36,6 +36,10 @@ const StyledContainer = styled.div`
color: ${GRAY_SCALE_LIGHT.gray1};
}
+ button {
+ --tw-button-color: ${GRAY_SCALE_LIGHT.gray1} !important;
+ }
+
button[type='submit']:not(:disabled):not(:focus) {
border-color: color(display-p3 1 1 1 / 0.5);
}