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
testID="signinOrCreateAccount"
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
testID="createAccountButton"
onPress={() => {
@@ -101,12 +90,21 @@ export const SplashScreen = ({
msg`Opens flow to create a new Bluesky account`,
)}
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>
<Trans>Create account</Trans>
</ButtonText>
</Button>
</View>
<Button
testID="signInButton"