/**
 * Theme context + provider
 * Dark mode only — Dark Medical design system
 */

import { createContext, useContext } from 'react'
import { darkColors } from './colors.dark'
import type { ThemeColors } from './types'

const ThemeContext = createContext<ThemeColors>(darkColors)

export function ThemeProvider({ children }: { children: React.ReactNode }) {
  return (
    <ThemeContext.Provider value={darkColors}>{children}</ThemeContext.Provider>
  )
}

export function useThemeColors(): ThemeColors {
  return useContext(ThemeContext)
}
