feat: add dark theme

This commit is contained in:
Kentai Radiquum 2024-08-02 20:55:01 +05:00
parent 1588039542
commit 3e72866a08
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
22 changed files with 314 additions and 162 deletions

View file

@ -1,5 +1,6 @@
import "./globals.css";
import { App } from "./App";
import { ThemeModeScript } from "flowbite-react";
export const metadata = {
title: {
@ -11,7 +12,10 @@ export const metadata = {
export default function RootLayout({ children }) {
return (
<html lang="en">
<html lang="en" suppressHydrationWarning>
<head>
<ThemeModeScript />
</head>
<App>{children}</App>
</html>
);