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 bold Text rendered by the Dialogs of the * feature authentication. */ boldDialogText: { ...text, fontWeight: 'bold' }, /** * The style of Text rendered by the Dialogs of the * feature authentication. */ dialogText: { ...text }, /** * The style of TextInput rendered by the Dialogs of the * feature authentication. */ dialogTextInput: { // 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 LoginDialog. */ loginDialog: { ...dialog, flex: 0, flexDirection: 'column' }, /** * The style of WaitForOwnerDialog. */ waitForOwnerDialog: { ...dialog, ...text } });