apply shadow directly to button
This commit is contained in:
@@ -79,7 +79,18 @@ export const SplashScreen = ({
|
|||||||
<View
|
<View
|
||||||
testID="signinOrCreateAccount"
|
testID="signinOrCreateAccount"
|
||||||
style={[a.px_5xl, a.gap_md, a.pb_sm]}>
|
style={[a.px_5xl, a.gap_md, a.pb_sm]}>
|
||||||
<View
|
<Button
|
||||||
|
testID="createAccountButton"
|
||||||
|
onPress={() => {
|
||||||
|
onPressCreateAccount()
|
||||||
|
playHaptic('Light')
|
||||||
|
}}
|
||||||
|
label={_(msg`Create new account`)}
|
||||||
|
accessibilityHint={_(
|
||||||
|
msg`Opens flow to create a new Bluesky account`,
|
||||||
|
)}
|
||||||
|
size="large"
|
||||||
|
color={isDarkMode ? 'secondary_inverted' : 'secondary'}
|
||||||
style={[
|
style={[
|
||||||
t.atoms.shadow_md,
|
t.atoms.shadow_md,
|
||||||
{
|
{
|
||||||
@@ -90,23 +101,10 @@ export const SplashScreen = ({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
<Button
|
<ButtonText>
|
||||||
testID="createAccountButton"
|
<Trans>Create account</Trans>
|
||||||
onPress={() => {
|
</ButtonText>
|
||||||
onPressCreateAccount()
|
</Button>
|
||||||
playHaptic('Light')
|
|
||||||
}}
|
|
||||||
label={_(msg`Create new account`)}
|
|
||||||
accessibilityHint={_(
|
|
||||||
msg`Opens flow to create a new Bluesky account`,
|
|
||||||
)}
|
|
||||||
size="large"
|
|
||||||
color={isDarkMode ? 'secondary_inverted' : 'secondary'}>
|
|
||||||
<ButtonText>
|
|
||||||
<Trans>Create account</Trans>
|
|
||||||
</ButtonText>
|
|
||||||
</Button>
|
|
||||||
</View>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
testID="signInButton"
|
testID="signInButton"
|
||||||
|
|||||||
Reference in New Issue
Block a user