Rework all typography
This commit is contained in:
parent
df4acbd683
commit
77580ab6a4
28 changed files with 355 additions and 162 deletions
|
@ -31,7 +31,7 @@ export function ErrorMessage({
|
|||
<FontAwesomeIcon icon="exclamation" style={pal.text} size={16} />
|
||||
</View>
|
||||
<Text
|
||||
type="body2"
|
||||
type="sm"
|
||||
style={[styles.message, pal.text]}
|
||||
numberOfLines={numberOfLines}>
|
||||
{message}
|
||||
|
|
|
@ -36,14 +36,14 @@ export function ErrorScreen({
|
|||
/>
|
||||
</View>
|
||||
</View>
|
||||
<Text type="h3" style={[styles.title, pal.text]}>
|
||||
<Text type="title-lg" style={[styles.title, pal.text]}>
|
||||
{title}
|
||||
</Text>
|
||||
<Text style={[styles.message, pal.textLight]}>{message}</Text>
|
||||
{details && (
|
||||
<Text
|
||||
testID={`${testID}-details`}
|
||||
type="body2"
|
||||
type="sm"
|
||||
style={[
|
||||
styles.details,
|
||||
pal.textInverted,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue