diff --git a/web-wallet/src/lib/components/ExistingWalletNotice/ExistingWalletNotice.svelte b/web-wallet/src/lib/components/ExistingWalletNotice/ExistingWalletNotice.svelte index 93fde8a51b..499380b0e0 100644 --- a/web-wallet/src/lib/components/ExistingWalletNotice/ExistingWalletNotice.svelte +++ b/web-wallet/src/lib/components/ExistingWalletNotice/ExistingWalletNotice.svelte @@ -1,6 +1,7 @@
- +

Initializing a new wallet will replace your existing local wallet cache, erasing any stored data. Ensure you have securely backed up your current @@ -30,7 +34,7 @@ }} /> - +

diff --git a/web-wallet/src/routes/(welcome)/setup/PasswordSetup.svelte b/web-wallet/src/routes/(welcome)/setup/PasswordSetup.svelte index 1c9b3437e2..dceb996393 100644 --- a/web-wallet/src/routes/(welcome)/setup/PasswordSetup.svelte +++ b/web-wallet/src/routes/(welcome)/setup/PasswordSetup.svelte @@ -1,5 +1,6 @@ - +

Please store your password safely.

{/if} -
+
diff --git a/web-wallet/src/routes/(welcome)/setup/TermsOfService.svelte b/web-wallet/src/routes/(welcome)/setup/TermsOfService.svelte index 34754dc770..ff48e933a3 100644 --- a/web-wallet/src/routes/(welcome)/setup/TermsOfService.svelte +++ b/web-wallet/src/routes/(welcome)/setup/TermsOfService.svelte @@ -1,13 +1,14 @@
- +

Our

- + diff --git a/web-wallet/src/routes/(welcome)/setup/create/MnemonicPreSetup.svelte b/web-wallet/src/routes/(welcome)/setup/create/MnemonicPreSetup.svelte index 5dbf7b4a72..a7f52dff87 100644 --- a/web-wallet/src/routes/(welcome)/setup/create/MnemonicPreSetup.svelte +++ b/web-wallet/src/routes/(welcome)/setup/create/MnemonicPreSetup.svelte @@ -1,5 +1,6 @@ - + - +
@@ -37,7 +38,7 @@
diff --git a/web-wallet/src/routes/(welcome)/setup/create/MnemonicValidate.svelte b/web-wallet/src/routes/(welcome)/setup/create/MnemonicValidate.svelte index 9de34ccbfb..977b57df91 100644 --- a/web-wallet/src/routes/(welcome)/setup/create/MnemonicValidate.svelte +++ b/web-wallet/src/routes/(welcome)/setup/create/MnemonicValidate.svelte @@ -1,7 +1,8 @@ - +

Ensure you have backed up the Mnemonic phrase.

Mnemonic does not match.

{/if} -
+ diff --git a/web-wallet/src/routes/(welcome)/setup/create/__tests__/__snapshots__/page.spec.js.snap b/web-wallet/src/routes/(welcome)/setup/create/__tests__/__snapshots__/page.spec.js.snap index 15e61db7de..5bfc27f511 100644 --- a/web-wallet/src/routes/(welcome)/setup/create/__tests__/__snapshots__/page.spec.js.snap +++ b/web-wallet/src/routes/(welcome)/setup/create/__tests__/__snapshots__/page.spec.js.snap @@ -75,33 +75,38 @@ exports[`Create > correctly renders the Mnemonic Preview page 1`] = `
- - - - - - -

- Keep this SAFE -

+ + + + + + +

+ Keep this SAFE +

+

Please make sure to write your phrase down and save it in a secure location.

@@ -171,9 +176,12 @@ exports[`Create > correctly renders the Mnemonic Preview page 1`] = ` + + +
correctly renders the Mnemonic Verification page 1`] = `
- -

- Verification -

+ +

+ Verification +

+
@@ -614,9 +627,12 @@ exports[`Create > correctly renders the Mnemonic Verification page 1`] = ` + +
+
doesn't let the user proceed if they have entered mismatching
- -

- Verification -

+ +

+ Verification +

+
@@ -1087,9 +1108,12 @@ exports[`Create > doesn't let the user proceed if they have entered mismatching

+ + +
ensures that the Undo button on the Mnemonic Validate step wor
- -

- Verification -

+ +

+ Verification +

+
@@ -1538,9 +1567,12 @@ exports[`Create > ensures that the Undo button on the Mnemonic Validate step wor + +
+
ensures the All Done step renders as expected 1`] = `
- -

- You are all set! -

+ +

+ You are all set! +

+
@@ -1725,9 +1762,12 @@ exports[`Create > ensures the All Done step renders as expected 1`] = ` width="205" /> + +
+
ensures the Password step renders as expected 1`] = `
- - - - - - -

- Password -

+ + + + + + +

+ Password +

+
ensures the Password step renders as expected 1`] = ` + +
+
ensures the Password step renders as expected 2`] = `
- - - - - - -

- Password -

+ + + + + + +

+ Password +

+
ensures the Password step renders as expected 2`] = ` Password must be at least 8 characters
+ +
+
lets the user proceed if they have entered a matching Mnemonic
- -

- Verification -

+ +

+ Verification +

