UNPKG

acemyjob-ui

Version:

A React component library for job search and career management applications

13 lines (12 loc) 329 B
import React from 'react'; export type Theme = 'light' | 'dark' | 'system'; export interface ThemeContextType { theme: Theme; setTheme: (theme: Theme) => void; resolvedTheme: 'light' | 'dark'; } export interface ThemeProviderProps { children: React.ReactNode; defaultTheme?: Theme; storageKey?: string; }