From 55cceba1d4171ec2d2cf7a669a6ecbc22945412b Mon Sep 17 00:00:00 2001 From: Aaron Cook Date: Fri, 29 Nov 2024 10:48:43 +0100 Subject: [PATCH] Address design review --- public/images/sidebar/subaccounts-icon.svg | 2 +- src/components/sidebar/SubaccountInfo/index.tsx | 6 +++--- .../sidebar/SubaccountsButton/styles.module.css | 8 +++++--- .../tx-flow/flows/CreateSubaccount/SetupSubaccount.tsx | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/public/images/sidebar/subaccounts-icon.svg b/public/images/sidebar/subaccounts-icon.svg index ee7ca94938..51289915a7 100644 --- a/public/images/sidebar/subaccounts-icon.svg +++ b/public/images/sidebar/subaccounts-icon.svg @@ -1,3 +1,3 @@ - + diff --git a/src/components/sidebar/SubaccountInfo/index.tsx b/src/components/sidebar/SubaccountInfo/index.tsx index dbb333d3af..6bf792ab89 100644 --- a/src/components/sidebar/SubaccountInfo/index.tsx +++ b/src/components/sidebar/SubaccountInfo/index.tsx @@ -39,9 +39,9 @@ export function SubaccountInfo(): ReactElement { {[ - 'Use them for specific cases such as DeFi operations', - 'Install modules to execute transactions, bypassing thresholds', - 'Make sure that this Safe is not exposed to additional risks', + 'rebuild your organizational structure onchain', + 'explore new DeFi opportunities without exposing your main Account', + 'deploy specialized modules and enable easier access through passkeys and other signers', ].map((item) => { return ( diff --git a/src/components/sidebar/SubaccountsButton/styles.module.css b/src/components/sidebar/SubaccountsButton/styles.module.css index 0a17a7536e..d0254216ea 100644 --- a/src/components/sidebar/SubaccountsButton/styles.module.css +++ b/src/components/sidebar/SubaccountsButton/styles.module.css @@ -1,10 +1,12 @@ .badge :global .MuiBadge-badge { - border: 2px solid var(--color-background-paper); + border: 1px solid var(--color-background-main); border-radius: 50%; box-sizing: content-box; - right: 10px; + right: 12px; top: 8px; - background-color: var(--color-success-light); + background-color: var(--color-secondary-main); + height: 6px; + min-width: 6px; } .count { diff --git a/src/components/tx-flow/flows/CreateSubaccount/SetupSubaccount.tsx b/src/components/tx-flow/flows/CreateSubaccount/SetupSubaccount.tsx index 0b52d39a2a..64c95809fd 100644 --- a/src/components/tx-flow/flows/CreateSubaccount/SetupSubaccount.tsx +++ b/src/components/tx-flow/flows/CreateSubaccount/SetupSubaccount.tsx @@ -251,7 +251,7 @@ function AssetInputs({ name }: { name: SetupSubaccountFormFields.assets }) { sx={{ my: 3 }} disabled={nonSelectedAssets.length === 0} > - Add asset + Fund new asset )