- Single-screen chat interface with Timmy's sovereign AI personality - Text messaging with real-time AI responses via server chat API - Voice recording and playback with waveform visualization - Image sharing (camera + photo library) with full-screen viewer - File attachments via document picker - Dark arcane theme matching the Timmy Time dashboard - Custom app icon with glowing T circuit design - Timmy system prompt ported from dashboard prompts.py - Unit tests for chat utilities and message types
13 lines
504 B
TypeScript
13 lines
504 B
TypeScript
import { Colors, type ColorScheme, type ThemeColorPalette } from "@/constants/theme";
|
|
import { useColorScheme } from "./use-color-scheme";
|
|
|
|
/**
|
|
* Returns the current theme's color palette.
|
|
* Usage: const colors = useColors(); then colors.text, colors.background, etc.
|
|
*/
|
|
export function useColors(colorSchemeOverride?: ColorScheme): ThemeColorPalette {
|
|
const colorSchema = useColorScheme();
|
|
const scheme = (colorSchemeOverride ?? colorSchema ?? "light") as ColorScheme;
|
|
return Colors[scheme];
|
|
}
|