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

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 }