mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
31 lines
738 B
TypeScript
31 lines
738 B
TypeScript
// import { ServerThemeProvider } from 'next-themes';
|
|
import type { PropsWithChildren } from 'react';
|
|
import { Providers } from './providers';
|
|
|
|
import '@unocss/reset/tailwind.css';
|
|
import '../styles/inter.css';
|
|
import '../styles/unocss.css';
|
|
import '../styles/cmdk.css';
|
|
import '../styles/main.css';
|
|
|
|
export default function RootLayout({ children }: PropsWithChildren) {
|
|
return (
|
|
// <ServerThemeProvider
|
|
// attribute="class"
|
|
// defaultTheme="system"
|
|
// disableTransitionOnChange
|
|
// value={{
|
|
// light: 'light',
|
|
// dark: 'dark',
|
|
// }}
|
|
// >
|
|
<html lang="en">
|
|
<head />
|
|
<body className="dark:bg-dark-800 bg-white">
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
// </ServerThemeProvider>
|
|
);
|
|
}
|