Skip to content

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.

675 B
Raw Blame
import { Easing, ReduceMotion } from "react-native-reanimated";

/**
 * One timing curve for every workspace pane (primary sidebar + inspector).
 *
 * Panes frequently animate together — opening the sidebar can auto-close the
 * inspector when both no longer fit — so identical duration and easing on
 * every pane keeps the center content pane from wobbling while both edges
 * move. Asymmetric open/close timings (the previous 220ms out-cubic open vs
 * 160ms in-cubic close) read as jank during those simultaneous swaps.
 */
export const WORKSPACE_PANE_TIMING = {
  duration: 260,
  easing: Easing.inOut(Easing.cubic),
  reduceMotion: ReduceMotion.System,
} as const;