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.ts 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. import { BoxModel } from '../../../base/styles/components/styles/BoxModel';
  2. import BaseTheme from '../../../base/ui/components/BaseTheme.native';
  3. export const TEXT_COLOR = BaseTheme.palette.text01;
  4. const unreadCounterDescription = {
  5. ...BaseTheme.typography.bodyShortBoldLarge,
  6. color: BaseTheme.palette.text03
  7. };
  8. const HEADER_ACTION_BUTTON_SIZE = 16;
  9. const headerNavigationButtonLabel = {
  10. color: BaseTheme.palette.link01,
  11. fontSize: HEADER_ACTION_BUTTON_SIZE,
  12. lineHeight: BaseTheme.spacing[3]
  13. };
  14. const headerNavigationButton = {
  15. borderRadius: BaseTheme.shape.borderRadius,
  16. height: BaseTheme.spacing[6],
  17. marginLeft: BaseTheme.spacing[3]
  18. };
  19. /**
  20. * Styles of the navigation feature.
  21. */
  22. export const navigationStyles = {
  23. connectingScreenContainer: {
  24. backgroundColor: BaseTheme.palette.uiBackground,
  25. flex: 1
  26. },
  27. connectingScreenContent: {
  28. alignItems: 'center',
  29. flex: 1,
  30. flexDirection: 'column',
  31. justifyContent: 'center'
  32. },
  33. connectingScreenIndicator: {
  34. margin: BoxModel.margin
  35. },
  36. connectingScreenText: {
  37. color: TEXT_COLOR
  38. },
  39. headerNavigationButton: {
  40. ...headerNavigationButton
  41. },
  42. headerNavigationButtonIcon: {
  43. ...headerNavigationButton,
  44. padding: BaseTheme.spacing[2]
  45. },
  46. headerNavigationButtonDisabled: {
  47. backgroundColor: 'transparent',
  48. marginLeft: BaseTheme.spacing[2]
  49. },
  50. headerNavigationButtonLabel: {
  51. ...headerNavigationButtonLabel
  52. },
  53. headerNavigationButtonLabelDisabled: {
  54. ...headerNavigationButtonLabel,
  55. color: BaseTheme.palette.text03
  56. },
  57. headerNavigationButtonLabelBold: {
  58. ...headerNavigationButtonLabel,
  59. ...BaseTheme.typography.bodyShortRegularLarge
  60. },
  61. headerNavigationButtonLabelBoldDisabled: {
  62. ...headerNavigationButtonLabel,
  63. ...BaseTheme.typography.bodyShortRegularLarge,
  64. color: BaseTheme.palette.text03
  65. },
  66. unreadCounterContainer: {
  67. alignItems: 'center',
  68. display: 'flex',
  69. flexDirection: 'row'
  70. },
  71. unreadCounterDescription: {
  72. ...unreadCounterDescription
  73. },
  74. unreadCounterDescriptionFocused: {
  75. ...unreadCounterDescription,
  76. color: BaseTheme.palette.text01
  77. },
  78. unreadCounterCircle: {
  79. backgroundColor: BaseTheme.palette.warning01,
  80. borderRadius: BaseTheme.spacing[4] / 2,
  81. height: BaseTheme.spacing[4],
  82. justifyContent: 'center',
  83. marginLeft: BaseTheme.spacing[2],
  84. width: BaseTheme.spacing[4]
  85. },
  86. unreadCounter: {
  87. ...BaseTheme.typography.bodyShortBold,
  88. alignSelf: 'center',
  89. color: BaseTheme.palette.text04
  90. }
  91. };