Skip to content

Commit

Permalink
🐛 set Body default color without override all
Browse files Browse the repository at this point in the history
  • Loading branch information
ulricden committed Feb 5, 2024
1 parent c826331 commit d847c5b
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 d847c5b

Please sign in to comment.