styles.tsx 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. import { StyleSheet, Platform } from 'react-native';
  2. import { Colors } from '../../../../theme';
  3. export const styles = StyleSheet.create({
  4. markerContainer: {
  5. width: 30,
  6. height: 30,
  7. justifyContent: 'center',
  8. alignItems: 'center',
  9. backgroundColor: Colors.WHITE,
  10. borderRadius: 15,
  11. borderWidth: 2,
  12. borderColor: Colors.TEXT_GRAY
  13. },
  14. icon: {
  15. width: 20,
  16. height: 20
  17. },
  18. customView: {
  19. width: 200,
  20. backgroundColor: 'white',
  21. borderRadius: 8,
  22. shadowColor: '#212529',
  23. shadowOffset: { width: 0, height: 4 },
  24. shadowOpacity: 0.12,
  25. shadowRadius: 8,
  26. elevation: 5
  27. },
  28. calloutContainer: {
  29. alignItems: 'center',
  30. paddingVertical: 15,
  31. paddingHorizontal: 10
  32. },
  33. calloutImageContainer: {
  34. width: 38,
  35. height: 38,
  36. justifyContent: 'center',
  37. alignItems: 'center',
  38. backgroundColor: Colors.WHITE,
  39. borderRadius: 19,
  40. borderWidth: 2,
  41. borderColor: Colors.TEXT_GRAY,
  42. marginTop: Platform.OS === 'ios' ? -43 : -4
  43. },
  44. calloutImage: {
  45. width: 32,
  46. height: 32
  47. },
  48. userImage: {
  49. width: 38,
  50. height: 38,
  51. borderRadius: 19,
  52. borderWidth: 2,
  53. borderColor: Colors.WHITE
  54. },
  55. flag: {
  56. width: 20,
  57. height: 20,
  58. borderRadius: 10,
  59. borderWidth: 1,
  60. borderColor: Colors.FILL_LIGHT
  61. },
  62. calloutTextContainer: {
  63. flex: 1,
  64. gap: 4,
  65. alignItems: 'center',
  66. marginVertical: 10
  67. },
  68. seriesName: {
  69. fontSize: 13,
  70. fontWeight: 'bold',
  71. color: Colors.DARK_BLUE,
  72. textAlign: 'center'
  73. },
  74. markerName: {
  75. fontSize: 12,
  76. color: Colors.DARK_BLUE,
  77. textAlign: 'center'
  78. },
  79. calloutButton: {
  80. paddingHorizontal: 12,
  81. paddingVertical: 6,
  82. backgroundColor: Colors.ORANGE,
  83. borderRadius: 6,
  84. height: 30,
  85. alignItems: 'center',
  86. justifyContent: 'center'
  87. },
  88. calloutButtonText: {
  89. color: 'white',
  90. fontSize: 12,
  91. fontWeight: 'bold'
  92. },
  93. completedContainer: { flexDirection: 'row', alignItems: 'center', gap: 6 },
  94. customCallout: {
  95. width: 200,
  96. backgroundColor: Colors.WHITE,
  97. shadowColor: '#212529',
  98. shadowOffset: { width: 0, height: 4 },
  99. shadowOpacity: 0.12,
  100. shadowRadius: 8,
  101. elevation: 5
  102. }
  103. });