Updated the color theme of icon in Data Model Settings table (#3121)

* Updated the color theme of icon in Data Model Settings table

* add the sm stroke to icon

* add the sm stroke to icon

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Praveen Shinde
2023-12-26 18:08:00 +01:00
committed by GitHub
co-authored by Lucas Bordeau
parent 526a3d7d9a
commit a4e45d039e
2 changed files with 6 additions and 2 deletions
@@ -60,7 +60,9 @@ export const SettingsObjectFieldItemTableRow = ({
return (
<StyledObjectFieldTableRow>
<StyledNameTableCell>
{!!Icon && <Icon size={theme.icon.size.md} />}
{!!Icon && (
<Icon size={theme.icon.size.md} stroke={theme.icon.stroke.sm} />
)}
{fieldMetadataItem.label}
</StyledNameTableCell>
<TableCell>
@@ -46,7 +46,9 @@ export const SettingsObjectItemTableRow = ({
return (
<StyledObjectTableRow key={objectItem.namePlural} onClick={onClick}>
<StyledNameTableCell>
{!!Icon && <Icon size={theme.icon.size.md} />}
{!!Icon && (
<Icon size={theme.icon.size.md} stroke={theme.icon.stroke.sm} />
)}
{objectItem.labelPlural}
</StyledNameTableCell>
<TableCell>