import { BoxModel, createStyleSheet } from '../../base/styles';
/**
* The style common to LoginDialog and WaitForOwnerDialog.
*/
const dialog = {
marginBottom: BoxModel.margin,
marginTop: BoxModel.margin
};
/**
* The style common to Text rendered by LoginDialog and
* WaitForOwnerDialog.
*/
const text = {
};
/**
* The styles of the authentication feature.
*/
export default createStyleSheet({
/**
* The style of LoginDialog.
*/
loginDialog: {
...dialog,
flex: 0,
flexDirection: 'column'
},
/**
* The style of Text rendered by LoginDialog.
*/
loginDialogText: {
...text
},
/**
* The style of TextInput rendered by LoginDialog.
*/
loginDialogTextInput: {
// XXX Matches react-native-prompt's dialogInput because base/dialog's
// Dialog is implemented using react-native-prompt.
fontSize: 18,
height: 50
},
/**
* The style of WaitForOwnerDialog.
*/
waitForOwnerDialog: {
...dialog,
...text
}
});