diff --git a/native/account/logged-out-modal.react.js b/native/account/logged-out-modal.react.js --- a/native/account/logged-out-modal.react.js +++ b/native/account/logged-out-modal.react.js @@ -22,6 +22,7 @@ import type { Dispatch } from 'lib/types/redux-types'; import { fetchNewCookieFromNativeCredentials } from 'lib/utils/action-utils'; +import EthereumLogo from '../components/ethereum-logo.react.js'; import KeyboardAvoidingView from '../components/keyboard-avoiding-view.react'; import ConnectedStatusBar from '../connected-status-bar.react'; import { @@ -461,10 +462,15 @@ <> - SIWE + + + + + Sign In with Ethereum + @@ -501,17 +507,21 @@ {siweButton} - LOG IN + + Sign in + - SIGN UP + + Register + ); @@ -599,30 +609,34 @@ top: 13, }, button: { - backgroundColor: '#FFFFFFAA', - borderRadius: 6, - marginBottom: 10, - marginTop: 10, - paddingBottom: 6, + borderRadius: 4, + marginBottom: 4, + marginTop: 4, + paddingBottom: 14, paddingLeft: 18, paddingRight: 18, - paddingTop: 6, + paddingTop: 14, }, buttonContainer: { bottom: 0, left: 0, - marginLeft: 40, - marginRight: 40, + marginLeft: 30, + marginRight: 30, paddingBottom: 20, position: 'absolute', right: 0, }, buttonText: { - color: '#000000FF', fontFamily: 'OpenSans-Semibold', - fontSize: 22, + fontSize: 17, textAlign: 'center', }, + classicAuthButton: { + backgroundColor: 'purpleButton', + }, + classicAuthButtonText: { + color: 'logInText', + }, container: { backgroundColor: 'transparent', flex: 1, @@ -645,6 +659,15 @@ right: 0, top: 0, }, + siweButton: { + backgroundColor: 'siweButton', + flex: 1, + flexDirection: 'row', + justifyContent: 'center', + }, + siweButtonText: { + color: 'siweButtonText', + }, siweOr: { flex: 1, flexDirection: 'row', @@ -670,6 +693,9 @@ fontSize: 17, textAlign: 'center', }, + siweIcon: { + paddingRight: 10, + }, }; const isForegroundSelector = createIsForegroundSelector( diff --git a/native/components/ethereum-logo.react.js b/native/components/ethereum-logo.react.js new file mode 100644 --- /dev/null +++ b/native/components/ethereum-logo.react.js @@ -0,0 +1,31 @@ +// @flow + +import * as React from 'react'; +import Svg, { Path } from 'react-native-svg'; + +function EthereumLogo(): React.Node { + return ( + + + + + + + + + ); +} + +export default EthereumLogo; diff --git a/native/themes/colors.js b/native/themes/colors.js --- a/native/themes/colors.js +++ b/native/themes/colors.js @@ -85,6 +85,8 @@ tooltipBackground: '#E0E0E0', logInSpacer: '#FFFFFF33', logInText: 'white', + siweButton: 'white', + siweButtonText: '#1F1F1F', }); export type Colors = $Exact; @@ -163,6 +165,8 @@ tooltipBackground: '#1F1F1F', logInSpacer: '#FFFFFF33', logInText: 'white', + siweButton: 'white', + siweButtonText: '#1F1F1F', }); const colors = { light, dark };