From b1181c20882e720a9622e26efb896a1748b4b8d8 Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Wed, 11 Jun 2025 00:09:54 -0700 Subject: [PATCH] fixed wrong theme being applied in hub --- apps/hub/app/globals.css | 4 +++- apps/hub/app/layout.tsx | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/hub/app/globals.css b/apps/hub/app/globals.css index b83e488c..81da2e99 100644 --- a/apps/hub/app/globals.css +++ b/apps/hub/app/globals.css @@ -1,5 +1,7 @@ @import "tailwindcss"; -@plugin "daisyui"; +@plugin "daisyui" { + themes: dark, nord; +} /* The default border color has changed to `currentColor` in Tailwind CSS v4, diff --git a/apps/hub/app/layout.tsx b/apps/hub/app/layout.tsx index 3e333038..768c6a09 100644 --- a/apps/hub/app/layout.tsx +++ b/apps/hub/app/layout.tsx @@ -1,9 +1,9 @@ import { Geist, Geist_Mono } from "next/font/google"; import { NextAuthSessionProvider } from "./_components/AuthSessionProvider"; import { getServerSession } from "./api/auth/[...nextauth]/auth"; -import "./globals.css"; import { CustomErrorBoundary } from "_components/ErrorBoundary"; import { Toaster } from "react-hot-toast"; +import "./globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -23,7 +23,7 @@ const RootLayout = async ({ const session = await getServerSession(); return ( - +