Skip to content

Commit fc9acfd

Browse files
committed
fix(shareModal): theme fix for text and icon
Signed-off-by: Sudhanshu Dasgupta <[email protected]>
1 parent 44c6e97 commit fc9acfd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/custom/ShareModal/ShareModal.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,14 @@ const ShareModal: React.FC<ShareModalProps> = ({
257257
<PublicIcon
258258
width={24}
259259
height={24}
260+
fill={theme.palette.icon.default}
260261
stroke={theme.palette.mode === 'dark' ? WHITE : BLACK}
261262
/>
262263
) : (
263264
<LockIcon
264265
width={24}
265266
height={24}
267+
fill={theme.palette.icon.default}
266268
stroke={theme.palette.mode === 'dark' ? WHITE : BLACK}
267269
/>
268270
)}
@@ -289,7 +291,13 @@ const ShareModal: React.FC<ShareModalProps> = ({
289291
</MenuItem>
290292
))}
291293
</CustomSelect>
292-
<Typography component="span" variant="body2">
294+
<Typography
295+
sx={{
296+
color: theme.palette.text.secondary
297+
}}
298+
component="span"
299+
variant="body2"
300+
>
293301
{selectedOption === SHARE_MODE.PRIVATE ? options.PRIVATE : options.PUBLIC}
294302
</Typography>
295303
</div>

0 commit comments

Comments
 (0)