2022-03-17 14:13:58 +00:00
|
|
|
import { BoxModel } from '../../../base/styles';
|
2022-11-18 12:46:54 +00:00
|
|
|
import BaseTheme from '../../../base/ui/components/BaseTheme.native';
|
2022-03-17 14:13:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
export const TEXT_COLOR = BaseTheme.palette.text01;
|
|
|
|
|
2022-11-22 16:13:36 +00:00
|
|
|
const HEADER_ACTION_BUTTON_SIZE = 17;
|
|
|
|
|
|
|
|
const headerNavigationButton = {
|
2022-11-22 19:50:16 +00:00
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center'
|
2022-11-22 16:13:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
const headerNavigationText = {
|
2022-11-22 19:50:16 +00:00
|
|
|
...BaseTheme.typography.bodyShortBoldLarge,
|
2022-11-22 16:13:36 +00:00
|
|
|
color: BaseTheme.palette.link01,
|
|
|
|
fontSize: HEADER_ACTION_BUTTON_SIZE
|
|
|
|
};
|
|
|
|
|
2022-11-18 12:46:54 +00:00
|
|
|
const unreadCounterDescription = {
|
|
|
|
...BaseTheme.typography.bodyShortBoldLarge,
|
|
|
|
color: BaseTheme.palette.text03
|
|
|
|
};
|
|
|
|
|
2022-03-17 14:13:58 +00:00
|
|
|
/**
|
|
|
|
* Styles of the navigation feature.
|
|
|
|
*/
|
|
|
|
export const navigationStyles = {
|
2022-06-09 14:23:56 +00:00
|
|
|
|
2022-03-17 14:13:58 +00:00
|
|
|
connectingScreenContainer: {
|
2022-03-23 12:38:42 +00:00
|
|
|
backgroundColor: BaseTheme.palette.uiBackground,
|
2022-03-17 14:13:58 +00:00
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
|
|
|
|
connectingScreenContent: {
|
|
|
|
alignItems: 'center',
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'column',
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
|
|
|
|
connectingScreenIndicator: {
|
|
|
|
margin: BoxModel.margin
|
|
|
|
},
|
|
|
|
|
|
|
|
connectingScreenText: {
|
|
|
|
color: TEXT_COLOR
|
2022-11-18 12:46:54 +00:00
|
|
|
},
|
|
|
|
|
2022-11-22 16:13:36 +00:00
|
|
|
headerNavigationButtonIcon: {
|
|
|
|
...headerNavigationButton,
|
2022-11-22 19:50:16 +00:00
|
|
|
height: BaseTheme.spacing[5],
|
|
|
|
paddingLeft: BaseTheme.spacing[3],
|
|
|
|
width: BaseTheme.spacing[5]
|
2022-11-22 16:13:36 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
headerNavigationButtonText: {
|
|
|
|
...headerNavigationButton,
|
2022-11-22 19:50:16 +00:00
|
|
|
height: BaseTheme.spacing[9],
|
|
|
|
width: BaseTheme.spacing[9]
|
2022-11-22 16:13:36 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
headerNavigationText: {
|
|
|
|
...headerNavigationText,
|
2022-11-22 19:50:16 +00:00
|
|
|
marginLeft: BaseTheme.spacing[2]
|
2022-11-22 16:13:36 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
headerNavigationTextBold: {
|
|
|
|
...headerNavigationText,
|
2022-11-22 19:50:16 +00:00
|
|
|
...BaseTheme.typography.bodyShortRegularLarge,
|
|
|
|
marginRight: BaseTheme.spacing[1]
|
2022-11-22 16:13:36 +00:00
|
|
|
},
|
|
|
|
|
2022-11-18 12:46:54 +00:00
|
|
|
unreadCounterContainer: {
|
|
|
|
alignItems: 'center',
|
|
|
|
display: 'flex',
|
|
|
|
flexDirection: 'row'
|
|
|
|
},
|
|
|
|
|
|
|
|
unreadCounterDescription: {
|
|
|
|
...unreadCounterDescription
|
|
|
|
},
|
|
|
|
|
|
|
|
unreadCounterDescriptionFocused: {
|
|
|
|
...unreadCounterDescription,
|
|
|
|
color: BaseTheme.palette.text01
|
|
|
|
},
|
|
|
|
|
|
|
|
unreadCounterCircle: {
|
|
|
|
backgroundColor: BaseTheme.palette.warning01,
|
|
|
|
borderRadius: BaseTheme.spacing[4] / 2,
|
|
|
|
height: BaseTheme.spacing[4],
|
|
|
|
justifyContent: 'center',
|
|
|
|
marginLeft: BaseTheme.spacing[2],
|
|
|
|
width: BaseTheme.spacing[4]
|
|
|
|
},
|
|
|
|
|
|
|
|
unreadCounter: {
|
|
|
|
...BaseTheme.typography.bodyShortBold,
|
|
|
|
alignSelf: 'center',
|
|
|
|
color: BaseTheme.palette.text04
|
2022-03-17 14:13:58 +00:00
|
|
|
}
|
|
|
|
};
|