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.js 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. // @flow
  2. import { 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: 'rgb(28, 32, 37)',
  14. fontSize: 12
  15. },
  16. avoidingView: {
  17. flex: 1
  18. },
  19. clearButton: {
  20. alignItems: 'center',
  21. justifyContent: 'center',
  22. marginLeft: 5
  23. },
  24. clearIcon: {
  25. color: DARK_GREY,
  26. fontSize: 18,
  27. textAlign: 'center'
  28. },
  29. clearIconContainer: {
  30. alignItems: 'center',
  31. backgroundColor: FIELD_COLOR,
  32. borderRadius: 12,
  33. justifyContent: 'center',
  34. height: 24,
  35. width: 24
  36. },
  37. dialogWrapper: {
  38. alignItems: 'stretch',
  39. backgroundColor: ColorPalette.white,
  40. flex: 1,
  41. flexDirection: 'column'
  42. },
  43. itemLinesStyle: {
  44. color: 'rgb(118, 136, 152)',
  45. fontSize: 13
  46. },
  47. itemText: {
  48. color: DARK_GREY,
  49. fontSize: 14,
  50. fontWeight: 'normal'
  51. },
  52. itemWrapper: {
  53. alignItems: 'center',
  54. flexDirection: 'row',
  55. paddingLeft: 5
  56. },
  57. radioButton: {
  58. color: DARK_GREY,
  59. fontSize: 16,
  60. padding: 2
  61. },
  62. resultList: {
  63. padding: 5
  64. },
  65. searchField: {
  66. backgroundColor: FIELD_COLOR,
  67. borderBottomRightRadius: 10,
  68. borderTopRightRadius: 10,
  69. color: DARK_GREY,
  70. flex: 1,
  71. fontSize: 17,
  72. paddingVertical: 7
  73. },
  74. separator: {
  75. borderBottomColor: LIGHT_GREY,
  76. borderBottomWidth: 1,
  77. marginLeft: 85
  78. },
  79. searchFieldWrapper: {
  80. alignItems: 'stretch',
  81. flexDirection: 'row',
  82. height: 52,
  83. paddingHorizontal: 15,
  84. paddingVertical: 8
  85. },
  86. searchIcon: {
  87. color: DARK_GREY,
  88. fontSize: ICON_SIZE
  89. },
  90. searchIconWrapper: {
  91. alignItems: 'center',
  92. backgroundColor: FIELD_COLOR,
  93. borderBottomLeftRadius: 10,
  94. borderTopLeftRadius: 10,
  95. flexDirection: 'row',
  96. justifyContent: 'center',
  97. width: ICON_SIZE + 16
  98. }
  99. };