styles.tsx 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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' ? -34 : -4
  43. },
  44. calloutImage: {
  45. width: 32,
  46. height: 32
  47. },
  48. calloutTextContainer: {
  49. flex: 1,
  50. gap: 4,
  51. alignItems: 'center',
  52. marginVertical: 10
  53. },
  54. seriesName: {
  55. fontSize: 13,
  56. fontWeight: 'bold',
  57. color: Colors.DARK_BLUE,
  58. textAlign: 'center'
  59. },
  60. markerName: {
  61. fontSize: 12,
  62. color: Colors.DARK_BLUE,
  63. textAlign: 'center'
  64. },
  65. calloutButton: {
  66. paddingHorizontal: 12,
  67. paddingVertical: 6,
  68. backgroundColor: Colors.ORANGE,
  69. borderRadius: 6,
  70. height: 30,
  71. alignItems: 'center',
  72. justifyContent: 'center'
  73. },
  74. calloutButtonText: {
  75. color: 'white',
  76. fontSize: 12,
  77. fontWeight: 'bold'
  78. },
  79. completedContainer: { flexDirection: 'row', alignItems: 'center', gap: 6 },
  80. customCallout: {
  81. width: 200,
  82. backgroundColor: Colors.WHITE,
  83. shadowColor: '#212529',
  84. shadowOffset: { width: 0, height: 4 },
  85. shadowOpacity: 0.12,
  86. shadowRadius: 8,
  87. elevation: 5
  88. }
  89. });