fix: fontWeight and fullWidth for Wallet manager screen#1473
Conversation
Signed-off-by: clegirar <clemntgirard@gmail.com>
✅ Deploy Preview for gno-dapp ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for teritori-dapp ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
| <BrandText style={[fontRegular12]}>{title}</BrandText> | ||
| <BrandText style={[fontRegular16]}>{data}</BrandText> |
There was a problem hiding this comment.
It's a smaaaall detail, but we can remove the arrays usage is styles (I forgot too sometimes lol)
| <BrandText style={[fontRegular12]}>{title}</BrandText> | |
| <BrandText style={[fontRegular16]}>{data}</BrandText> | |
| <BrandText style={fontRegular12}>{title}</BrandText> | |
| <BrandText style={fontRegular16}>{data}</BrandText> |
| <NetworkIcon networkId={networkId} size={32} /> | ||
| <SpacerRow size={3} /> | ||
| <BrandText> | ||
| <BrandText style={[fontRegular16]}> |
There was a problem hiding this comment.
| <BrandText style={[fontRegular16]}> | |
| <BrandText style={fontRegular16}> |
There was a problem hiding this comment.
StyleSheet usage in this file
| <View style={{ marginLeft: 16 }}> | ||
| <View> | ||
| <BrandText>{item.provider}</BrandText> | ||
| <BrandText style={[fontRegular18]}>{item.provider}</BrandText> |
There was a problem hiding this comment.
| <BrandText style={[fontRegular18]}>{item.provider}</BrandText> | |
| <BrandText style={fontRegular18}>{item.provider}</BrandText> |
| > | ||
| {item.address} | ||
| </BrandText> | ||
| <BrandText style={[fontRegular12]}>{item.address}</BrandText> |
There was a problem hiding this comment.
| <BrandText style={[fontRegular12]}>{item.address}</BrandText> | |
| <BrandText style={fontRegular12}>{item.address}</BrandText> |
| fontSize: 14, | ||
| }} | ||
| > | ||
| <BrandText style={[fontRegular14]}> |
There was a problem hiding this comment.
| <BrandText style={[fontRegular14]}> | |
| <BrandText style={fontRegular14}> |
| fontSize: 14, | ||
| }} | ||
| > | ||
| <BrandText style={[fontRegular14]}> |
There was a problem hiding this comment.
| <BrandText style={[fontRegular14]}> | |
| <BrandText style={fontRegular14}> |
There was a problem hiding this comment.
Please remove StyleSheet usages when you see that in your changed files
There was a problem hiding this comment.
StyleSheet usage in this file (pretty big)
Signed-off-by: clegirar <clemntgirard@gmail.com>
|
Yeah it's out of scope, but we can do some PR to remove |
Signed-off-by: clegirar <clemntgirard@gmail.com>
Fixed
fontWeightandfullWidthforWallet managerscreenIn packages/components/inputs/TextInputCustom.tsx i put a text color by default (i did the same thing than here BrandTextBase.tsx)


Before:
After:
I changed just the spacing of some style props which were many lines and could fit in one line (example here)
For the
fullWidthscreen, we are obligate to do that for the moment.But at the end, it would be great to move that in the future
ScreenContainerrefacto, and just passfullWidthtoScreenContainer, and will handle it in his scope.Else there is the changes for the entire screen 👍

Before:
After:
