"use client"

import { ThemeProvider } from "@/components/theme-provider"
import { MailThemeApplier } from "@/components/gmail/mail-theme-applier"

/** Thème clair/sombre ; fond décoratif réservé aux routes /mail. */
export function SuiteThemeShell({ children }: { children: React.ReactNode }) {
  return (
    <ThemeProvider attribute="class" defaultTheme="system" enableSystem>
      {children}
      <MailThemeApplier />
    </ThemeProvider>
  )
}
