Skip to content

The open alternative to Salesforce, designed for AI.

Fix dark mode dropdown scrollbars (#26344)

Raphaël Bosi51df6aa7893e
diff --git a/packages/twenty-front/src/index.css b/packages/twenty-front/src/index.css
index 7c5f6296509..834e73471ec 100644
--- a/packages/twenty-front/src/index.css
+++ b/packages/twenty-front/src/index.css
@@ -24,6 +24,14 @@ html {
zoom: var(--t-zoom);
}
+html.dark {
+ color-scheme: dark;
+}
+
+html.light {
+ color-scheme: light;
+}
+
/* Phones get a slightly larger base, mirroring native apps. 1.0769… is 14/13,
precomputed because media queries cannot read custom properties. */
@media (max-width: 768px) {