feat: 🎸 Use fade on the backdrop on login modal

Much better than the greyish backdrop that we use now
This commit is contained in:
Andreas Eriksson 2021-10-03 22:46:45 +02:00
parent fba7b3ed9f
commit e99494bc77
1 changed files with 5 additions and 1 deletions

View File

@ -109,6 +109,10 @@ export const Login = () => {
}
status.on('PENDING', () => console.log('BankID app not yet opened'))
status.on('USER_SIGN', () => console.log('BankID app is open'))
status.on('CANCELLED', () => {
console.log('User pressed cancel in BankID')
showModal(false)
})
status.on('ERROR', () => {
setError(t('auth.loginFailed'))
showModal(false)
@ -247,7 +251,7 @@ export const Login = () => {
const themedStyles = StyleService.create({
backdrop: {
backgroundColor: 'color-basic-transparent-600',
backgroundColor: 'rgba(0, 0, 0, 0.5)',
},
loginForm: {
...Layout.mainAxis.flexStart,