Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

styles.js 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  2. export const ANDROID_UNDERLINE_COLOR = 'transparent';
  3. export const PLACEHOLDER_COLOR = BaseTheme.palette.focus01;
  4. export const PLACEHOLDER_TEXT_COLOR = BaseTheme.palette.text03;
  5. const TEXT_SIZE = 14;
  6. /**
  7. * The styles of the native components of the feature {@code settings}.
  8. */
  9. export default {
  10. avatarContainer: {
  11. alignItems: 'center',
  12. flexDirection: 'column',
  13. height: 180,
  14. justifyContent: 'center'
  15. },
  16. /**
  17. * Style for screen container.
  18. */
  19. settingsViewContainer: {
  20. backgroundColor: BaseTheme.palette.ui01,
  21. flex: 1
  22. },
  23. /**
  24. * Standardized style for a field container {@code View}.
  25. */
  26. fieldContainer: {
  27. alignItems: 'center',
  28. flexDirection: 'row',
  29. minHeight: 56,
  30. paddingHorizontal: 8
  31. },
  32. /**
  33. * * Appended style for column layout fields.
  34. */
  35. fieldContainerColumn: {
  36. alignItems: 'flex-start',
  37. flexDirection: 'column'
  38. },
  39. /**
  40. * Standard container for a {@code View} containing a field label.
  41. */
  42. fieldLabelContainer: {
  43. alignItems: 'center',
  44. flexDirection: 'row',
  45. paddingLeft: 8
  46. },
  47. /**
  48. * Text of the field labels on the form.
  49. */
  50. fieldLabelText: {
  51. fontSize: TEXT_SIZE
  52. },
  53. /**
  54. * Appended style for column layout fields.
  55. */
  56. fieldLabelTextColumn: {
  57. fontSize: 12
  58. },
  59. /**
  60. * Field container style for all but last row {@code View}.
  61. */
  62. fieldSeparator: {
  63. borderBottomWidth: 1,
  64. borderColor: BaseTheme.palette.ui05
  65. },
  66. /**
  67. * Style for the {@code View} containing each
  68. * field values (the actual field).
  69. */
  70. fieldValueContainer: {
  71. alignItems: 'center',
  72. flex: 1,
  73. flexDirection: 'row',
  74. justifyContent: 'flex-end',
  75. paddingRight: 8
  76. },
  77. /**
  78. * Style for the form section separator titles.
  79. */
  80. formSectionTitle: {
  81. backgroundColor: BaseTheme.palette.ui02,
  82. paddingBottom: 0,
  83. paddingTop: 0
  84. },
  85. formSectionTitleText: {
  86. color: BaseTheme.palette.text01
  87. },
  88. section: {
  89. color: BaseTheme.palette.icon01,
  90. fontSize: 14
  91. },
  92. sectionLink: {
  93. ...BaseTheme.typography.bodyShortBoldLarge,
  94. color: BaseTheme.palette.link01,
  95. margin: BaseTheme.spacing[3],
  96. textAlign: 'center'
  97. },
  98. sectionLinkContainer: {
  99. margin: BaseTheme.spacing[3]
  100. },
  101. sectionLinkText: {
  102. ...BaseTheme.typography.bodyShortBoldLarge,
  103. color: BaseTheme.palette.link01,
  104. textAlign: 'center'
  105. },
  106. /**
  107. * Global {@code Text} color for the components.
  108. */
  109. text: {
  110. color: BaseTheme.palette.text01
  111. },
  112. /**
  113. * Text input container style.
  114. */
  115. textInputContainer: {
  116. flex: 1,
  117. height: BaseTheme.spacing[7],
  118. marginBottom: BaseTheme.spacing[3],
  119. marginHorizontal: BaseTheme.spacing[3],
  120. marginTop: BaseTheme.spacing[2]
  121. },
  122. /**
  123. * Standard text input field style.
  124. */
  125. textInputField: {
  126. color: BaseTheme.palette.field01,
  127. flex: 1,
  128. fontSize: TEXT_SIZE,
  129. textAlign: 'right'
  130. },
  131. /**
  132. * Appended style for column layout fields.
  133. */
  134. textInputFieldColumn: {
  135. backgroundColor: 'rgb(245, 245, 245)',
  136. borderRadius: 8,
  137. marginVertical: 5,
  138. paddingVertical: 3,
  139. textAlign: 'left'
  140. },
  141. /**
  142. * Style for screen container.
  143. */
  144. screenContainer: {
  145. flex: 1
  146. }
  147. };