Skip to content

Commit 3d370e5

Browse files
committed
💄(frontend) darken the background as the mockup
Darken the background as the mockup to make the elements more visible.
1 parent 03953f0 commit 3d370e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/frontend/apps/impress/src/layouts/MainLayout.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { Box } from '@/components';
2+
import { useCunninghamTheme } from '@/cunningham';
23
import { Footer } from '@/features/footer/Footer';
34
import { HEADER_HEIGHT, Header } from '@/features/header';
45

56
export function MainLayout({ children }: { children: React.ReactNode }) {
7+
const { colorsTokens } = useCunninghamTheme();
8+
69
return (
710
<Box>
811
<Box $height="100vh">
@@ -12,6 +15,7 @@ export function MainLayout({ children }: { children: React.ReactNode }) {
1215
as="main"
1316
$height={`calc(100vh - ${HEADER_HEIGHT})`}
1417
$width="100%"
18+
$background={colorsTokens()['primary-bg']}
1519
>
1620
{children}
1721
</Box>

0 commit comments

Comments
 (0)