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

styles.js 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. // @flow
  2. import { ColorPalette } from '../../../base/styles';
  3. const SECONDARY_COLOR = '#B8C7E0';
  4. export const ENABLED_THUMB_COLOR = ColorPalette.blueHighlight;
  5. export const ENABLED_TRACK_COLOR = ColorPalette.blue;
  6. export const DISABLED_THUMB_COLOR = ColorPalette.darkGrey;
  7. export default {
  8. button: {
  9. alignItems: 'center',
  10. borderRadius: 4,
  11. marginVertical: 8,
  12. paddingVertical: 10
  13. },
  14. contentWrapper: {
  15. alignItems: 'center',
  16. flexDirection: 'column',
  17. padding: 32
  18. },
  19. dialogTitle: {
  20. fontSize: 18,
  21. fontWeight: 'bold',
  22. marginBottom: 10
  23. },
  24. displayNameText: {
  25. fontWeight: 'bold',
  26. marginVertical: 10
  27. },
  28. editButton: {
  29. alignSelf: 'flex-end',
  30. paddingHorizontal: 10
  31. },
  32. editIcon: {
  33. color: 'black',
  34. fontSize: 16
  35. },
  36. field: {
  37. borderColor: SECONDARY_COLOR,
  38. borderRadius: 4,
  39. borderWidth: 1,
  40. marginVertical: 8,
  41. padding: 8
  42. },
  43. fieldError: {
  44. color: ColorPalette.warning,
  45. fontSize: 10
  46. },
  47. fieldRow: {
  48. paddingTop: 16
  49. },
  50. fieldLabel: {
  51. textAlign: 'center'
  52. },
  53. formWrapper: {
  54. alignItems: 'stretch',
  55. alignSelf: 'stretch',
  56. paddingVertical: 16
  57. },
  58. joiningMessage: {
  59. textAlign: 'center'
  60. },
  61. loadingIndicator: {
  62. marginVertical: 36
  63. },
  64. participantBox: {
  65. alignItems: 'center',
  66. alignSelf: 'stretch',
  67. borderColor: SECONDARY_COLOR,
  68. borderRadius: 4,
  69. borderWidth: 1,
  70. marginVertical: 18,
  71. paddingVertical: 12
  72. },
  73. primaryButton: {
  74. alignSelf: 'stretch',
  75. backgroundColor: 'rgb(3, 118, 218)'
  76. },
  77. primaryButtonText: {
  78. color: 'white'
  79. },
  80. secondaryButton: {
  81. alignSelf: 'stretch',
  82. backgroundColor: 'transparent'
  83. },
  84. secondaryText: {
  85. color: 'rgba(0, 0, 0, .7)'
  86. },
  87. // KnockingParticipantList
  88. knockingParticipantList: {
  89. alignSelf: 'stretch',
  90. backgroundColor: 'rgba(22, 38, 55, 0.8)',
  91. flexDirection: 'column'
  92. },
  93. knockingParticipantListButton: {
  94. borderRadius: 4,
  95. marginHorizontal: 3,
  96. paddingHorizontal: 10,
  97. paddingVertical: 5
  98. },
  99. knockingParticipantListDetails: {
  100. flex: 1,
  101. marginLeft: 10
  102. },
  103. knockingParticipantListEntry: {
  104. alignItems: 'center',
  105. flexDirection: 'row',
  106. padding: 10
  107. },
  108. knockingParticipantListPrimaryButton: {
  109. backgroundColor: 'rgb(3, 118, 218)'
  110. },
  111. knockingParticipantListSecondaryButton: {
  112. backgroundColor: 'transparent'
  113. },
  114. knockingParticipantListText: {
  115. color: 'white'
  116. },
  117. lobbySwitchContainer: {
  118. flexDirection: 'column',
  119. marginTop: 16
  120. },
  121. lobbySwitchIcon: {
  122. alignSelf: 'flex-end'
  123. }
  124. };