You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.ts 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. import { BoxModel } from '../../../../base/styles/components/styles/BoxModel';
  2. import BaseTheme from '../../../../base/ui/components/BaseTheme.native';
  3. export const AVATAR_SIZE = 40;
  4. export const DARK_GREY = 'rgb(28, 32, 37)';
  5. export const LIGHT_GREY = 'rgb(209, 219, 232)';
  6. export default {
  7. addPeopleContainer: {
  8. backgroundColor: BaseTheme.palette.ui01,
  9. flex: 1
  10. },
  11. avatar: {
  12. backgroundColor: LIGHT_GREY
  13. },
  14. customContainer: {
  15. marginHorizontal: BaseTheme.spacing[3],
  16. marginVertical: BaseTheme.spacing[2]
  17. },
  18. avatarText: {
  19. color: DARK_GREY,
  20. fontSize: 12
  21. },
  22. bottomBar: {
  23. alignItems: 'center',
  24. justifyContent: 'center',
  25. backgroundColor: BaseTheme.palette.ui01,
  26. height: BaseTheme.spacing[10]
  27. },
  28. clearButton: {
  29. paddingTop: 7
  30. },
  31. clearIcon: {
  32. color: BaseTheme.palette.ui02,
  33. fontSize: 18,
  34. textAlign: 'center'
  35. },
  36. /**
  37. * A special padding to avoid issues on some devices (such as Android devices with custom suggestions bar).
  38. */
  39. extraBarPadding: {
  40. paddingBottom: 30
  41. },
  42. headerCloseIcon: {
  43. marginLeft: 12
  44. },
  45. headerSendInvite: {
  46. color: BaseTheme.palette.text01,
  47. marginRight: 12
  48. },
  49. invitedList: {
  50. padding: 3
  51. },
  52. itemLinesStyle: {
  53. color: 'rgb(118, 136, 152)',
  54. fontSize: 13
  55. },
  56. itemText: {
  57. color: BaseTheme.palette.text01,
  58. fontSize: 14,
  59. fontWeight: 'normal'
  60. },
  61. itemWrapper: {
  62. alignItems: 'center',
  63. flexDirection: 'row',
  64. paddingLeft: 5
  65. },
  66. resultList: {
  67. flex: 1,
  68. padding: 5
  69. },
  70. selectedIcon: {
  71. color: BaseTheme.palette.icon01,
  72. fontSize: 20,
  73. marginRight: BoxModel.margin,
  74. padding: 2
  75. },
  76. separator: {
  77. borderBottomColor: BaseTheme.palette.ui07,
  78. borderBottomWidth: 1,
  79. marginLeft: 85
  80. },
  81. searchIcon: {
  82. color: BaseTheme.palette.icon01,
  83. fontSize: 22
  84. },
  85. shareIcon: {
  86. fontSize: 42
  87. },
  88. unselectIcon: {
  89. color: BaseTheme.palette.ui01,
  90. fontSize: 16,
  91. left: AVATAR_SIZE / -3,
  92. position: 'relative',
  93. top: AVATAR_SIZE / -3
  94. },
  95. sendBtn: {
  96. marginRight: BaseTheme.spacing[2]
  97. }
  98. };