Files
jitsi-meet/react/features/overlay/components/native/styles.js

44 lines
966 B
JavaScript
Raw Normal View History

2019-04-09 13:05:20 +02:00
// @flow
import { StyleSheet } from 'react-native';
2019-04-09 17:53:12 +02:00
import { BoxModel, ColorPalette } from '../../../base/styles';
import BaseTheme from '../../../base/ui/components/BaseTheme.native';
export const TEXT_COLOR = BaseTheme.palette.text01;
/**
2019-04-09 17:53:12 +02:00
* The React {@code Component} styles of the overlay feature.
*/
2019-04-09 17:53:12 +02:00
export default {
connectIndicator: {
margin: BoxModel.margin
},
/**
* Style for a backdrop overlay covering the screen the the overlay is
* rendered.
*/
container: {
...StyleSheet.absoluteFillObject,
2019-03-06 17:28:59 +01:00
backgroundColor: ColorPalette.black
},
2019-04-09 17:53:12 +02:00
loadingOverlayText: {
color: TEXT_COLOR
2019-04-09 17:53:12 +02:00
},
loadingOverlayWrapper: {
...StyleSheet.absoluteFillObject,
2019-04-09 17:53:12 +02:00
alignItems: 'center',
backgroundColor: BaseTheme.palette.uiBackground,
2019-04-09 17:53:12 +02:00
flex: 1,
flexDirection: 'column',
justifyContent: 'center'
},
2019-03-06 17:28:59 +01:00
safeContainer: {
flex: 1
}
2019-04-09 17:53:12 +02:00
};