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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. /**
  15. * Styles of the navigation feature.
  16. */
  17. export const navigationStyles = {
  18. connectingScreenContainer: {
  19. backgroundColor: BaseTheme.palette.uiBackground,
  20. flex: 1
  21. },
  22. connectingScreenContent: {
  23. alignItems: 'center',
  24. flex: 1,
  25. flexDirection: 'column',
  26. justifyContent: 'center'
  27. },
  28. connectingScreenIndicator: {
  29. margin: BoxModel.margin
  30. },
  31. connectingScreenText: {
  32. color: TEXT_COLOR
  33. },
  34. headerNavigationButton: {
  35. marginLeft: BaseTheme.spacing[2]
  36. },
  37. headerNavigationButtonDisabled: {
  38. backgroundColor: 'transparent',
  39. marginLeft: BaseTheme.spacing[2]
  40. },
  41. headerNavigationButtonLabel: {
  42. ...headerNavigationButtonLabel
  43. },
  44. headerNavigationButtonLabelDisabled: {
  45. ...headerNavigationButtonLabel,
  46. color: BaseTheme.palette.text03
  47. },
  48. headerNavigationButtonLabelBold: {
  49. ...headerNavigationButtonLabel,
  50. ...BaseTheme.typography.bodyShortRegularLarge
  51. },
  52. headerNavigationButtonLabelBoldDisabled: {
  53. ...headerNavigationButtonLabel,
  54. ...BaseTheme.typography.bodyShortRegularLarge,
  55. color: BaseTheme.palette.text03
  56. },
  57. unreadCounterContainer: {
  58. alignItems: 'center',
  59. display: 'flex',
  60. flexDirection: 'row'
  61. },
  62. unreadCounterDescription: {
  63. ...unreadCounterDescription
  64. },
  65. unreadCounterDescriptionFocused: {
  66. ...unreadCounterDescription,
  67. color: BaseTheme.palette.text01
  68. },
  69. unreadCounterCircle: {
  70. backgroundColor: BaseTheme.palette.warning01,
  71. borderRadius: BaseTheme.spacing[4] / 2,
  72. height: BaseTheme.spacing[4],
  73. justifyContent: 'center',
  74. marginLeft: BaseTheme.spacing[2],
  75. width: BaseTheme.spacing[4]
  76. },
  77. unreadCounter: {
  78. ...BaseTheme.typography.bodyShortBold,
  79. alignSelf: 'center',
  80. color: BaseTheme.palette.text04
  81. }
  82. };