import {StyleSheet} from 'react-native';
import {CHATS_SPACING} from '@modules/chats/utils';
import {SPACING} from '@shared/theme';

export const styles = StyleSheet.create({
  list: {flex: 1},
  contentContainer: {
    paddingBottom: SPACING.x2,
    paddingTop: 0,
  },
  fullContentCentered: {
    alignItems: 'center',
    flex: 1,
    justifyContent: 'center',
  },
  sectionHeader: {
    alignItems: 'center',
    overflow: 'hidden',
  },
  nextPageLoader: {
    alignItems: 'center',
    justifyContent: 'center',
  },
  contextMenu: {
    alignItems: 'center',
    flex: 1,
    justifyContent: 'center',
  },
  scrollIndicator: {
    ...StyleSheet.absoluteFillObject,
    opacity: 0.5,
    padding: SPACING.x3,
  },
  listVerticalPadding: {height: CHATS_SPACING.scrollPadding},
  scrollToBottomButton: {
    bottom: 40,
    position: 'absolute',
    right: 10,
  },
  errorStateCard: {borderWidth: 0},
});
