2019-11-29 12:33:35 +01:00
|
|
|
import { ColorSchemeRegistry, schemeColor } from '../../base/color-scheme';
|
|
|
|
|
import { BoxModel } from '../../base/styles';
|
2017-09-08 15:36:42 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The styles of the authentication feature.
|
|
|
|
|
*/
|
2019-11-29 12:33:35 +01:00
|
|
|
ColorSchemeRegistry.register('LoginDialog', {
|
2017-09-18 02:09:43 -05:00
|
|
|
|
|
|
|
|
/**
|
2017-10-01 01:35:19 -05:00
|
|
|
* The style of {@code Text} rendered by the {@code Dialog}s of the
|
2017-09-25 14:42:15 -05:00
|
|
|
* feature authentication.
|
2017-09-18 02:09:43 -05:00
|
|
|
*/
|
2017-09-25 14:42:15 -05:00
|
|
|
dialogText: {
|
2018-10-18 10:30:25 +02:00
|
|
|
margin: BoxModel.margin,
|
|
|
|
|
marginTop: BoxModel.margin * 2
|
2017-09-18 02:09:43 -05:00
|
|
|
},
|
|
|
|
|
|
2019-11-29 12:33:35 +01:00
|
|
|
/**
|
|
|
|
|
* The style used when an error message is rendered.
|
|
|
|
|
*/
|
|
|
|
|
errorMessage: {
|
|
|
|
|
color: schemeColor('errorText')
|
|
|
|
|
},
|
|
|
|
|
|
2017-09-25 14:42:15 -05:00
|
|
|
/**
|
2017-10-01 01:35:19 -05:00
|
|
|
* The style of {@code LoginDialog}.
|
2017-09-25 14:42:15 -05:00
|
|
|
*/
|
|
|
|
|
loginDialog: {
|
|
|
|
|
flex: 0,
|
2019-11-29 12:33:35 +01:00
|
|
|
flexDirection: 'column',
|
|
|
|
|
marginBottom: BoxModel.margin,
|
|
|
|
|
marginTop: BoxModel.margin
|
2017-09-25 14:42:15 -05:00
|
|
|
},
|
|
|
|
|
|
2017-09-18 02:09:43 -05:00
|
|
|
/**
|
2019-11-29 12:33:35 +01:00
|
|
|
* The style used then a progress message is rendered.
|
2017-09-18 02:09:43 -05:00
|
|
|
*/
|
2019-11-29 12:33:35 +01:00
|
|
|
progressMessage: {
|
|
|
|
|
color: schemeColor('text')
|
2017-09-08 15:36:42 +02:00
|
|
|
}
|
|
|
|
|
});
|