styles.tsx 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. import { StyleSheet } from 'react-native';
  2. import { Colors } from '../../theme';
  3. export const styles = StyleSheet.create({
  4. centeredView: {
  5. flex: 1,
  6. justifyContent: "center",
  7. alignItems: "center",
  8. backgroundColor: 'rgba(0,0,0,0.5)',
  9. },
  10. modalView: {
  11. margin: 16,
  12. backgroundColor: "white",
  13. borderRadius: 15,
  14. paddingHorizontal: 20,
  15. paddingVertical: 40,
  16. gap: 10,
  17. shadow: {
  18. shadowColor: "#000000",
  19. shadowOffset: {
  20. width: 0,
  21. height: 10,
  22. },
  23. shadowOpacity: 0.18,
  24. shadowRadius: 46,
  25. elevation: 12,
  26. },
  27. },
  28. closeButton: {
  29. position: 'absolute',
  30. top: 5,
  31. right: 5,
  32. padding: 10,
  33. },
  34. okButton: {
  35. backgroundColor: Colors.ORANGE,
  36. borderRadius: 20,
  37. padding: 10,
  38. elevation: 2,
  39. marginTop: 15,
  40. },
  41. okButtonText: {
  42. color: "white",
  43. fontWeight: "bold",
  44. textAlign: "center"
  45. },
  46. modalText: {
  47. marginBottom: 15,
  48. color: '#3E6471',
  49. fontSize: 14,
  50. },
  51. modalTitle: {
  52. color: '#0F3F4F',
  53. fontSize: 18,
  54. fontWeight: 'bold',
  55. textAlign: "center",
  56. }
  57. });