Add gemini key ability

This commit is contained in:
Joey Yakimowich-Payne 2026-01-14 21:04:58 -07:00
commit 73c7d3efed
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
11 changed files with 793 additions and 228 deletions

View file

@ -13,6 +13,34 @@ export type GameState =
| 'WAITING_TO_REJOIN'
| 'HOST_RECONNECTED';
export interface ColorScheme {
id: string;
name: string;
primary: string;
primaryDark: string;
primaryDarker: string;
}
export const COLOR_SCHEMES: ColorScheme[] = [
{ id: 'blue', name: 'Ocean Blue', primary: '#2563eb', primaryDark: '#1e40af', primaryDarker: '#1e3a5f' },
{ id: 'purple', name: 'Royal Purple', primary: '#7c3aed', primaryDark: '#5b21b6', primaryDarker: '#3b1a5f' },
{ id: 'pink', name: 'Hot Pink', primary: '#db2777', primaryDark: '#9d174d', primaryDarker: '#5f1a3b' },
{ id: 'red', name: 'Ruby Red', primary: '#dc2626', primaryDark: '#991b1b', primaryDarker: '#5f1a1a' },
{ id: 'orange', name: 'Sunset Orange', primary: '#ea580c', primaryDark: '#c2410c', primaryDarker: '#5f2a1a' },
{ id: 'yellow', name: 'Golden Yellow', primary: '#ca8a04', primaryDark: '#a16207', primaryDarker: '#5f4a1a' },
{ id: 'green', name: 'Emerald Green', primary: '#16a34a', primaryDark: '#15803d', primaryDarker: '#1a5f3b' },
{ id: 'teal', name: 'Teal', primary: '#0d9488', primaryDark: '#0f766e', primaryDarker: '#1a5f5a' },
{ id: 'cyan', name: 'Cyan', primary: '#0891b2', primaryDark: '#0e7490', primaryDarker: '#1a4a5f' },
{ id: 'indigo', name: 'Indigo', primary: '#4f46e5', primaryDark: '#4338ca', primaryDarker: '#2a2a5f' },
{ id: 'slate', name: 'Slate', primary: '#475569', primaryDark: '#334155', primaryDarker: '#1e293b' },
{ id: 'rose', name: 'Rose', primary: '#e11d48', primaryDark: '#be123c', primaryDarker: '#5f1a2a' },
];
export interface UserPreferences {
colorScheme: string;
geminiApiKey?: string;
}
export type GameRole = 'HOST' | 'CLIENT';
export interface AnswerOption {