Skip to content

armgit / orca

Public Imported from GitHub
0

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.

1.6 KB
Raw Blame
import type { NativeChatVisualTheme } from '../../../../../src/shared/native-chat/native-chat-visual-shell'
import { colors, getMobileColorScheme, radii } from '../../../theme/mobile-theme'

// Match desktop’s chart tokens; initialize visual styles before author content runs.
// Getters so each document build reads the current scheme.
export const MOBILE_NATIVE_CHAT_VISUAL_THEME: NativeChatVisualTheme = {
  get colorScheme() {
    return getMobileColorScheme()
  },
  get tokens() {
    return {
      '--background': colors.bgBase,
      '--foreground': colors.textPrimary,
      '--card': colors.bgPanel,
      '--card-foreground': colors.textPrimary,
      '--popover': colors.bgRaised,
      '--popover-foreground': colors.textPrimary,
      '--primary': colors.surfaceBright,
      '--primary-foreground': colors.bgBase,
      '--secondary': colors.bgRaised,
      '--secondary-foreground': colors.textPrimary,
      '--muted': colors.bgRaised,
      '--muted-foreground': colors.textMuted,
      '--accent': colors.bgRaised,
      '--accent-foreground': colors.textPrimary,
      '--destructive': colors.statusRed,
      '--destructive-foreground': colors.onAccent,
      '--border': colors.borderSubtle,
      '--input': colors.borderSubtle,
      '--ring': colors.textMuted,
      '--radius': `${radii.row}px`,
      '--chart-1': '#8ec5ff',
      '--chart-2': '#2b7fff',
      '--chart-3': '#155dfc',
      '--chart-4': '#1447e6',
      '--chart-5': '#193cb8',
      '--font-sans': '-apple-system, system-ui, Roboto, sans-serif',
      '--font-mono': 'Menlo, monospace'
    }
  }
}