From a5990dc9ef6afe188916d4eb257e0468c633b838 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Thu, 14 Sep 2023 13:30:23 +0400 Subject: [PATCH] Add theme and meta tags --- app/layout.tsx | 7 ++++++- theme.ts | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 theme.ts diff --git a/app/layout.tsx b/app/layout.tsx index e9a1547..378f840 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,6 +1,7 @@ import "@mantine/core/styles.css"; import React from "react"; import { MantineProvider, ColorSchemeScript } from "@mantine/core"; +import { theme } from "../theme"; export const metadata = { title: "Mantine Next.js template", @@ -13,9 +14,13 @@ export default function RootLayout({ children }: { children: any }) { + - {children} + {children} ); diff --git a/theme.ts b/theme.ts new file mode 100644 index 0000000..80da4ee --- /dev/null +++ b/theme.ts @@ -0,0 +1,7 @@ +"use client"; + +import { createTheme } from "@mantine/core"; + +export const theme = createTheme({ + /* Put your mantine theme override here */ +});