Open-source, local-first AI agent for real work.
TypeScript agent-toolsai-agentbyokcoding-agentcross-platformdesktop-appdeveloper-toolselectronharnessknowledge-basellmwikilocal-firstmcpplugin-systemprivacy-firstskillstypescriptvettaworkflow-automation
import { useThemeModule } from "./context";
import type { ThemeRegionId, ThemeRegionRegistry } from "./types";
export function useThemeRegion<TKey extends ThemeRegionId>(id: TKey): ThemeRegionRegistry[TKey] | undefined {
const theme = useThemeModule();
return theme.regions?.[id] as ThemeRegionRegistry[TKey] | undefined;
}