diff --git a/apps/civicsignalblog/src/pages/_document.page.js b/apps/civicsignalblog/src/pages/_document.page.js index 12951988f..c696819af 100644 --- a/apps/civicsignalblog/src/pages/_document.page.js +++ b/apps/civicsignalblog/src/pages/_document.page.js @@ -2,6 +2,7 @@ import createEmotionServer from "@emotion/server/create-instance"; import Document, { Html, Head, Main, NextScript } from "next/document"; import React from "react"; +import theme from "@/civicsignalblog/theme"; import createEmotionCache from "@/civicsignalblog/utils/createEmotionCache"; class MyDocument extends Document { @@ -44,7 +45,7 @@ class MyDocument extends Document { - + {this.props.emotionStyleTags} diff --git a/apps/roboshield/src/pages/_document.tsx b/apps/roboshield/src/pages/_document.tsx index 6bb40277d..a30ef2f18 100644 --- a/apps/roboshield/src/pages/_document.tsx +++ b/apps/roboshield/src/pages/_document.tsx @@ -1,17 +1,18 @@ -import * as React from "react"; -import { - Html, - Head, - Main, - NextScript, - DocumentProps, - DocumentContext, -} from "next/document"; import { DocumentHeadTags, DocumentHeadTagsProps, documentGetInitialProps, } from "@mui/material-nextjs/v14-pagesRouter"; +import { + DocumentContext, + DocumentProps, + Head, + Html, + Main, + NextScript, +} from "next/document"; + +import theme from "@/roboshield/theme"; export default function MyDocument( props: DocumentProps & DocumentHeadTagsProps, @@ -19,6 +20,27 @@ export default function MyDocument( return (
+ + + + + + +