---
ui/components/app/selected-account/index.scss | 21 -----------
.../selected-account.component.js | 35 +++++++++++++++----
2 files changed, 29 insertions(+), 27 deletions(-)
diff --git a/ui/components/app/selected-account/index.scss b/ui/components/app/selected-account/index.scss
index 5c2be851e62c..bf4b3887c4f8 100644
--- a/ui/components/app/selected-account/index.scss
+++ b/ui/components/app/selected-account/index.scss
@@ -11,27 +11,6 @@
width: 100%;
}
- &__name {
- @include design-system.H5;
-
- width: 100%;
- font-weight: 500;
- color: var(--color-text-default);
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- text-align: center;
- margin-bottom: 4px;
- }
-
- &__address {
- @include design-system.H7;
-
- color: var(--color-text-alternative);
- display: flex;
- align-items: center;
- }
-
&__clickable {
display: flex;
flex-direction: column;
diff --git a/ui/components/app/selected-account/selected-account.component.js b/ui/components/app/selected-account/selected-account.component.js
index 0ab706deab69..ee13d7f786d3 100644
--- a/ui/components/app/selected-account/selected-account.component.js
+++ b/ui/components/app/selected-account/selected-account.component.js
@@ -11,8 +11,17 @@ import { getEnvironmentType } from '../../../../app/scripts/lib/util';
import { ENVIRONMENT_TYPE_POPUP } from '../../../../shared/constants/app';
import CustodyLabels from '../../institutional/custody-labels/custody-labels';
///: END:ONLY_INCLUDE_IF
-import { Icon, IconName, IconSize } from '../../component-library';
-import { IconColor } from '../../../helpers/constants/design-system';
+import { Icon, IconName, IconSize, Text } from '../../component-library';
+import {
+ IconColor,
+ TextVariant,
+ TextColor,
+ TextAlign,
+ BlockSize,
+ Display,
+ FontWeight,
+ AlignItems,
+} from '../../../helpers/constants/design-system';
import { COPY_OPTIONS } from '../../../../shared/constants/copy';
class SelectedAccount extends Component {
@@ -108,10 +117,24 @@ class SelectedAccount extends Component {
copyToClipboard(checksummedAddress, COPY_OPTIONS);
}}
>
-
+
{selectedAccount.metadata.name}
-
-
+
+
{
///: BEGIN:ONLY_INCLUDE_IF(build-mmi)
showCustodyLabels &&
@@ -132,7 +155,7 @@ class SelectedAccount extends Component {
/>
)}
-
+