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

styles.js 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. // @flow
  2. import { BoxModel, ColorPalette } 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. avoidingView: {
  17. flex: 1
  18. },
  19. bottomBar: {
  20. alignItems: 'center',
  21. flexDirection: 'row',
  22. justifyContent: 'space-around'
  23. },
  24. clearButton: {
  25. alignItems: 'center',
  26. justifyContent: 'center',
  27. marginLeft: 5
  28. },
  29. clearIcon: {
  30. color: DARK_GREY,
  31. fontSize: 18,
  32. textAlign: 'center'
  33. },
  34. clearIconContainer: {
  35. alignItems: 'center',
  36. backgroundColor: FIELD_COLOR,
  37. borderRadius: 12,
  38. justifyContent: 'center',
  39. height: 24,
  40. width: 24
  41. },
  42. dialogWrapper: {
  43. alignItems: 'stretch',
  44. backgroundColor: ColorPalette.white,
  45. flex: 1,
  46. flexDirection: 'column',
  47. justifyContent: 'flex-start'
  48. },
  49. invitedList: {
  50. padding: 3
  51. },
  52. itemLinesStyle: {
  53. color: 'rgb(118, 136, 152)',
  54. fontSize: 13
  55. },
  56. itemText: {
  57. color: DARK_GREY,
  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. searchField: {
  71. backgroundColor: FIELD_COLOR,
  72. borderBottomRightRadius: 10,
  73. borderTopRightRadius: 10,
  74. color: DARK_GREY,
  75. flex: 1,
  76. fontSize: 17,
  77. paddingVertical: 7
  78. },
  79. selectedIcon: {
  80. color: DARK_GREY,
  81. fontSize: 20,
  82. marginRight: BoxModel.margin,
  83. padding: 2
  84. },
  85. separator: {
  86. borderBottomColor: LIGHT_GREY,
  87. borderBottomWidth: 1,
  88. marginLeft: 85
  89. },
  90. searchFieldWrapper: {
  91. alignItems: 'stretch',
  92. flexDirection: 'row',
  93. height: 52,
  94. paddingHorizontal: 15,
  95. paddingVertical: 8
  96. },
  97. searchIcon: {
  98. color: DARK_GREY,
  99. fontSize: ICON_SIZE
  100. },
  101. searchIconWrapper: {
  102. alignItems: 'center',
  103. backgroundColor: FIELD_COLOR,
  104. borderBottomLeftRadius: 10,
  105. borderTopLeftRadius: 10,
  106. flexDirection: 'row',
  107. justifyContent: 'center',
  108. width: ICON_SIZE + 16
  109. },
  110. shareIcon: {
  111. fontSize: 42
  112. },
  113. unselectIcon: {
  114. color: LIGHT_GREY,
  115. fontSize: 16,
  116. left: AVATAR_SIZE / -3,
  117. position: 'relative',
  118. top: AVATAR_SIZE / -3
  119. }
  120. };