styles.tsx 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. import { StyleSheet } from 'react-native';
  2. import { Colors } from 'src/theme';
  3. export const styles = StyleSheet.create({
  4. alignCenter: { alignItems: 'center', justifyContent: 'center', textAlign: 'center' },
  5. tripItemContainer: {
  6. paddingHorizontal: 16,
  7. paddingTop: 16,
  8. paddingBottom: 4,
  9. marginVertical: 8,
  10. backgroundColor: Colors.FILL_LIGHT,
  11. borderRadius: 8
  12. },
  13. tripHeaderContainer: {
  14. flexDirection: 'row',
  15. justifyContent: 'space-between',
  16. alignItems: 'center',
  17. marginBottom: 16
  18. },
  19. tripDateContainer: {
  20. flexDirection: 'row',
  21. gap: 4,
  22. alignItems: 'center'
  23. },
  24. tripDateText: {
  25. fontSize: 14,
  26. fontWeight: 'bold',
  27. color: Colors.DARK_BLUE
  28. },
  29. editButton: {
  30. flexDirection: 'row',
  31. alignItems: 'center',
  32. borderRadius: 6,
  33. paddingVertical: 8,
  34. paddingHorizontal: 12,
  35. borderWidth: 1,
  36. borderColor: Colors.BORDER_LIGHT,
  37. gap: 6
  38. },
  39. editButtonText: {
  40. fontSize: 13,
  41. color: Colors.DARK_BLUE,
  42. fontWeight: 'bold'
  43. },
  44. divider: {
  45. height: 1,
  46. backgroundColor: Colors.DARK_LIGHT,
  47. marginBottom: 16
  48. },
  49. descriptionTitle: {
  50. fontSize: 12,
  51. fontWeight: '600',
  52. color: Colors.DARK_BLUE,
  53. marginBottom: 8
  54. },
  55. descriptionText: {
  56. fontSize: 12,
  57. fontWeight: '500',
  58. color: Colors.DARK_BLUE,
  59. paddingHorizontal: 8,
  60. marginBottom: 16
  61. },
  62. visitedRegionsTitle: {
  63. fontSize: 12,
  64. fontWeight: '600',
  65. color: Colors.DARK_BLUE,
  66. marginBottom: 8
  67. },
  68. regionsScrollView: {
  69. maxHeight: 200,
  70. paddingHorizontal: 8
  71. },
  72. regionItem: {
  73. flexDirection: 'row',
  74. alignItems: 'center',
  75. marginBottom: 12
  76. },
  77. flagIcon: {
  78. width: 24,
  79. height: 24,
  80. resizeMode: 'cover',
  81. borderWidth: 0.5,
  82. borderRadius: 12,
  83. borderColor: '#B4C2C7'
  84. },
  85. nameContainer: {
  86. marginLeft: 12,
  87. flexShrink: 1
  88. },
  89. regionName: {
  90. fontSize: 14,
  91. fontWeight: 'bold',
  92. color: Colors.DARK_BLUE
  93. },
  94. regionSubname: {
  95. fontSize: 12,
  96. fontWeight: '500',
  97. color: Colors.DARK_BLUE
  98. }
  99. });