Files
industries/components/ThemeProvider.tsx
zeekay c93f07f2c8 feat: restore light/dark theme support with next-themes
- Add ThemeProvider (default: dark, system preference enabled)
- Add light/dark CSS variables in globals.css
- Replace hardcoded bg-black/text-white with bg-background/text-foreground
- 45 files updated to use theme-aware Tailwind classes
2026-02-23 10:02:12 -08:00

12 lines
295 B
TypeScript

'use client'
import * as React from 'react'
import { ThemeProvider as NextThemesProvider } from 'next-themes'
export function ThemeProvider({
children,
...props
}: React.ComponentProps<typeof NextThemesProvider>) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
}