File tree 2 files changed +6
-13
lines changed
pages/OrganizationSettingsPage/CustomRolesPage
2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 1
1
import { type Interpolation , type Theme , css } from "@emotion/react" ;
2
- import VisibilityOffOutlined from "@mui/icons-material/VisibilityOffOutlined" ;
3
- import VisibilityOutlined from "@mui/icons-material/VisibilityOutlined" ;
2
+ import { EyeIcon , EyeOffIcon } from "lucide-react" ;
4
3
import IconButton from "@mui/material/IconButton" ;
5
4
import Tooltip from "@mui/material/Tooltip" ;
6
5
import { CopyableValue } from "components/CopyableValue/CopyableValue" ;
@@ -20,9 +19,9 @@ export const SensitiveValue: FC<SensitiveValueProps> = ({ value }) => {
20
19
const displayValue = shouldDisplay ? value : "••••••••" ;
21
20
const buttonLabel = shouldDisplay ? Language . hideLabel : Language . showLabel ;
22
21
const icon = shouldDisplay ? (
23
- < VisibilityOffOutlined />
22
+ < EyeOffIcon className = "size-icon-xs" />
24
23
) : (
25
- < VisibilityOutlined />
24
+ < EyeIcon className = "size-icon-xs" />
26
25
) ;
27
26
28
27
return (
@@ -63,10 +62,5 @@ const styles = {
63
62
64
63
button : css `
65
64
color : inherit;
66
-
67
- & .MuiSvgIcon-root {
68
- width : 16px ;
69
- height : 16px ;
70
- }
71
65
` ,
72
66
} satisfies Record < string , Interpolation < Theme > > ;
Original file line number Diff line number Diff line change 1
1
import type { Interpolation , Theme } from "@emotion/react" ;
2
- import VisibilityOffOutlinedIcon from "@mui/icons-material/VisibilityOffOutlined" ;
3
- import VisibilityOutlinedIcon from "@mui/icons-material/VisibilityOutlined" ;
2
+ import { EyeIcon , EyeOffIcon } from "lucide-react" ;
4
3
import Checkbox from "@mui/material/Checkbox" ;
5
4
import FormControlLabel from "@mui/material/FormControlLabel" ;
6
5
import Table from "@mui/material/Table" ;
@@ -398,8 +397,8 @@ const ShowAllResourcesCheckbox: FC<ShowAllResourcesCheckboxProps> = ({
398
397
name = "show_all_permissions"
399
398
checked = { showAllResources }
400
399
onChange = { ( e ) => setShowAllResources ( e . currentTarget . checked ) }
401
- checkedIcon = { < VisibilityOutlinedIcon /> }
402
- icon = { < VisibilityOffOutlinedIcon /> }
400
+ checkedIcon = { < EyeIcon className = "size-icon-sm" /> }
401
+ icon = { < EyeOffIcon className = "size-icon-sm" /> }
403
402
/>
404
403
}
405
404
label = {
You can’t perform that action at this time.
0 commit comments