styles.tsx 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. import { StyleSheet } from 'react-native';
  2. import { Colors } from 'src/theme';
  3. import { getFontSize } from 'src/utils';
  4. export const styles = StyleSheet.create({
  5. wrapper: {
  6. paddingTop: 16,
  7. marginTop: 4,
  8. gap: 20,
  9. paddingBottom: 32
  10. },
  11. scoreContainer: {
  12. flexDirection: 'row',
  13. flexWrap: 'wrap',
  14. justifyContent: 'space-between'
  15. },
  16. headerText: {
  17. flex: 1,
  18. fontFamily: 'redhat-700',
  19. color: Colors.DARK_BLUE,
  20. fontSize: getFontSize(14)
  21. },
  22. modal: {
  23. justifyContent: 'flex-end',
  24. margin: 0
  25. },
  26. updatesTextCount: {
  27. fontSize: 12,
  28. fontWeight: '700',
  29. color: Colors.DARK_BLUE
  30. },
  31. updatesText: {
  32. fontSize: 12,
  33. fontWeight: '600',
  34. color: Colors.DARK_BLUE
  35. },
  36. titleText: {
  37. flex: 1,
  38. color: Colors.DARK_BLUE,
  39. fontWeight: '600',
  40. fontSize: getFontSize(12)
  41. },
  42. rankingItem: {
  43. width: '18%',
  44. margin: '1%',
  45. display: 'flex',
  46. flexDirection: 'column',
  47. alignItems: 'center',
  48. backgroundColor: Colors.FILL_LIGHT,
  49. borderRadius: 4,
  50. padding: 4,
  51. gap: 1
  52. },
  53. rankingScore: {
  54. flex: 0,
  55. fontFamily: 'montserrat-700',
  56. color: Colors.DARK_BLUE,
  57. fontSize: getFontSize(14)
  58. },
  59. avatar: {
  60. borderRadius: 28 / 2,
  61. width: 28,
  62. height: 28,
  63. borderWidth: 1,
  64. borderColor: Colors.DARK_LIGHT
  65. },
  66. userShowMore: {
  67. backgroundColor: Colors.FILL_LIGHT,
  68. flexDirection: 'row',
  69. alignItems: 'center',
  70. justifyContent: 'center',
  71. gap: 2
  72. },
  73. dots: {
  74. width: 3,
  75. height: 3,
  76. borderRadius: 3 / 2,
  77. backgroundColor: Colors.DARK_BLUE
  78. },
  79. updates: {
  80. flexDirection: 'row',
  81. alignItems: 'center',
  82. gap: 6,
  83. width: '50%',
  84. padding: 4
  85. },
  86. series: {
  87. display: 'flex',
  88. flexDirection: 'column',
  89. gap: 5,
  90. alignItems: 'center'
  91. }
  92. });