diff --git a/packages/twenty-front/src/modules/ui/layout/page/DefaultLayout.tsx b/packages/twenty-front/src/modules/ui/layout/page/DefaultLayout.tsx
index 9c5c51a8a..932d19cfe 100644
--- a/packages/twenty-front/src/modules/ui/layout/page/DefaultLayout.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/page/DefaultLayout.tsx
@@ -1,4 +1,5 @@
import { ReactNode } from 'react';
+import { css, Global, useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import { AnimatePresence, LayoutGroup } from 'framer-motion';
@@ -62,30 +63,39 @@ type DefaultLayoutProps = {
export const DefaultLayout = ({ children }: DefaultLayoutProps) => {
const onboardingStatus = useOnboardingStatus();
const isMobile = useIsMobile();
-
+ const theme = useTheme();
return (
-
-
-
-
-
-
- {onboardingStatus &&
- onboardingStatus !== OnboardingStatus.Completed ? (
- <>
-
-
-
- {children}
-
-
- >
- ) : (
- {children}
- )}
-
-
- {isMobile && }
-
+ <>
+
+
+
+
+
+
+
+ {onboardingStatus &&
+ onboardingStatus !== OnboardingStatus.Completed ? (
+ <>
+
+
+
+ {children}
+
+
+ >
+ ) : (
+ {children}
+ )}
+
+
+ {isMobile && }
+
+ >
);
};