MCPcopy Create free account
hub / github.com/css-hooks/css-hooks / cool

Function cool

example/src/app.tsx:9–9  ·  view source on GitHub ↗
(l: number)

Source from the content-addressed store, hash-verified

7
8const warm = (l: number) => `oklch(${l}% 0.025 80)`;
9const cool = (l: number) => `oklch(${l}% 0.015 260)`;
10
11export function App() {
12 const [theme, setTheme] = useState<"dark" | "auto" | "light">("auto");

Callers 1

AppFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected