Skip to content

Commit b67caad

Browse files
committed
fix: paragraph font family
1 parent 4522b12 commit b67caad

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/Typography/Paragraph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const ParagraphBase = (props: ParagraphProps) => {
3636
const {
3737
children,
3838
color = 'default',
39-
fontFamily = 'ui',
39+
fontFamily = 'text',
4040
size = 'medium',
4141
textAlign,
4242
theme,

tests/__snapshots__/snapshot.test.js.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38971,6 +38971,7 @@ exports[`Typography_1 1`] = `
3897138971
"boxSizing": "border-box",
3897238972
"color": "rgba(126,126,126,1.00)",
3897338973
"display": "inline",
38974+
"fontFamily": "\\"SF UI Text\\", -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, Helvetica, Arial, sans-serif, \\"Apple Color Emoji\\", \\"Segoe UI Emoji\\", \\"Segoe UI Symbol\\"",
3897438975
"fontSize": "14px",
3897538976
"fontStyle": "inherit",
3897638977
"fontVariant": "inherit",
@@ -39005,6 +39006,7 @@ exports[`Typography_1 1`] = `
3900539006
"boxSizing": "border-box",
3900639007
"color": "rgba(126,126,126,1.00)",
3900739008
"display": "inline",
39009+
"fontFamily": "\\"SF UI Text\\", -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, Helvetica, Arial, sans-serif, \\"Apple Color Emoji\\", \\"Segoe UI Emoji\\", \\"Segoe UI Symbol\\"",
3900839010
"fontSize": "16px",
3900939011
"fontStyle": "inherit",
3901039012
"fontVariant": "inherit",
@@ -39039,6 +39041,7 @@ exports[`Typography_1 1`] = `
3903939041
"boxSizing": "border-box",
3904039042
"color": "rgba(126,126,126,1.00)",
3904139043
"display": "inline",
39044+
"fontFamily": "\\"SF UI Text\\", -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, Helvetica, Arial, sans-serif, \\"Apple Color Emoji\\", \\"Segoe UI Emoji\\", \\"Segoe UI Symbol\\"",
3904239045
"fontSize": "20px",
3904339046
"fontStyle": "inherit",
3904439047
"fontVariant": "inherit",

0 commit comments

Comments
 (0)