Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import { useSyncExternalStore } from 'react'
import { getMobileUiRevision, subscribeMobileUiLanguage } from '../i18n/mobile-i18n'
import {
getMobileColorScheme,
subscribeMobileColorScheme,
type MobileColorScheme
} from './mobile-theme'
// Call in every component that reads `colors` or themed styles while rendering, so a scheme change repaints it.
// A language switch repaints the same components, so labels built by helpers during render follow it too.
export function useMobileColorScheme(): MobileColorScheme {
useSyncExternalStore(subscribeMobileUiLanguage, getMobileUiRevision)
return useSyncExternalStore(subscribeMobileColorScheme, getMobileColorScheme)
}