Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import { useSyncExternalStore } from "react";
import { getCustomThemes, subscribeToCustomThemes } from "../themePalette";
const EMPTY_CUSTOM_THEMES: readonly [] = [];
export function useCustomThemes() {
return useSyncExternalStore(subscribeToCustomThemes, getCustomThemes, () => EMPTY_CUSTOM_THEMES);
}