Skip to content

Commit

Permalink
Merge pull request #183 from ZeroGachis/task/fix-default-color
Browse files Browse the repository at this point in the history
🐛 set Body default color without override all
  • Loading branch information
ulricden authored Feb 5, 2024
2 parents c826331 + d847c5b commit 46a4e4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ exports[`MODULE | ActionCard component renders correctly 1`] = `
"textAlign": "center",
},
{
"color": "#212B36",
"fontFamily": "PublicSans-Regular",
"fontSize": 14,
},
Expand Down Expand Up @@ -184,6 +185,7 @@ exports[`MODULE | ActionCard component renders correctly in disabled state 1`] =
"textAlign": "center",
},
{
"color": "#212B36",
"fontFamily": "PublicSans-Regular",
"fontSize": 14,
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/typography/Body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ export const Body = (props: BodyProps) => {
}

bodyStyle = {
color: theme.sw.colors.neutral['800'],
...bodyStyle,
fontFamily: 'PublicSans-' + weightSuffix,
color: theme.sw.colors.neutral['800'],
};

return (
Expand Down

0 comments on commit 46a4e4e

Please sign in to comment.