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.

4.9 KB
Raw Blame
import {
  themedStyleSheet,
  StyleSheet,
  Platform,
  colors,
  radii,
  spacing,
  typography
} from './mobile-tasks-dependencies'
import { FIELD_MIN_HEIGHT } from '../components/composer-input/composer-input-styles'

export const mobileTasksProjectPickerStyles = themedStyleSheet(() => ({
  boardContainer: {
    gap: spacing.md,
    padding: spacing.md
  },
  boardColumn: {
    width: 280,
    maxHeight: '100%',
    borderWidth: 1,
    borderColor: colors.borderSubtle,
    borderRadius: radii.card,
    backgroundColor: colors.bgPanel,
    overflow: 'hidden'
  },
  boardHeader: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.xs,
    paddingHorizontal: spacing.md,
    paddingVertical: spacing.sm,
    borderBottomWidth: StyleSheet.hairlineWidth,
    borderBottomColor: colors.borderSubtle
  },
  boardTitle: {
    flex: 1,
    color: colors.textPrimary,
    fontSize: 13,
    fontWeight: '600'
  },
  boardCount: {
    color: colors.textMuted,
    fontSize: 11
  },
  boardCard: {
    margin: spacing.sm,
    marginBottom: 0,
    borderRadius: radii.card,
    borderWidth: 1,
    borderColor: colors.borderSubtle,
    backgroundColor: colors.bgBase,
    padding: spacing.md
  },
  repoPickerGroup: {
    backgroundColor: colors.bgPanel,
    borderRadius: 12,
    overflow: 'hidden'
  },
  pagePickerList: {
    maxHeight: 420,
    backgroundColor: colors.bgPanel,
    borderRadius: 12
  },
  projectPickerControls: {
    gap: spacing.sm,
    marginBottom: spacing.md
  },
  projectWarningBanner: {
    flexDirection: 'row',
    alignItems: 'flex-start',
    gap: spacing.sm,
    paddingHorizontal: spacing.md,
    paddingVertical: spacing.sm,
    marginBottom: spacing.md,
    borderWidth: 1,
    borderColor: colors.statusAmber,
    borderRadius: radii.card,
    backgroundColor: colors.bgPanel
  },
  projectWarningTextWrap: {
    flex: 1,
    minWidth: 0
  },
  projectWarningTitle: {
    color: colors.textPrimary,
    fontSize: 12,
    fontWeight: '600'
  },
  projectWarningText: {
    color: colors.textSecondary,
    fontSize: 11,
    marginTop: 2
  },
  projectDataNotice: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.sm,
    paddingHorizontal: spacing.lg,
    paddingVertical: spacing.sm,
    backgroundColor: colors.bgPanel,
    borderBottomWidth: 1,
    borderBottomColor: colors.borderSubtle
  },
  projectDataNoticeText: {
    flex: 1,
    color: colors.statusAmber,
    fontSize: 13
  },
  projectGroupHeader: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.xs,
    paddingHorizontal: spacing.lg,
    paddingVertical: spacing.sm,
    backgroundColor: colors.bgPanel
  },
  projectGroupChevronCollapsed: {
    transform: [{ rotate: '-90deg' }]
  },
  projectGroupTitle: {
    flex: 1,
    minWidth: 0,
    color: colors.textPrimary,
    fontSize: 12,
    fontWeight: '600'
  },
  projectGroupMeta: {
    color: colors.textMuted,
    fontSize: 11
  },
  projectFieldPillRow: {
    flexDirection: 'row',
    flexWrap: 'wrap',
    gap: spacing.xs,
    marginTop: spacing.xs
  },
  projectFieldPill: {
    maxWidth: '100%',
    borderWidth: 1,
    borderColor: colors.borderSubtle,
    borderRadius: 999,
    backgroundColor: colors.bgPanel,
    paddingHorizontal: spacing.sm,
    paddingVertical: 2
  },
  projectFieldPillText: {
    color: colors.textSecondary,
    fontSize: 11
  },
  projectFieldPillEmptyText: {
    color: colors.textMuted
  },
  projectPasteRow: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.sm
  },
  projectPasteInput: {
    flex: 1
  },
  projectPasteButton: {
    minHeight: FIELD_MIN_HEIGHT,
    alignItems: 'center',
    justifyContent: 'center'
  },
  pickerRow: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.sm,
    paddingHorizontal: spacing.md + 2,
    paddingVertical: spacing.md,
    borderBottomWidth: 1,
    borderBottomColor: colors.borderSubtle
  },
  pickerRowSelected: {
    backgroundColor: colors.bgRaised
  },
  pickerRowContent: {
    flex: 1,
    minWidth: 0
  },
  pickerRowLabel: {
    fontSize: typography.bodySize,
    color: colors.textPrimary
  },
  pickerRowSubtitle: {
    fontSize: 11,
    color: colors.textMuted,
    marginTop: 1
  },
  pickerRowWithAction: {
    flexDirection: 'row',
    alignItems: 'center'
  },
  pickerRowMain: {
    flex: 1,
    minWidth: 0,
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.sm,
    paddingHorizontal: spacing.md + 2,
    paddingVertical: spacing.md
  },
  pickerCheck: {
    width: 18,
    alignItems: 'center'
  },
  pickerContent: {
    flex: 1,
    minWidth: 0
  },
  pickerLabel: {
    fontSize: typography.bodySize,
    color: colors.textPrimary
  },
  monoText: {
    fontFamily: Platform.select({ ios: 'Menlo', android: 'monospace', default: 'monospace' })
  },
  pickerSubtitle: {
    fontSize: 11,
    color: colors.textMuted,
    marginTop: 1
  },
  iconActionButton: {
    width: 44,
    height: 44,
    alignItems: 'center',
    justifyContent: 'center'
  }
}))