Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

styles.js 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. // @flow
  2. import { BoxModel } from '../../../../base/styles';
  3. import BaseTheme from '../../../../base/ui/components/BaseTheme.native';
  4. export const AVATAR_SIZE = 40;
  5. export const DARK_GREY = 'rgb(28, 32, 37)';
  6. export const LIGHT_GREY = 'rgb(209, 219, 232)';
  7. export const ICON_SIZE = 15;
  8. export default {
  9. addPeopleContainer: {
  10. flex: 1
  11. },
  12. avatar: {
  13. backgroundColor: LIGHT_GREY
  14. },
  15. avatarText: {
  16. color: DARK_GREY,
  17. fontSize: 12
  18. },
  19. bottomBar: {
  20. alignItems: 'center',
  21. justifyContent: 'center',
  22. backgroundColor: BaseTheme.palette.screen01Header,
  23. height: BaseTheme.spacing[10]
  24. },
  25. clearButton: {
  26. alignItems: 'center',
  27. justifyContent: 'center',
  28. marginLeft: 5
  29. },
  30. clearIcon: {
  31. color: DARK_GREY,
  32. fontSize: 18,
  33. textAlign: 'center'
  34. },
  35. clearIconContainer: {
  36. alignItems: 'center',
  37. backgroundColor: BaseTheme.palette.section01,
  38. borderRadius: 12,
  39. justifyContent: 'center',
  40. height: 24,
  41. width: 24
  42. },
  43. /**
  44. * A special padding to avoid issues on some devices (such as Android devices with custom suggestions bar).
  45. */
  46. extraBarPadding: {
  47. paddingBottom: 30
  48. },
  49. headerCloseIcon: {
  50. marginLeft: 12
  51. },
  52. headerSendInvite: {
  53. color: BaseTheme.palette.text01,
  54. marginRight: 12
  55. },
  56. invitedList: {
  57. padding: 3
  58. },
  59. itemLinesStyle: {
  60. color: 'rgb(118, 136, 152)',
  61. fontSize: 13
  62. },
  63. itemText: {
  64. color: DARK_GREY,
  65. fontSize: 14,
  66. fontWeight: 'normal'
  67. },
  68. itemWrapper: {
  69. alignItems: 'center',
  70. flexDirection: 'row',
  71. paddingLeft: 5
  72. },
  73. resultList: {
  74. flex: 1,
  75. padding: 5
  76. },
  77. searchField: {
  78. backgroundColor: BaseTheme.palette.section01,
  79. borderBottomRightRadius: 10,
  80. borderTopRightRadius: 10,
  81. color: DARK_GREY,
  82. flex: 1,
  83. fontSize: 17,
  84. paddingVertical: 7
  85. },
  86. selectedIcon: {
  87. color: DARK_GREY,
  88. fontSize: 20,
  89. marginRight: BoxModel.margin,
  90. padding: 2
  91. },
  92. separator: {
  93. borderBottomColor: LIGHT_GREY,
  94. borderBottomWidth: 1,
  95. marginLeft: 85
  96. },
  97. searchFieldWrapper: {
  98. alignItems: 'stretch',
  99. flexDirection: 'row',
  100. height: 52,
  101. paddingHorizontal: 12,
  102. paddingVertical: 8
  103. },
  104. searchIcon: {
  105. color: DARK_GREY,
  106. fontSize: ICON_SIZE
  107. },
  108. searchIconWrapper: {
  109. alignItems: 'center',
  110. backgroundColor: BaseTheme.palette.section01,
  111. borderBottomLeftRadius: 10,
  112. borderTopLeftRadius: 10,
  113. flexDirection: 'row',
  114. justifyContent: 'center',
  115. width: ICON_SIZE + 16
  116. },
  117. shareIcon: {
  118. fontSize: 42
  119. },
  120. unselectIcon: {
  121. color: LIGHT_GREY,
  122. fontSize: 16,
  123. left: AVATAR_SIZE / -3,
  124. position: 'relative',
  125. top: AVATAR_SIZE / -3
  126. }
  127. };