feat: add theme background for page wrapper shadow

This commit is contained in:
RadoslavDimchev 2023-08-23 14:26:44 +03:00
parent a495af050d
commit a7f287f866
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import { ReactNode } from 'react'
import './layout.css'
import NimbusLogoMark from '../Logos/NimbusLogoMark'
import { useTheme } from 'tamagui'
type PageWrapperShadowProps = {
breadcrumbBar?: ReactNode
@ -15,8 +16,10 @@ const PageWrapperShadow = ({
rightImageLogo,
children,
}: PageWrapperShadowProps) => {
const theme = useTheme()
return (
<div className="layout">
<div className="layout" style={{ backgroundColor: theme.background.val }}>
<section className="layout-left">
{breadcrumbBar}
<div className="container">