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.

3.9 KB
Raw Blame
import { themedStyleSheet, colors, radii, spacing } from './mobile-tasks-dependencies'

export const mobileTasksListStyles = themedStyleSheet(() => ({
  taskRow: {
    flexDirection: 'row',
    alignItems: 'flex-start',
    paddingHorizontal: spacing.lg,
    paddingVertical: spacing.sm + 2
  },
  taskRowPressed: {
    backgroundColor: colors.bgRaised
  },
  taskIcon: {
    width: 20,
    paddingTop: 3,
    marginRight: spacing.sm,
    alignItems: 'center'
  },
  taskMain: {
    flex: 1,
    minWidth: 0,
    marginRight: spacing.sm
  },
  taskTitleRow: {
    flexDirection: 'row',
    gap: spacing.sm,
    alignItems: 'flex-start'
  },
  taskTitle: {
    flex: 1,
    fontSize: 14,
    fontWeight: '600',
    color: colors.textPrimary,
    lineHeight: 18
  },
  updatedAt: {
    fontSize: 11,
    color: colors.textMuted,
    paddingTop: 2
  },
  metaRow: {
    flexDirection: 'row',
    alignItems: 'center',
    marginTop: 4,
    gap: spacing.xs
  },
  repoDot: {
    width: 7,
    height: 7,
    borderRadius: 4
  },
  pickerRepoDot: {
    width: 9,
    height: 9,
    borderRadius: 4.5
  },
  subtitle: {
    flex: 1,
    fontSize: 11,
    color: colors.textSecondary
  },
  branchMetaRow: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.xs,
    marginTop: 3,
    minWidth: 0
  },
  branchMetaText: {
    flexShrink: 1,
    minWidth: 0,
    maxWidth: 180,
    fontSize: 11,
    color: colors.textPrimary
  },
  branchMetaBase: {
    flexShrink: 1,
    minWidth: 0,
    fontSize: 10,
    color: colors.textMuted
  },
  prSignalRow: {
    flexDirection: 'row',
    flexWrap: 'wrap',
    gap: spacing.xs,
    marginTop: spacing.xs + 1
  },
  prSignalChip: {
    alignSelf: 'flex-start',
    borderWidth: 1,
    borderColor: colors.borderSubtle,
    borderRadius: radii.button,
    backgroundColor: colors.bgPanel,
    paddingHorizontal: spacing.xs + 2,
    paddingVertical: 2
  },
  prSignalSuccess: {
    borderColor: colors.statusGreen
  },
  prSignalWarning: {
    borderColor: colors.statusAmber
  },
  prSignalDanger: {
    borderColor: colors.statusRed
  },
  prSignalText: {
    fontSize: 10,
    color: colors.textSecondary,
    fontWeight: '600'
  },
  statusPill: {
    maxWidth: 112,
    backgroundColor: colors.bgRaised,
    borderRadius: 999,
    paddingHorizontal: spacing.sm,
    paddingVertical: 3,
    borderWidth: 1,
    borderColor: colors.borderSubtle
  },
  statusPillSelf: {
    alignSelf: 'flex-start',
    backgroundColor: colors.bgRaised,
    borderRadius: 999,
    paddingHorizontal: spacing.sm,
    paddingVertical: 3,
    borderWidth: 1,
    borderColor: colors.borderSubtle,
    marginTop: spacing.sm
  },
  linearStatePill: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.xs
  },
  linearStateDot: {
    width: 7,
    height: 7,
    borderRadius: 4
  },
  linearListTrailing: {
    alignItems: 'flex-end',
    gap: spacing.xs
  },
  taskRowTrailing: {
    alignItems: 'flex-end',
    gap: spacing.xs
  },
  statusText: {
    fontSize: 11,
    color: colors.textSecondary
  },
  statusTextFlex: {
    flex: 1,
    minWidth: 0
  },
  paginationFooter: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'space-between',
    gap: spacing.sm,
    paddingHorizontal: spacing.lg,
    paddingTop: spacing.md,
    paddingBottom: spacing.sm
  },
  paginationButton: {
    width: 44,
    minHeight: 38,
    alignItems: 'center',
    justifyContent: 'center',
    borderWidth: 1,
    borderColor: colors.borderSubtle,
    borderRadius: radii.button,
    backgroundColor: colors.bgRaised,
    paddingVertical: spacing.sm
  },
  paginationButtonDisabled: {
    opacity: 0.45
  },
  paginationLabel: {
    color: colors.textSecondary,
    fontSize: 12,
    textAlign: 'center'
  },
  paginationLabelButton: {
    flex: 1,
    alignItems: 'center',
    borderRadius: radii.button,
    paddingHorizontal: spacing.xs,
    paddingVertical: spacing.sm
  }
}))