@@ -13,6 +13,7 @@ import {
1313} from '../../base' ;
1414import { ChainIcon , DeleteIcon , LockIcon , PublicIcon } from '../../icons' ;
1515import { useTheme } from '../../theme' ;
16+ import { BLACK , WHITE } from '../../theme/colors' ;
1617import { Modal , ModalBody , ModalButtonPrimary , ModalButtonSecondary , ModalFooter } from '../Modal' ;
1718import { UserSearchField } from '../UserSearchField' ;
1819import {
@@ -65,6 +66,8 @@ const AccessList: React.FC<AccessListProps> = ({
6566 window . open ( url , '_blank' , 'noreferrer' ) ;
6667 } ;
6768
69+ const theme = useTheme ( ) ;
70+
6871 return (
6972 < >
7073 { accessList . length > 0 && (
@@ -99,7 +102,7 @@ const AccessList: React.FC<AccessListProps> = ({
99102 aria-label = "delete"
100103 onClick = { ( ) => handleDelete ( actorData . email ) }
101104 >
102- < DeleteIcon />
105+ < DeleteIcon fill = { theme . palette . background . neutral ?. default } />
103106 </ IconButton >
104107 ) }
105108 </ ListItemSecondaryAction >
@@ -240,8 +243,6 @@ const ShareModal: React.FC<ShareModalProps> = ({
240243 }
241244 fetchSuggestions = { fetchSuggestions }
242245 />
243- </ ModalBody >
244- < ModalBody >
245246 < CustomListItemText >
246247 < Typography variant = "h6" > General Access</ Typography >
247248 </ CustomListItemText >
@@ -253,13 +254,13 @@ const ShareModal: React.FC<ShareModalProps> = ({
253254 < PublicIcon
254255 width = { 24 }
255256 height = { 24 }
256- stroke = { theme . palette . mode === 'dark' ? '#fff' : 'black' }
257+ stroke = { theme . palette . mode === 'dark' ? WHITE : BLACK }
257258 />
258259 ) : (
259260 < LockIcon
260261 width = { 24 }
261262 height = { 24 }
262- stroke = { theme . palette . mode === 'dark' ? '#fff' : 'black' }
263+ stroke = { theme . palette . mode === 'dark' ? WHITE : BLACK }
263264 />
264265 ) }
265266 </ VisibilityIconWrapper >
@@ -291,15 +292,15 @@ const ShareModal: React.FC<ShareModalProps> = ({
291292 </ ModalBody >
292293
293294 < ModalFooter variant = "filled" >
294- < ModalButtonSecondary variant = "outlined" onClick = { handleCopy } >
295+ < ModalButtonSecondary
296+ variant = "outlined"
297+ onClick = { handleCopy }
298+ style = { { marginRight : '1rem' , padding : '7px 16px' } }
299+ >
295300 < IconButtonWrapper >
296- < ChainIcon
297- width = { 24 }
298- height = { 24 }
299- stroke = { theme . palette . mode === 'dark' ? '#fff' : 'black' }
300- />
301+ < ChainIcon width = { 24 } height = { 24 } fill = { theme . palette . text . constant ?. white } />
301302 </ IconButtonWrapper >
302- Copy Link
303+ < Typography > Copy Link</ Typography >
303304 </ ModalButtonSecondary >
304305 < ModalButtonPrimary
305306 disabled = { isShareDisabled ( ) }
0 commit comments