+
@@ -2784,9 +2845,12 @@ exports[`Create > lets the user proceed if they have entered a matching Mnemonic + +
+
should render the \`Securely store your seed phrase!\` agreeme
- -

- Securely store your seed phrase! -

+ +

+ Securely store your seed phrase! +

+
@@ -2985,13 +3054,16 @@ exports[`Create > should render the \`Securely store your seed phrase!\` agreeme for="dusk-checkbox-16" > I understand that securing my recovery phrase is my own responsibility. - Only I have access to my recovery phrase + Only I have access to my recovery phrase
+ +
+
should render the Existing Wallet notice step of the Create fl class="s-0jNtmKPqmF7T" >
- - - - - - -

- Existing Wallet Detected -

+ + + + + + +

+ Existing Wallet Detected +

+
@@ -3174,9 +3251,12 @@ exports[`Create > should render the Existing Wallet notice step of the Create fl
+ + + @@ -3194,17 +3274,22 @@ exports[`Create > should render the Terms of Service step of the Create flow if class="s-c41QPMu_i3CH" >
- -

- Terms & Privacy Policy -

+ +

+ Terms & Privacy Policy +

+
@@ -3257,9 +3342,12 @@ exports[`Create > should render the Terms of Service step of the Create flow if + + + diff --git a/web-wallet/src/routes/(welcome)/setup/restore/MnemonicAuthenticate.svelte b/web-wallet/src/routes/(welcome)/setup/restore/MnemonicAuthenticate.svelte index ad14c4b4ce..7ec47dda19 100644 --- a/web-wallet/src/routes/(welcome)/setup/restore/MnemonicAuthenticate.svelte +++ b/web-wallet/src/routes/(welcome)/setup/restore/MnemonicAuthenticate.svelte @@ -1,9 +1,12 @@ - + - + diff --git a/web-wallet/src/routes/(welcome)/setup/restore/__tests__/__snapshots__/page.spec.js.snap b/web-wallet/src/routes/(welcome)/setup/restore/__tests__/__snapshots__/page.spec.js.snap index 93f0a31d7c..f14c234fef 100644 --- a/web-wallet/src/routes/(welcome)/setup/restore/__tests__/__snapshots__/page.spec.js.snap +++ b/web-wallet/src/routes/(welcome)/setup/restore/__tests__/__snapshots__/page.spec.js.snap @@ -9,28 +9,33 @@ exports[`Restore > should render the Existing Wallet notice step of the Restore class="s-0jNtmKPqmF7T" >
- - - - - - -

- Existing Wallet Detected -

+ + + + + + +

+ Existing Wallet Detected +

+
@@ -74,9 +79,12 @@ exports[`Restore > should render the Existing Wallet notice step of the Restore + + + @@ -142,17 +150,22 @@ exports[`Restore > should render the Mnemonic Authenticate step after accepting
- -

- Enter your Mnemonic Phrase -

+ +

+ Enter your Mnemonic Phrase +

+
@@ -296,9 +309,12 @@ exports[`Restore > should render the Mnemonic Authenticate step after accepting + + +
should render the Terms of Service step of the Restore flow i class="s-c41QPMu_i3CH" >
- -

- Terms & Privacy Policy -

+ +

+ Terms & Privacy Policy +

+
@@ -447,9 +468,12 @@ exports[`Restore > should render the Terms of Service step of the Restore flow i
+ + + diff --git a/web-wallet/src/routes/components-showcase/Cards.svelte b/web-wallet/src/routes/components-showcase/Cards.svelte index 615e078db1..3c6ca8b2fe 100644 --- a/web-wallet/src/routes/components-showcase/Cards.svelte +++ b/web-wallet/src/routes/components-showcase/Cards.svelte @@ -1,12 +1,14 @@
- - - + +
+ +

Card Title

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In viverra tincidunt dolor, nec imperdiet felis tristique non. Nunc quis tempus est, @@ -17,11 +19,20 @@ ullamcorper in velit. Aenean eros dolor, condimentum sed tempor et, ornare in erat.

+
- diff --git a/web-wallet/src/style/dusk-components/card.css b/web-wallet/src/style/dusk-components/card.css index 2242b3fc97..7930c6affb 100644 --- a/web-wallet/src/style/dusk-components/card.css +++ b/web-wallet/src/style/dusk-components/card.css @@ -1,34 +1,27 @@ .dusk-card { background-color: var(--surface-color); border-radius: var(--control-border-radius-size); - padding: 1.3em 2em; + padding: 1.3rem 2rem; + display: flex; + flex-direction: column; } .dusk-card--on-surface { - background-color: var(--background-color); -} - -.dusk-card__icon { - margin-right: 0.4em; - font-size: 1.1em; + background-color: var(--on-primary-color); } -.dusk-card__header { - display: flex; - margin-bottom: 1.25em; - align-items: center; +.dusk-card--gap-small { + gap: 0.5em; } -.dusk-card__header--toggle-off { - margin-bottom: 0; +.dusk-card--gap-default { + gap: 0.625em; } -.dusk-card .dusk-switch { - margin-left: auto; +.dusk-card--gap-medium { + gap: 1.25em; } -.dusk-card pre { - overflow-x: auto; - tab-size: 4; - padding: 1em 0; +.dusk-card--gap-large { + gap: 1.875em; }