/**
 * The 3 values a profile's theme preference can take — `SYSTEM` means "no
 * explicit choice, follow the OS/browser preference" (see `apps/web`'s
 * `ThemeContext`, which maps this to *not* setting the `data-theme`
 * attribute at all, letting `_theme.scss`'s `prefers-color-scheme` media
 * query take over).
 */
export const THEME_PREFERENCES = ["LIGHT", "DARK", "SYSTEM"] as const;
/** Inferred TS type for one {@link THEME_PREFERENCES} member. */
export type ThemePreference = (typeof THEME_PREFERENCES)[number];

/** A profile's personalization preferences, as returned by `GET /preferences` / `PATCH /preferences`. */
export interface PreferencesView {
  theme: ThemePreference;
}
