apply shadow directly to button
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user