WFDASH-WEBAPP/src/components/theme-provider.tsx
SJCoetz 7df7a8850f feat(item-history): add getItemHistory service with 5 PB queries
Co-authored-by: Orca <help@stably.ai>
2026-07-29 14:51:58 +02:00

19 lines
No EOL
474 B
TypeScript

"use client";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import type { ReactNode } from "react";
export function ThemeProvider({ children }: { children: ReactNode }) {
return (
<NextThemesProvider
attribute="class"
defaultTheme="warm"
themes={["warm", "dark"]}
enableSystem={false}
disableTransitionOnChange
storageKey="wfdash-mode"
>
{children}
</NextThemesProvider>
);
}