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.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. import BaseTheme from '../../base/ui/components/BaseTheme.native';
  2. const SECONDARY_COLOR = BaseTheme.palette.border04;
  3. const btn = {
  4. marginTop: BaseTheme.spacing[4]
  5. };
  6. const btnText = {
  7. ...BaseTheme.typography.labelButtonLarge,
  8. color: BaseTheme.palette.text01,
  9. lineHeight: 30
  10. };
  11. export default {
  12. button: {
  13. alignItems: 'center',
  14. borderRadius: BaseTheme.shape.borderRadius,
  15. padding: BaseTheme.spacing[2],
  16. height: BaseTheme.spacing[7]
  17. },
  18. primaryButton: {
  19. ...btn,
  20. backgroundColor: BaseTheme.palette.action01
  21. },
  22. primaryButtonText: {
  23. ...btnText
  24. },
  25. secondaryButton: {
  26. ...btn,
  27. backgroundColor: BaseTheme.palette.action02
  28. },
  29. secondaryButtonText: {
  30. ...btnText
  31. },
  32. buttonStylesBorderless: {
  33. iconStyle: {
  34. color: BaseTheme.palette.icon01,
  35. fontSize: 24
  36. },
  37. style: {
  38. flexDirection: 'row',
  39. justifyContent: 'center',
  40. marginHorizontal: BaseTheme.spacing[3],
  41. height: 24,
  42. width: 24
  43. }
  44. },
  45. contentWrapper: {
  46. flex: 1
  47. },
  48. contentWrapperWide: {
  49. flex: 1,
  50. flexDirection: 'row'
  51. },
  52. largeVideoContainer: {
  53. minHeight: '50%'
  54. },
  55. largeVideoContainerWide: {
  56. height: '100%',
  57. marginRight: 'auto',
  58. position: 'absolute',
  59. width: '50%'
  60. },
  61. contentContainer: {
  62. alignItems: 'center',
  63. display: 'flex',
  64. justifyContent: 'center',
  65. minHeight: '50%'
  66. },
  67. contentContainerWide: {
  68. height: '100%',
  69. justifyContent: 'center',
  70. left: '50%',
  71. marginHorizontal: BaseTheme.spacing[6],
  72. marginVertical: BaseTheme.spacing[3],
  73. position: 'absolute',
  74. width: '50%'
  75. },
  76. toolboxContainer: {
  77. alignSelf: 'center',
  78. display: 'flex',
  79. flexDirection: 'row',
  80. justifyContent: 'center',
  81. marginTop: BaseTheme.spacing[4]
  82. },
  83. toolboxContainerWide: {
  84. flexDirection: 'row',
  85. justifyContent: 'center',
  86. marginTop: BaseTheme.spacing[4]
  87. },
  88. formWrapper: {
  89. alignSelf: 'stretch',
  90. justifyContent: 'center',
  91. marginHorizontal: BaseTheme.spacing[3]
  92. },
  93. field: {
  94. backgroundColor: BaseTheme.palette.field02,
  95. borderColor: SECONDARY_COLOR,
  96. borderRadius: BaseTheme.shape.borderRadius,
  97. borderWidth: 2,
  98. height: BaseTheme.spacing[7],
  99. marginTop: BaseTheme.spacing[2],
  100. textAlign: 'center'
  101. }
  102. };