Compare commits

..

2 Commits

Author SHA1 Message Date
Monkey
17e96d0e52 Merge remote-tracking branch 'origin/style/laconic-colors' into style/laconic-colors 2024-08-09 15:21:42 -04:00
Monkey
0b32e4b4c4 show private key dialog styling 2024-08-09 15:20:09 -04:00
2 changed files with 6 additions and 5 deletions

View File

@ -61,7 +61,7 @@ const ShowPKDialog = () => {
style={styles.dataBoxData} style={styles.dataBoxData}
sx={{ sx={{
wordWrap: "break-word", wordWrap: "break-word",
whiteSpace: "initial", whiteSpace: "initial"
}} }}
> >
{privateKey} {privateKey}
@ -70,8 +70,7 @@ const ShowPKDialog = () => {
)} )}
<View> <View>
<Typography variant="body1" style={styles.dialogWarning}> <Typography variant="body1" style={styles.dialogWarning}>
<Typography component="span">Warning: </Typography> Warning: Never disclose this key. Anyone with your private keys can steal
Never disclose this key. Anyone with your private keys can steal
any assets held in your account. any assets held in your account.
</Typography> </Typography>
</View> </View>
@ -83,7 +82,7 @@ const ShowPKDialog = () => {
<Button style={{...styles.buttonBlue, ...styles.button}} onClick={hideShowPKDialog}>No</Button> <Button style={{...styles.buttonBlue, ...styles.button}} onClick={hideShowPKDialog}>No</Button>
</> </>
) : ( ) : (
<Button onClick={hideShowPKDialog}>Ok</Button> <Button style={{...styles.buttonBlue, ...styles.button}} onClick={hideShowPKDialog}>Ok</Button>
)} )}
</DialogActions> </DialogActions>
</Dialog> </Dialog>

View File

@ -281,6 +281,8 @@ const styles = StyleSheet.create({
}, },
dataBoxContainer: { dataBoxContainer: {
marginBottom: 10, marginBottom: 10,
backgroundColor: '#29292E',
border: 'none'
}, },
dataBoxLabel: { dataBoxLabel: {
fontSize: 18, fontSize: 18,
@ -296,7 +298,7 @@ const styles = StyleSheet.create({
}, },
dataBoxData: { dataBoxData: {
fontSize: 16, fontSize: 16,
color: 'black', color: 'white',
}, },
transactionText: { transactionText: {
padding: 8, padding: 8,