fixed wrong theme being applied in hub
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
@plugin "daisyui";
|
@plugin "daisyui" {
|
||||||
|
themes: dark, nord;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { Geist, Geist_Mono } from "next/font/google";
|
import { Geist, Geist_Mono } from "next/font/google";
|
||||||
import { NextAuthSessionProvider } from "./_components/AuthSessionProvider";
|
import { NextAuthSessionProvider } from "./_components/AuthSessionProvider";
|
||||||
import { getServerSession } from "./api/auth/[...nextauth]/auth";
|
import { getServerSession } from "./api/auth/[...nextauth]/auth";
|
||||||
import "./globals.css";
|
|
||||||
import { CustomErrorBoundary } from "_components/ErrorBoundary";
|
import { CustomErrorBoundary } from "_components/ErrorBoundary";
|
||||||
import { Toaster } from "react-hot-toast";
|
import { Toaster } from "react-hot-toast";
|
||||||
|
import "./globals.css";
|
||||||
|
|
||||||
const geistSans = Geist({
|
const geistSans = Geist({
|
||||||
variable: "--font-geist-sans",
|
variable: "--font-geist-sans",
|
||||||
@@ -23,7 +23,7 @@ const RootLayout = async ({
|
|||||||
const session = await getServerSession();
|
const session = await getServerSession();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en" data-theme="dark">
|
||||||
<NextAuthSessionProvider session={session}>
|
<NextAuthSessionProvider session={session}>
|
||||||
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user