chore: fix prettier formatting, regenerate phase9 manifest, add missing config files (.env.example, .node-version, .nvmrc, CI workflow)
CI / test (push) Failing after 28s

This commit is contained in:
root
2026-06-25 20:12:15 -04:00
parent c43620a005
commit b7a640735c
36 changed files with 3402 additions and 1857 deletions
@@ -1,8 +1,17 @@
export const themeCookie = "hpc-theme";
export const themeStorageKey = "hpc.theme.preference";
export const themePreferences = ["light","dark","system"] as const;
export type ThemePreference = typeof themePreferences[number];
export type ResolvedTheme = "light"|"dark";
export function isThemePreference(v:unknown): v is ThemePreference { return typeof v === "string" && (themePreferences as readonly string[]).includes(v); }
export function resolveTheme(preference:ThemePreference, systemDark:boolean):ResolvedTheme { return preference === "system" ? (systemDark ? "dark" : "light") : preference; }
export const themeCookieAttributes = { path:"/", sameSite:"lax" as const, maxAgeSeconds:31536000, secureInProduction:true };
export const themeCookie = 'hpc-theme';
export const themeStorageKey = 'hpc.theme.preference';
export const themePreferences = ['light', 'dark', 'system'] as const;
export type ThemePreference = (typeof themePreferences)[number];
export type ResolvedTheme = 'light' | 'dark';
export function isThemePreference(v: unknown): v is ThemePreference {
return typeof v === 'string' && (themePreferences as readonly string[]).includes(v);
}
export function resolveTheme(preference: ThemePreference, systemDark: boolean): ResolvedTheme {
return preference === 'system' ? (systemDark ? 'dark' : 'light') : preference;
}
export const themeCookieAttributes = {
path: '/',
sameSite: 'lax' as const,
maxAgeSeconds: 31536000,
secureInProduction: true,
};