@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 14 lines 455 Bytes
Raw
1 import { getMaterialColors, isDynamicColorAvailable } from "@expo/ui/jetpack-compose";
2
3 import type { MaterialYouPalettes } from "./materialYouPalette";
4
5 export const isSystemColorsAvailable = isDynamicColorAvailable;
6
7 export function readSystemColorPalettes(): MaterialYouPalettes | null {
8 if (!isDynamicColorAvailable) return null;
9
10 return {
11 light: getMaterialColors({ scheme: "light" }),
12 dark: getMaterialColors({ scheme: "dark" }),
13 };
14 }