We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03953f0 commit 3d370e5Copy full SHA for 3d370e5
src/frontend/apps/impress/src/layouts/MainLayout.tsx
@@ -1,8 +1,11 @@
1
import { Box } from '@/components';
2
+import { useCunninghamTheme } from '@/cunningham';
3
import { Footer } from '@/features/footer/Footer';
4
import { HEADER_HEIGHT, Header } from '@/features/header';
5
6
export function MainLayout({ children }: { children: React.ReactNode }) {
7
+ const { colorsTokens } = useCunninghamTheme();
8
+
9
return (
10
<Box>
11
<Box $height="100vh">
@@ -12,6 +15,7 @@ export function MainLayout({ children }: { children: React.ReactNode }) {
12
15
as="main"
13
16
$height={`calc(100vh - ${HEADER_HEIGHT})`}
14
17
$width="100%"
18
+ $background={colorsTokens()['primary-bg']}
19
>
20
{children}
21
</Box>
0 commit comments