2020-04-15 13:13:43 +00:00
|
|
|
// @flow
|
|
|
|
|
2022-04-26 10:15:31 +00:00
|
|
|
import BaseTheme from '../../../base/ui/components/BaseTheme.native';
|
2020-05-20 08:25:31 +00:00
|
|
|
|
2021-12-10 16:23:27 +00:00
|
|
|
const SECONDARY_COLOR = BaseTheme.palette.border04;
|
2020-04-15 13:13:43 +00:00
|
|
|
|
2022-08-24 09:43:28 +00:00
|
|
|
const lobbyText = {
|
|
|
|
...BaseTheme.typography.heading5,
|
|
|
|
color: BaseTheme.palette.text01,
|
|
|
|
textAlign: 'center'
|
|
|
|
};
|
|
|
|
|
2020-04-15 13:13:43 +00:00
|
|
|
export default {
|
2022-04-26 10:15:31 +00:00
|
|
|
|
|
|
|
buttonStylesBorderless: {
|
|
|
|
iconStyle: {
|
|
|
|
color: BaseTheme.palette.icon01,
|
|
|
|
fontSize: 24
|
|
|
|
},
|
|
|
|
style: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
justifyContent: 'center',
|
|
|
|
marginHorizontal: BaseTheme.spacing[3],
|
|
|
|
height: 24,
|
|
|
|
width: 24
|
2022-06-21 14:16:38 +00:00
|
|
|
},
|
|
|
|
underlayColor: 'transparent'
|
2020-04-15 13:13:43 +00:00
|
|
|
},
|
|
|
|
|
2022-03-03 17:29:38 +00:00
|
|
|
lobbyChatWrapper: {
|
|
|
|
backgroundColor: BaseTheme.palette.ui01,
|
|
|
|
alignItems: 'stretch',
|
|
|
|
flexDirection: 'column',
|
|
|
|
justifyItems: 'center',
|
|
|
|
height: '100%'
|
|
|
|
},
|
|
|
|
|
|
|
|
lobbyChatHeader: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
padding: 20
|
|
|
|
},
|
|
|
|
|
|
|
|
lobbyChatTitle: {
|
2022-04-26 10:15:31 +00:00
|
|
|
color: BaseTheme.palette.text01,
|
2022-03-03 17:29:38 +00:00
|
|
|
fontSize: 20,
|
|
|
|
fontWeight: 'bold',
|
|
|
|
flexShrink: 1
|
|
|
|
},
|
|
|
|
|
|
|
|
lobbyChatCloseButton: {
|
2022-04-26 10:15:31 +00:00
|
|
|
fontSize: 24,
|
|
|
|
marginLeft: BaseTheme.spacing[3],
|
|
|
|
marginTop: BaseTheme.spacing[1],
|
|
|
|
color: BaseTheme.palette.icon01
|
2022-03-03 17:29:38 +00:00
|
|
|
},
|
|
|
|
|
2020-04-15 13:13:43 +00:00
|
|
|
contentWrapper: {
|
2022-04-26 10:15:31 +00:00
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
|
2022-06-10 12:21:00 +00:00
|
|
|
contentWrapperWide: {
|
2022-04-26 10:15:31 +00:00
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'row'
|
|
|
|
},
|
|
|
|
|
|
|
|
largeVideoContainer: {
|
2022-05-02 11:00:31 +00:00
|
|
|
minHeight: '50%'
|
2022-04-26 10:15:31 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
largeVideoContainerWide: {
|
|
|
|
height: '100%',
|
2022-06-16 09:49:07 +00:00
|
|
|
marginRight: 'auto',
|
|
|
|
position: 'absolute',
|
2022-04-26 10:15:31 +00:00
|
|
|
width: '50%'
|
|
|
|
},
|
|
|
|
|
|
|
|
contentContainer: {
|
2022-06-21 14:16:38 +00:00
|
|
|
alignSelf: 'center',
|
2022-06-16 09:49:07 +00:00
|
|
|
display: 'flex',
|
2022-06-10 12:21:00 +00:00
|
|
|
justifyContent: 'center',
|
2022-06-21 14:16:38 +00:00
|
|
|
minHeight: '50%',
|
|
|
|
paddingHorizontal: BaseTheme.spacing[3],
|
|
|
|
width: 400
|
2022-04-26 10:15:31 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
contentContainerWide: {
|
2022-06-21 14:16:38 +00:00
|
|
|
alignItems: 'center',
|
2022-06-16 09:49:07 +00:00
|
|
|
height: '100%',
|
2022-04-26 10:15:31 +00:00
|
|
|
justifyContent: 'center',
|
2022-06-16 09:49:07 +00:00
|
|
|
left: '50%',
|
2022-06-21 14:16:38 +00:00
|
|
|
paddingHorizontal: BaseTheme.spacing[3],
|
2022-06-10 12:21:00 +00:00
|
|
|
position: 'absolute',
|
2022-04-26 10:15:31 +00:00
|
|
|
width: '50%'
|
|
|
|
},
|
|
|
|
|
|
|
|
toolboxContainer: {
|
|
|
|
alignItems: 'center',
|
|
|
|
display: 'flex',
|
|
|
|
flexDirection: 'row',
|
|
|
|
justifyContent: 'center',
|
2022-06-10 12:21:00 +00:00
|
|
|
marginTop: BaseTheme.spacing[3]
|
2021-10-20 19:29:21 +00:00
|
|
|
},
|
|
|
|
|
2022-04-26 10:15:31 +00:00
|
|
|
toolboxContainerWide: {
|
|
|
|
flexDirection: 'row',
|
|
|
|
justifyContent: 'center',
|
2022-06-10 12:21:00 +00:00
|
|
|
marginTop: BaseTheme.spacing[3]
|
2020-04-15 13:13:43 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
displayNameText: {
|
|
|
|
fontWeight: 'bold',
|
|
|
|
marginVertical: 10
|
|
|
|
},
|
|
|
|
|
|
|
|
editButton: {
|
|
|
|
alignSelf: 'flex-end',
|
|
|
|
paddingHorizontal: 10
|
|
|
|
},
|
|
|
|
|
|
|
|
editIcon: {
|
|
|
|
color: 'black',
|
|
|
|
fontSize: 16
|
|
|
|
},
|
|
|
|
|
2022-06-10 12:21:00 +00:00
|
|
|
formWrapper: {
|
|
|
|
alignSelf: 'stretch',
|
2022-11-08 15:46:46 +00:00
|
|
|
justifyContent: 'center',
|
|
|
|
marginTop: 38
|
2022-06-10 12:21:00 +00:00
|
|
|
},
|
|
|
|
|
2022-11-08 15:46:46 +00:00
|
|
|
customInput: {
|
2022-07-07 12:29:18 +00:00
|
|
|
marginHorizontal: BaseTheme.spacing[3],
|
2022-06-10 12:21:00 +00:00
|
|
|
textAlign: 'center'
|
2020-04-15 13:13:43 +00:00
|
|
|
},
|
|
|
|
|
2020-05-20 08:25:31 +00:00
|
|
|
fieldError: {
|
2022-04-26 10:15:31 +00:00
|
|
|
color: BaseTheme.palette.warning03,
|
|
|
|
marginLeft: BaseTheme.spacing[3],
|
|
|
|
fontSize: 16
|
2020-04-15 13:13:43 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
fieldLabel: {
|
2022-05-02 10:29:42 +00:00
|
|
|
...BaseTheme.typography.heading6,
|
2022-04-26 10:15:31 +00:00
|
|
|
color: BaseTheme.palette.text01,
|
2020-04-15 13:13:43 +00:00
|
|
|
textAlign: 'center'
|
|
|
|
},
|
|
|
|
|
2022-04-26 10:15:31 +00:00
|
|
|
standardButtonWrapper: {
|
2022-07-07 12:29:18 +00:00
|
|
|
alignSelf: 'stretch'
|
2020-04-15 13:13:43 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
joiningMessage: {
|
2022-04-26 10:15:31 +00:00
|
|
|
color: BaseTheme.palette.text01,
|
2022-06-10 12:21:00 +00:00
|
|
|
marginHorizontal: BaseTheme.spacing[3],
|
2020-04-15 13:13:43 +00:00
|
|
|
textAlign: 'center'
|
|
|
|
},
|
|
|
|
|
2022-04-26 10:15:31 +00:00
|
|
|
passwordJoinButtonsWrapper: {
|
|
|
|
alignItems: 'stretch',
|
|
|
|
alignSelf: 'stretch',
|
|
|
|
marginHorizontal: BaseTheme.spacing[3]
|
|
|
|
},
|
|
|
|
|
2020-04-15 13:13:43 +00:00
|
|
|
loadingIndicator: {
|
2022-07-26 09:31:38 +00:00
|
|
|
marginBottom: BaseTheme.spacing[3]
|
2020-04-15 13:13:43 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
participantBox: {
|
|
|
|
alignItems: 'center',
|
|
|
|
alignSelf: 'stretch',
|
|
|
|
borderColor: SECONDARY_COLOR,
|
|
|
|
borderRadius: 4,
|
|
|
|
borderWidth: 1,
|
|
|
|
marginVertical: 18,
|
|
|
|
paddingVertical: 12
|
|
|
|
},
|
|
|
|
|
2022-07-07 12:29:18 +00:00
|
|
|
lobbyButton: {
|
2022-06-21 14:16:38 +00:00
|
|
|
marginTop: BaseTheme.spacing[3]
|
2020-04-15 13:13:43 +00:00
|
|
|
},
|
|
|
|
|
2022-07-26 09:31:38 +00:00
|
|
|
openChatButton: {
|
|
|
|
marginHorizontal: BaseTheme.spacing[3],
|
|
|
|
marginTop: BaseTheme.spacing[3]
|
|
|
|
},
|
|
|
|
|
2022-07-07 12:29:18 +00:00
|
|
|
enterPasswordButton: {
|
|
|
|
marginHorizontal: BaseTheme.spacing[3],
|
2022-07-26 09:31:38 +00:00
|
|
|
marginTop: BaseTheme.spacing[3]
|
2021-10-20 19:29:21 +00:00
|
|
|
},
|
|
|
|
|
2020-04-15 13:13:43 +00:00
|
|
|
// KnockingParticipantList
|
|
|
|
|
|
|
|
knockingParticipantList: {
|
|
|
|
alignSelf: 'stretch',
|
|
|
|
backgroundColor: 'rgba(22, 38, 55, 0.8)',
|
|
|
|
flexDirection: 'column'
|
|
|
|
},
|
|
|
|
|
|
|
|
knockingParticipantListButton: {
|
|
|
|
borderRadius: 4,
|
|
|
|
marginHorizontal: 3,
|
|
|
|
paddingHorizontal: 10,
|
|
|
|
paddingVertical: 5
|
|
|
|
},
|
|
|
|
|
|
|
|
knockingParticipantListDetails: {
|
|
|
|
flex: 1,
|
|
|
|
marginLeft: 10
|
|
|
|
},
|
|
|
|
|
|
|
|
knockingParticipantListEntry: {
|
|
|
|
alignItems: 'center',
|
|
|
|
flexDirection: 'row',
|
|
|
|
padding: 10
|
|
|
|
},
|
|
|
|
|
|
|
|
knockingParticipantListPrimaryButton: {
|
|
|
|
backgroundColor: 'rgb(3, 118, 218)'
|
|
|
|
},
|
|
|
|
|
|
|
|
knockingParticipantListSecondaryButton: {
|
|
|
|
backgroundColor: 'transparent'
|
|
|
|
},
|
|
|
|
|
|
|
|
knockingParticipantListText: {
|
|
|
|
color: 'white'
|
2021-04-09 12:30:25 +00:00
|
|
|
},
|
|
|
|
|
2022-08-24 09:43:28 +00:00
|
|
|
lobbyTitle: {
|
|
|
|
...lobbyText
|
|
|
|
},
|
|
|
|
|
|
|
|
lobbyRoomName: {
|
|
|
|
...lobbyText,
|
|
|
|
marginBottom: BaseTheme.spacing[2]
|
2020-04-15 13:13:43 +00:00
|
|
|
}
|
|
|
|
};
|