styles.tsx 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. import { StyleSheet } from 'react-native';
  2. import { Colors } from 'src/theme';
  3. import { getFontSize } from 'src/utils';
  4. export const styles = StyleSheet.create({
  5. container: {
  6. flex: 1
  7. },
  8. wrapper: {
  9. marginLeft: '5%',
  10. marginRight: '5%',
  11. alignItems: 'center'
  12. },
  13. map: {
  14. ...StyleSheet.absoluteFillObject
  15. },
  16. searchContainer: {
  17. gap: 16,
  18. flexDirection: 'row',
  19. alignItems: 'center',
  20. marginBottom: 8
  21. },
  22. regionSelector: {
  23. flexDirection: 'row',
  24. alignItems: 'center',
  25. paddingHorizontal: 16,
  26. borderRadius: 4,
  27. height: 36,
  28. backgroundColor: 'rgba(250, 250, 250, 1)',
  29. justifyContent: 'flex-start',
  30. gap: 10,
  31. flex: 1
  32. },
  33. regionText: {
  34. fontSize: 15,
  35. fontWeight: '500',
  36. color: Colors.LIGHT_GRAY
  37. },
  38. saveBtn: {
  39. borderRadius: 20,
  40. paddingVertical: 10,
  41. paddingHorizontal: 16,
  42. borderWidth: 1
  43. },
  44. saveBtnActive: {
  45. borderColor: Colors.ORANGE,
  46. backgroundColor: Colors.ORANGE
  47. },
  48. saveBtnDisabled: {
  49. borderColor: Colors.LIGHT_GRAY
  50. },
  51. popupWrapper: {
  52. marginHorizontal: 24,
  53. position: 'absolute',
  54. bottom: 25,
  55. left: 0,
  56. right: 0
  57. },
  58. popupContainer: {
  59. alignItems: 'center',
  60. justifyContent: 'center',
  61. alignSelf: 'center',
  62. paddingVertical: 8,
  63. paddingHorizontal: 16,
  64. backgroundColor: 'rgba(33, 37, 41, 0.8)',
  65. borderRadius: 100
  66. },
  67. popupText: {
  68. color: Colors.WHITE,
  69. fontSize: getFontSize(12),
  70. fontWeight: '600'
  71. }
  72. });