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.

5.1 KB
Raw Blame
import { StyleSheet } from 'react-native'
import { colors, radii, spacing, typography } from '../../theme/mobile-theme'
import { themedStyleSheet } from '../../theme/themed-styles'

export const prCommentsStyles = themedStyleSheet(() => ({
  noDescription: {
    color: colors.textSecondary,
    fontSize: typography.metaSize,
    fontStyle: 'italic'
  },
  countChip: {
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: colors.borderSubtle,
    backgroundColor: colors.bgRaised,
    borderRadius: 999,
    paddingHorizontal: spacing.sm,
    paddingVertical: 1
  },
  countChipText: {
    color: colors.textSecondary,
    fontSize: 11,
    fontWeight: '600'
  },
  audienceTabs: {
    flexDirection: 'row',
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: colors.borderSubtle,
    borderRadius: radii.row,
    backgroundColor: colors.bgBase,
    padding: 2,
    gap: 2
  },
  audienceTab: {
    flex: 1,
    minHeight: 32,
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'center',
    gap: spacing.xs,
    borderRadius: radii.row - 2
  },
  audienceTabActive: {
    backgroundColor: colors.bgRaised
  },
  audienceTabText: {
    color: colors.textSecondary,
    fontSize: typography.metaSize,
    fontWeight: '600'
  },
  audienceTabTextActive: {
    color: colors.textPrimary
  },
  list: {
    gap: spacing.sm
  },
  showMore: {
    minHeight: 40,
    alignItems: 'center',
    justifyContent: 'center',
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: colors.borderSubtle,
    borderRadius: radii.card,
    backgroundColor: colors.bgPanel
  },
  showMoreText: {
    color: colors.textSecondary,
    fontSize: typography.metaSize,
    fontWeight: '600'
  },
  group: {
    gap: spacing.sm
  },
  card: {
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: colors.borderSubtle,
    borderRadius: radii.card,
    backgroundColor: colors.bgPanel,
    overflow: 'hidden'
  },
  cardResolved: {
    opacity: 0.6
  },
  reply: {
    marginLeft: spacing.lg
  },
  header: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.sm,
    paddingHorizontal: spacing.md,
    paddingVertical: spacing.sm,
    borderBottomWidth: StyleSheet.hairlineWidth,
    borderBottomColor: colors.borderSubtle
  },
  avatar: {
    width: 20,
    height: 20,
    borderRadius: 10,
    backgroundColor: colors.bgRaised
  },
  author: {
    color: colors.textPrimary,
    fontSize: 13,
    fontWeight: '600',
    flexShrink: 1
  },
  authorResolved: {
    color: colors.textSecondary
  },
  time: {
    color: colors.textSecondary,
    fontSize: typography.metaSize
  },
  path: {
    color: colors.textMuted,
    fontSize: 11,
    fontFamily: typography.monoFamily,
    flexShrink: 1
  },
  resolvedChip: {
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: colors.borderSubtle,
    backgroundColor: colors.bgRaised,
    borderRadius: 999,
    paddingHorizontal: spacing.sm,
    paddingVertical: 1
  },
  resolvedChipText: {
    color: colors.textSecondary,
    fontSize: 11
  },
  openButton: {
    marginLeft: 'auto',
    width: 28,
    height: 28,
    alignItems: 'center',
    justifyContent: 'center'
  },
  body: {
    paddingHorizontal: spacing.md,
    paddingVertical: spacing.sm
  },
  reactionsRow: {
    flexDirection: 'row',
    flexWrap: 'wrap',
    gap: spacing.xs,
    marginTop: spacing.xs
  },
  reactionChip: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: 4,
    height: 24,
    paddingHorizontal: spacing.sm,
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: colors.borderSubtle,
    backgroundColor: colors.bgRaised,
    borderRadius: 999
  },
  reactionText: {
    color: colors.textPrimary,
    fontSize: typography.metaSize
  },
  resolvedHeader: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: spacing.sm,
    paddingHorizontal: spacing.md,
    paddingVertical: spacing.sm,
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: colors.borderSubtle,
    borderRadius: radii.card,
    backgroundColor: colors.bgPanel
  },
  resolvedHeaderText: {
    color: colors.textSecondary,
    fontSize: 13,
    flexShrink: 1
  },
  empty: {
    borderWidth: StyleSheet.hairlineWidth,
    borderStyle: 'dashed',
    borderColor: colors.borderSubtle,
    borderRadius: radii.card,
    paddingHorizontal: spacing.md,
    paddingVertical: spacing.xl,
    color: colors.textSecondary,
    fontSize: 13
  },
  actionsRow: {
    flexDirection: 'row',
    gap: spacing.sm,
    paddingHorizontal: spacing.md,
    paddingBottom: spacing.sm,
    paddingTop: spacing.xs
  },
  actionButton: {
    flexDirection: 'row',
    alignItems: 'center',
    gap: 4,
    minHeight: 28,
    paddingHorizontal: spacing.sm,
    borderRadius: radii.button,
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: colors.borderSubtle,
    backgroundColor: colors.bgRaised
  },
  actionButtonPressed: {
    opacity: 0.7
  },
  actionButtonText: {
    color: colors.textSecondary,
    fontSize: typography.metaSize,
    fontWeight: '600'
  },
  composer: {
    paddingHorizontal: spacing.md,
    paddingBottom: spacing.md
  },
  rootComposer: {
    gap: spacing.sm
  },
  actionError: {
    color: colors.statusRed,
    fontSize: typography.metaSize
  }
}))