💄(frontend) darken the background as the mockup

Darken the background as the mockup to make the
elements more visible.
This commit is contained in:
Anthony LC
2024-07-05 18:39:06 +02:00
committed by Anthony LC
parent 03953f0fe7
commit 3d370e5714

View File

@@ -1,8 +1,11 @@
import { Box } from '@/components';
import { useCunninghamTheme } from '@/cunningham';
import { Footer } from '@/features/footer/Footer';
import { HEADER_HEIGHT, Header } from '@/features/header';
export function MainLayout({ children }: { children: React.ReactNode }) {
const { colorsTokens } = useCunninghamTheme();
return (
<Box>
<Box $height="100vh">
@@ -12,6 +15,7 @@ export function MainLayout({ children }: { children: React.ReactNode }) {
as="main"
$height={`calc(100vh - ${HEADER_HEIGHT})`}
$width="100%"
$background={colorsTokens()['primary-bg']}
>
{children}
</Box>