Rework all typography
This commit is contained in:
parent
df4acbd683
commit
77580ab6a4
28 changed files with 355 additions and 162 deletions
|
@ -92,21 +92,18 @@ export function PostEmbeds({
|
|||
/>
|
||||
)}
|
||||
<View style={styles.extInner}>
|
||||
<Text
|
||||
type="body2"
|
||||
numberOfLines={2}
|
||||
style={[pal.text, styles.extTitle]}>
|
||||
<Text type="sm-bold" numberOfLines={2} style={[pal.text]}>
|
||||
{link.title || link.uri}
|
||||
</Text>
|
||||
<Text
|
||||
type="body2"
|
||||
type="sm"
|
||||
numberOfLines={1}
|
||||
style={[pal.textLight, styles.extUri]}>
|
||||
{link.uri}
|
||||
</Text>
|
||||
{link.description ? (
|
||||
<Text
|
||||
type="body2"
|
||||
type="sm"
|
||||
numberOfLines={2}
|
||||
style={[pal.text, styles.extDescription]}>
|
||||
{link.description}
|
||||
|
@ -140,9 +137,6 @@ const styles = StyleSheet.create({
|
|||
extImageFallback: {
|
||||
height: 160,
|
||||
},
|
||||
extTitle: {
|
||||
fontWeight: '600',
|
||||
},
|
||||
extUri: {
|
||||
marginTop: 2,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue