styles.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import { StyleSheet } from 'react-native';
  2. import { Colors } from '../../../theme';
  3. import { getFontSize } from '../../../utils';
  4. export const styles = StyleSheet.create({
  5. pageWrapper: {
  6. display: 'flex',
  7. flexDirection: 'row',
  8. gap: 20,
  9. marginTop: -34
  10. },
  11. headerText: {
  12. flex: 1,
  13. fontFamily: 'redhat-700',
  14. color: Colors.DARK_BLUE,
  15. fontSize: getFontSize(14)
  16. },
  17. usersMap: { height: 140, width: '100%', borderRadius: 12 },
  18. avatar: {
  19. borderRadius: 64 / 2,
  20. width: 64,
  21. height: 64,
  22. borderWidth: 2,
  23. borderColor: Colors.WHITE
  24. },
  25. userInfoContainer: {
  26. display: 'flex',
  27. justifyContent: 'space-between',
  28. flexDirection: 'row',
  29. alignItems: 'center'
  30. },
  31. userInfo: {
  32. display: 'flex',
  33. flexDirection: 'row',
  34. gap: 10,
  35. alignItems: 'center'
  36. },
  37. linksBox: {
  38. display: 'flex',
  39. flexDirection: 'row',
  40. gap: 15,
  41. alignItems: 'center',
  42. marginTop: 4
  43. },
  44. countryFlag: {
  45. width: 20,
  46. height: 20,
  47. borderRadius: 20 / 2,
  48. borderWidth: 0.5,
  49. borderColor: 'gray'
  50. },
  51. settingsButton: {
  52. width: 40,
  53. height: 40,
  54. borderRadius: 40 / 2,
  55. borderWidth: 1,
  56. borderColor: Colors.LIGHT_GRAY,
  57. display: 'flex',
  58. justifyContent: 'center',
  59. alignItems: 'center'
  60. },
  61. settings: {
  62. position: 'absolute',
  63. height: 40,
  64. width: 40,
  65. right: -10,
  66. bottom: -10,
  67. justifyContent: 'center'
  68. },
  69. badgeRoot: { flex: 0, justifyContent: 'flex-end', marginTop: 0 },
  70. ageText: { color: Colors.DARK_BLUE, fontWeight: '600', fontSize: getFontSize(12) }
  71. });