import { StyleSheet } from 'react-native';
import { useTheme } from 'react-native-paper';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
export const useStyles = ({
  dark
} = {}) => {
  const theme = useTheme();
  const {
    bottom
  } = useSafeAreaInsets();
  const styles = StyleSheet.create({
    container: {
      backgroundColor: dark ? '#191919' : theme.colors.background,
      paddingBottom: bottom
    }
  });
  return {
    theme,
    styles
  };
};
//# sourceMappingURL=styles.js.map