export type Theme = "light" | "system" | "dark";
export const THEME_COOKIE = "theme";
/** The app's theme names on MetalUI's colorways; "system" leaves it to prefers-color-scheme. */
export const colorwayOf = (theme: Theme) => (theme === "light" ? "bone" : theme === "dark" ? "graphite" : undefined);