export type Theme = 'dark' | 'light' | 'system';

export const THEME_VALUES = {
  dark: 'dark',
  light: 'light',
  system: 'system',
} satisfies Record<Theme, Theme>;

export const DEFAULT_THEME: Theme = THEME_VALUES.system;

export const APP_DEFAULT_THEME: Theme = THEME_VALUES.dark;

export const THEME_CLASS_NAMES = {
  dark: THEME_VALUES.dark,
  light: THEME_VALUES.light,
} satisfies Record<Exclude<Theme, 'system'>, Exclude<Theme, 'system'>>;

export const THEME_MEDIA_QUERIES = {
  prefersDark: '(prefers-color-scheme: dark)',
};
