diff --git a/web/apps/photos/src/pages/index.tsx b/web/apps/photos/src/pages/index.tsx index 36a105d0ac..258269576c 100644 --- a/web/apps/photos/src/pages/index.tsx +++ b/web/apps/photos/src/pages/index.tsx @@ -134,7 +134,15 @@ const Page: React.FC = () => { - + + theme.applyStyles("dark", { + bgcolor: "fill.faint", + }), + ]} + > {showLogin ? ( + theme.applyStyles("dark", { + bgcolor: "background.default", + }), + ]} onClick={handleClick} > @@ -286,21 +300,18 @@ const MobileBoxFooter: React.FC = ({ host }) => { ); }; -const DesktopBox = styled(CenteredFlex)( - ({ theme }) => ` +const DesktopBox = styled(CenteredFlex)` flex-shrink: 0; flex-grow: 2; flex-basis: auto; height: 100%; padding-inline: 20px; - background-color: ${theme.vars.palette.fill.faint}; @media (width <= 1024px) { display: none; } -`, -); +`; const Slideshow: React.FC = () => { const [selectedIndex, setSelectedIndex] = useState(0);