feat(renderer): add next-themes provider + theme toggle (sun/moon)

This commit is contained in:
2026-06-05 10:17:38 +05:30
parent 68ff7d076a
commit e0d6315204
3 changed files with 76 additions and 0 deletions
@@ -0,0 +1,6 @@
import { ThemeProvider as NextThemesProvider } from 'next-themes';
import type { ComponentProps } from 'react';
export function ThemeProvider({ children, ...props }: ComponentProps<typeof NextThemesProvider>) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}