forecast/src/app/layout.tsx
Mathis 47361f453f
feat(layout): add dark mode background class to body element
Updated the body element in the layout component to include a background class supporting dark mode. This change enhances the application's theme capability by accommodating dark mode styling.
2024-09-27 16:57:48 +02:00

27 lines
508 B
TypeScript

import type { Metadata } from "next";
import '@fontsource/ubuntu/400.css';
import '@fontsource/ubuntu/500.css';
import "./globals.css";
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`antialiased bg-background dark`}
>
{children}
</body>
</html>
);
}