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 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. import { ColorPalette, createStyleSheet } from '../../base/styles';
  2. /**
  3. * Welcome page container style.
  4. */
  5. const container = {
  6. alignSelf: 'stretch',
  7. backgroundColor: ColorPalette.jitsiBlue,
  8. bottom: 0,
  9. flex: 1,
  10. flexDirection: 'column',
  11. justifyContent: 'center',
  12. left: 0,
  13. position: 'absolute',
  14. right: 0,
  15. top: 0
  16. };
  17. /**
  18. * The welcome page style.
  19. * TODO: Make styles more generic and reusable. Use color palette for all
  20. * colors.
  21. */
  22. export const styles = createStyleSheet({
  23. /**
  24. * Join button text style.
  25. */
  26. button: {
  27. backgroundColor: 'white',
  28. borderColor: 'white',
  29. borderRadius: 8,
  30. borderWidth: 1,
  31. height: 45,
  32. justifyContent: 'center',
  33. marginBottom: 10,
  34. marginTop: 10
  35. },
  36. /**
  37. * Join button text style.
  38. */
  39. buttonText: {
  40. alignSelf: 'center',
  41. color: '#00ccff',
  42. fontSize: 18
  43. },
  44. /**
  45. * Welcome page container style.
  46. */
  47. container,
  48. /**
  49. * Container for room name input box and 'join' button.
  50. */
  51. roomContainer: {
  52. ...container,
  53. backgroundColor: 'transparent',
  54. padding: 30
  55. },
  56. /**
  57. * Navigator container style.
  58. */
  59. navContainer: {
  60. backgroundColor: '#111111',
  61. flex: 1
  62. },
  63. /**
  64. * Room input style.
  65. */
  66. textInput: {
  67. backgroundColor: 'transparent',
  68. borderColor: 'white',
  69. borderRadius: 8,
  70. borderStyle: 'solid',
  71. borderWidth: 1,
  72. color: 'white',
  73. fontSize: 23,
  74. height: 50,
  75. padding: 4,
  76. textAlign: 'center'
  77. },
  78. /**
  79. * Application title style.
  80. */
  81. title: {
  82. color: '#fff',
  83. fontSize: 25,
  84. marginBottom: 20,
  85. textAlign: 'center'
  86. }
  87. });