apply shadow directly to button

This commit is contained in:
Samuel Newman
2026-01-30 09:11:50 +02:00
parent 4b86444bd8
commit b5b26a5478
+11 -13
View File
@@ -79,17 +79,6 @@ 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
style={[
t.atoms.shadow_md,
{
shadowOpacity: 0.1,
shadowOffset: {
width: 0,
height: 5,
},
},
]}>
<Button <Button
testID="createAccountButton" testID="createAccountButton"
onPress={() => { onPress={() => {
@@ -101,12 +90,21 @@ export const SplashScreen = ({
msg`Opens flow to create a new Bluesky account`, msg`Opens flow to create a new Bluesky account`,
)} )}
size="large" size="large"
color={isDarkMode ? 'secondary_inverted' : 'secondary'}> color={isDarkMode ? 'secondary_inverted' : 'secondary'}
style={[
t.atoms.shadow_md,
{
shadowOpacity: 0.1,
shadowOffset: {
width: 0,
height: 5,
},
},
]}>
<ButtonText> <ButtonText>
<Trans>Create account</Trans> <Trans>Create account</Trans>
</ButtonText> </ButtonText>
</Button> </Button>
</View>
<Button <Button
testID="signInButton" testID="signInButton"