forked from cerc-io/laconic-wallet
* Refactored accounts and sign message component * Change sign message to hyperlink * Refactor network dropdown * Add types to utils * Import react in index.js * Use components for create wallet and reset dialog * Remove inline styles from accounts component * Remove inline styles from components * Remove incorrectly placed async * Make app responsive using flex * Make review changes --------- Co-authored-by: Adw8 <adwait@deepstacksoft.com>
60 lines
984 B
JavaScript
60 lines
984 B
JavaScript
import { StyleSheet } from 'react-native';
|
|
|
|
const styles = StyleSheet.create({
|
|
createWalletContainer: {
|
|
marginTop: 20,
|
|
width: 150,
|
|
alignSelf: 'center',
|
|
},
|
|
signLink: {
|
|
alignItems: 'flex-end',
|
|
marginTop: 24,
|
|
},
|
|
hyperlink: {
|
|
fontWeight: '500',
|
|
textDecorationLine: 'underline',
|
|
},
|
|
highlight: {
|
|
fontWeight: '700',
|
|
},
|
|
accountContainer: {
|
|
marginTop: 24,
|
|
},
|
|
addAccountButton: {
|
|
marginTop: 24,
|
|
alignSelf: 'center',
|
|
},
|
|
accountComponent: {
|
|
flex: 4,
|
|
},
|
|
appContainer: {
|
|
flexGrow: 1,
|
|
marginTop: 24,
|
|
paddingHorizontal: 24,
|
|
},
|
|
resetContainer: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
},
|
|
resetButton: {
|
|
alignSelf: 'center',
|
|
},
|
|
signButton: {
|
|
marginTop: 20,
|
|
width: 150,
|
|
alignSelf: 'center',
|
|
},
|
|
signPage: {
|
|
paddingHorizontal: 24,
|
|
},
|
|
accountInfo: {
|
|
marginTop: 24,
|
|
marginBottom: 30,
|
|
},
|
|
networkDropdown: {
|
|
marginBottom: 20,
|
|
},
|
|
});
|
|
|
|
export default styles;
|