Skip to content
10 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

The phone app: Chat in full with phone notifications, plus Code and Customize (#4)1import { useColorScheme } from "react-native";
2
3import { dark, light, type Palette } from "./tokens";
4
5export { fonts, radius, space, type Palette } from "./tokens";
6
7/** The palette for the phone's light or dark setting; dark when it has none. */
8export function useColors(): Palette {
9 return useColorScheme() === "light" ? light : dark;
10}

This file's history is long; its oldest lines are credited to the oldest commit read.