diff --git a/ui/components/app/permission-cell/permission-cell.js b/ui/components/app/permission-cell/permission-cell.js index ea8f49c34..b8830179c 100644 --- a/ui/components/app/permission-cell/permission-cell.js +++ b/ui/components/app/permission-cell/permission-cell.js @@ -13,6 +13,7 @@ import { } from '../../../helpers/constants/design-system'; import { AvatarIcon, + AvatarIconSize, Icon, IconName, IconSize, @@ -77,7 +78,7 @@ const PermissionCell = ({ {typeof permissionIcon === 'string' ? ( { {iconName && ( diff --git a/ui/components/app/snaps/snap-delineator/snap-delineator.js b/ui/components/app/snaps/snap-delineator/snap-delineator.js index a1338abba..20999c8e5 100644 --- a/ui/components/app/snaps/snap-delineator/snap-delineator.js +++ b/ui/components/app/snaps/snap-delineator/snap-delineator.js @@ -10,12 +10,13 @@ import { IconColor, TextVariant, TextColor, + Display, } from '../../../../helpers/constants/design-system'; -import Box from '../../../ui/box'; import { AvatarIcon, + AvatarIconSize, + Box, IconName, - IconSize, Text, } from '../../../component-library'; import { @@ -42,19 +43,19 @@ export const SnapDelineator = ({ > diff --git a/ui/components/app/snaps/snap-install-warning/snap-install-warning.js b/ui/components/app/snaps/snap-install-warning/snap-install-warning.js index 0eff25f13..73a8f07ea 100644 --- a/ui/components/app/snaps/snap-install-warning/snap-install-warning.js +++ b/ui/components/app/snaps/snap-install-warning/snap-install-warning.js @@ -10,14 +10,18 @@ import { IconColor, TextVariant, TextAlign, - Size, JustifyContent, FontWeight, } from '../../../../helpers/constants/design-system'; import Popover from '../../../ui/popover'; import Button from '../../../ui/button'; -import { AvatarIcon, IconName, Text } from '../../../component-library'; -import Box from '../../../ui/box/box'; +import { + AvatarIcon, + AvatarIconSize, + Box, + IconName, + Text, +} from '../../../component-library'; /** * a very simple reducer using produce from Immer to keep checkboxes state manipulation @@ -87,7 +91,7 @@ export default function SnapInstallWarning({ iconName={IconName.Danger} backgroundColor={BackgroundColor.warningMuted} color={IconColor.warningDefault} - size={Size.XL} + size={AvatarIconSize.Xl} /> @@ -51,14 +51,14 @@ export default function SnapPrivacyWarning({ onAccepted, onCanceled }) { iconName={IconName.Info} color={IconColor.infoDefault} backgroundColor={BackgroundColor.primaryMuted} - size={IconSize.Md} + size={AvatarIconSize.Md} /> @@ -119,12 +119,12 @@ export default function SnapPrivacyWarning({ onAccepted, onCanceled }) {