2022-05-06 10:14:10 +00:00
|
|
|
import BaseTheme from '../../../../base/ui/components/BaseTheme.native';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The size of the microphone icon.
|
|
|
|
*/
|
|
|
|
const MICROPHONE_SIZE = 180;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The styles of the safe area view that contains the title bar.
|
|
|
|
*/
|
|
|
|
const titleBarSafeView = {
|
|
|
|
left: 0,
|
|
|
|
position: 'absolute',
|
|
|
|
right: 0,
|
|
|
|
top: 0
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The styles of the native components of Carmode.
|
|
|
|
*/
|
|
|
|
export default {
|
|
|
|
|
|
|
|
bottomContainer: {
|
|
|
|
display: 'flex',
|
|
|
|
flexDirection: 'column',
|
|
|
|
alignItems: 'center',
|
2022-10-14 12:15:30 +00:00
|
|
|
bottom: BaseTheme.spacing[8]
|
2022-05-06 10:14:10 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* {@code Conference} Style.
|
|
|
|
*/
|
|
|
|
conference: {
|
|
|
|
backgroundColor: BaseTheme.palette.uiBackground,
|
|
|
|
flex: 1,
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
|
|
|
|
microphoneStyles: {
|
|
|
|
container: {
|
|
|
|
borderRadius: MICROPHONE_SIZE / 2,
|
|
|
|
height: MICROPHONE_SIZE,
|
|
|
|
maxHeight: MICROPHONE_SIZE,
|
|
|
|
justifyContent: 'center',
|
|
|
|
overflow: 'hidden',
|
|
|
|
width: MICROPHONE_SIZE,
|
|
|
|
maxWidth: MICROPHONE_SIZE,
|
|
|
|
flex: 1,
|
|
|
|
zIndex: 1,
|
|
|
|
elevation: 1
|
|
|
|
},
|
|
|
|
|
|
|
|
icon: {
|
|
|
|
color: BaseTheme.palette.text01,
|
|
|
|
fontSize: MICROPHONE_SIZE * 0.45,
|
|
|
|
fontWeight: '100'
|
|
|
|
},
|
|
|
|
|
|
|
|
iconContainer: {
|
|
|
|
alignItems: 'center',
|
|
|
|
alignSelf: 'stretch',
|
|
|
|
flex: 1,
|
|
|
|
justifyContent: 'center',
|
|
|
|
backgroundColor: BaseTheme.palette.ui03
|
|
|
|
},
|
|
|
|
|
|
|
|
unmuted: {
|
|
|
|
borderWidth: 4,
|
|
|
|
borderColor: BaseTheme.palette.success01
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
qualityLabelContainer: {
|
|
|
|
borderBottomLeftRadius: 3,
|
|
|
|
borderTopLeftRadius: 3,
|
|
|
|
flexShrink: 1,
|
|
|
|
paddingHorizontal: 2,
|
|
|
|
justifyContent: 'center',
|
2022-10-14 12:15:30 +00:00
|
|
|
marginTop: BaseTheme.spacing[2]
|
2022-05-06 10:14:10 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
roomTimer: {
|
|
|
|
...BaseTheme.typography.bodyShortBold,
|
2022-07-07 12:29:18 +00:00
|
|
|
color: BaseTheme.palette.text01,
|
2022-05-06 10:14:10 +00:00
|
|
|
textAlign: 'center'
|
|
|
|
},
|
|
|
|
|
|
|
|
titleView: {
|
|
|
|
width: 152,
|
|
|
|
height: 28,
|
|
|
|
backgroundColor: BaseTheme.palette.ui02,
|
|
|
|
borderRadius: 12,
|
|
|
|
alignSelf: 'center'
|
|
|
|
},
|
|
|
|
|
|
|
|
title: {
|
|
|
|
margin: 'auto',
|
|
|
|
textAlign: 'center',
|
2022-10-14 12:15:30 +00:00
|
|
|
paddingVertical: BaseTheme.spacing[1],
|
|
|
|
paddingHorizontal: BaseTheme.spacing[3],
|
2022-05-06 10:14:10 +00:00
|
|
|
color: BaseTheme.palette.text02
|
|
|
|
},
|
|
|
|
|
|
|
|
soundDeviceButton: {
|
2022-07-07 12:29:18 +00:00
|
|
|
marginBottom: BaseTheme.spacing[3],
|
|
|
|
width: 240
|
2022-05-06 10:14:10 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
endMeetingButton: {
|
2022-07-07 12:29:18 +00:00
|
|
|
width: 240
|
2022-05-06 10:14:10 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
headerLabels: {
|
|
|
|
borderBottomLeftRadius: 3,
|
|
|
|
borderTopLeftRadius: 3,
|
|
|
|
flexShrink: 1,
|
|
|
|
paddingHorizontal: 2,
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
|
|
|
|
titleBarSafeViewColor: {
|
|
|
|
...titleBarSafeView,
|
|
|
|
backgroundColor: BaseTheme.palette.uiBackground
|
|
|
|
},
|
|
|
|
|
|
|
|
microphoneContainer: {
|
|
|
|
flex: 1,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
|
|
|
|
titleBarWrapper: {
|
|
|
|
alignItems: 'center',
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'row',
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
|
|
|
|
roomNameWrapper: {
|
|
|
|
flexDirection: 'row',
|
2022-10-14 12:15:30 +00:00
|
|
|
marginRight: BaseTheme.spacing[2],
|
2022-05-06 10:14:10 +00:00
|
|
|
flexShrink: 1,
|
|
|
|
flexGrow: 1
|
|
|
|
},
|
|
|
|
|
|
|
|
roomNameView: {
|
|
|
|
backgroundColor: 'rgba(0,0,0,0.6)',
|
|
|
|
flexShrink: 1,
|
|
|
|
justifyContent: 'center',
|
2022-10-14 12:15:30 +00:00
|
|
|
paddingHorizontal: BaseTheme.spacing[2]
|
2022-05-06 10:14:10 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
roomName: {
|
|
|
|
color: BaseTheme.palette.text01,
|
|
|
|
...BaseTheme.typography.bodyShortBold
|
|
|
|
},
|
|
|
|
|
|
|
|
titleBar: {
|
2022-07-07 12:29:18 +00:00
|
|
|
alignSelf: 'center',
|
|
|
|
marginTop: BaseTheme.spacing[1]
|
2022-05-06 10:14:10 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
videoStoppedLabel: {
|
2022-07-07 12:29:18 +00:00
|
|
|
...BaseTheme.typography.bodyShortRegularLarge,
|
2022-05-06 10:14:10 +00:00
|
|
|
color: BaseTheme.palette.text01,
|
2022-10-14 12:15:30 +00:00
|
|
|
marginBottom: BaseTheme.spacing[3],
|
|
|
|
textAlign: 'center',
|
|
|
|
width: '100%'
|
2022-06-17 10:08:21 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
connectionIndicatorIcon: {
|
|
|
|
fontSize: 20
|
2022-05-06 10:14:10 +00:00
|
|
|
}
|
|
|
|
};
|