@@ -13,6 +13,7 @@ import {
13
13
} from '../../base' ;
14
14
import { ChainIcon , DeleteIcon , LockIcon , PublicIcon } from '../../icons' ;
15
15
import { useTheme } from '../../theme' ;
16
+ import { BLACK , WHITE } from '../../theme/colors' ;
16
17
import { Modal , ModalBody , ModalButtonPrimary , ModalButtonSecondary , ModalFooter } from '../Modal' ;
17
18
import { UserSearchField } from '../UserSearchField' ;
18
19
import {
@@ -65,6 +66,8 @@ const AccessList: React.FC<AccessListProps> = ({
65
66
window . open ( url , '_blank' , 'noreferrer' ) ;
66
67
} ;
67
68
69
+ const theme = useTheme ( ) ;
70
+
68
71
return (
69
72
< >
70
73
{ accessList . length > 0 && (
@@ -99,7 +102,7 @@ const AccessList: React.FC<AccessListProps> = ({
99
102
aria-label = "delete"
100
103
onClick = { ( ) => handleDelete ( actorData . email ) }
101
104
>
102
- < DeleteIcon />
105
+ < DeleteIcon fill = { theme . palette . background . neutral ?. default } />
103
106
</ IconButton >
104
107
) }
105
108
</ ListItemSecondaryAction >
@@ -240,8 +243,6 @@ const ShareModal: React.FC<ShareModalProps> = ({
240
243
}
241
244
fetchSuggestions = { fetchSuggestions }
242
245
/>
243
- </ ModalBody >
244
- < ModalBody >
245
246
< CustomListItemText >
246
247
< Typography variant = "h6" > General Access</ Typography >
247
248
</ CustomListItemText >
@@ -253,13 +254,13 @@ const ShareModal: React.FC<ShareModalProps> = ({
253
254
< PublicIcon
254
255
width = { 24 }
255
256
height = { 24 }
256
- stroke = { theme . palette . mode === 'dark' ? '#fff' : 'black' }
257
+ stroke = { theme . palette . mode === 'dark' ? WHITE : BLACK }
257
258
/>
258
259
) : (
259
260
< LockIcon
260
261
width = { 24 }
261
262
height = { 24 }
262
- stroke = { theme . palette . mode === 'dark' ? '#fff' : 'black' }
263
+ stroke = { theme . palette . mode === 'dark' ? WHITE : BLACK }
263
264
/>
264
265
) }
265
266
</ VisibilityIconWrapper >
@@ -291,15 +292,15 @@ const ShareModal: React.FC<ShareModalProps> = ({
291
292
</ ModalBody >
292
293
293
294
< 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
+ >
295
300
< 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 } />
301
302
</ IconButtonWrapper >
302
- Copy Link
303
+ < Typography > Copy Link</ Typography >
303
304
</ ModalButtonSecondary >
304
305
< ModalButtonPrimary
305
306
disabled = { isShareDisabled ( ) }
0 commit comments