styles.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. alignItems: 'center',
  9. marginTop: 20,
  10. gap: 20
  11. },
  12. headerText: {
  13. flex: 1,
  14. fontFamily: 'redhat-700',
  15. color: Colors.DARK_BLUE,
  16. fontSize: getFontSize(14)
  17. },
  18. rankingItem: {
  19. width: '23%',
  20. margin: '1%',
  21. display: 'flex',
  22. flexDirection: 'column',
  23. alignItems: 'center'
  24. },
  25. rankingScore: {
  26. flex: 0,
  27. fontFamily: 'montserrat-700',
  28. color: Colors.DARK_BLUE,
  29. fontSize: getFontSize(14),
  30. },
  31. titleText: {
  32. flex: 1,
  33. color: Colors.DARK_BLUE,
  34. fontWeight: '600',
  35. fontSize: getFontSize(12)
  36. },
  37. linksBox: {
  38. display: 'flex',
  39. flexDirection: 'row',
  40. gap: 15,
  41. alignItems: 'center',
  42. paddingBottom: 16
  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. });