From 9a3cdfc0b8259acf63ae2b9ccdd8e0326c8cf5df Mon Sep 17 00:00:00 2001 From: LucasBeneston Date: Fri, 4 Oct 2024 15:00:30 +0200 Subject: [PATCH] feat(html): add default body background color --- public_website/src/pages/_document.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/public_website/src/pages/_document.tsx b/public_website/src/pages/_document.tsx index 797f30da..dbdc147e 100644 --- a/public_website/src/pages/_document.tsx +++ b/public_website/src/pages/_document.tsx @@ -6,7 +6,7 @@ import Document, { Main, NextScript, } from 'next/document' -import { ServerStyleSheet } from 'styled-components' +import styled, { ServerStyleSheet } from 'styled-components' export default class MyDocument extends Document { static async getInitialProps(ctx: DocumentContext) { @@ -56,11 +56,15 @@ export default class MyDocument extends Document { - +
- + ) } } + +const Body = styled.body({ + backgroundColor: '#ffffff', +})