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 22:38:00 +05:30
committed by GitHub
parent 526a3d7d9a
commit a4e45d039e
2 changed files with 6 additions and 2 deletions

View File

@ -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>

View File

@ -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>