您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

styles.js 2.7KB

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