mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Update BannerAlert icon to match Figma Issue#20355 (#20407)
* changed warning --> danger * snapshot updates * Adding comment * Updating snapshot --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
This commit is contained in:
parent
0ca4a3c457
commit
b0fcb12b99
@ -52,7 +52,7 @@ exports[`Blockaid Banner Alert should render 'warning' UI when securityAlertResp
|
||||
>
|
||||
<span
|
||||
class="mm-box mm-icon mm-icon--size-lg mm-box--display-inline-block mm-box--color-warning-default"
|
||||
style="mask-image: url('./images/icons/warning.svg');"
|
||||
style="mask-image: url('./images/icons/danger.svg');"
|
||||
/>
|
||||
<div>
|
||||
<h5
|
||||
@ -76,7 +76,7 @@ exports[`Blockaid Banner Alert should render 'warning' UI when securityAlertResp
|
||||
>
|
||||
<span
|
||||
class="mm-box mm-icon mm-icon--size-lg mm-box--display-inline-block mm-box--color-warning-default"
|
||||
style="mask-image: url('./images/icons/warning.svg');"
|
||||
style="mask-image: url('./images/icons/danger.svg');"
|
||||
/>
|
||||
<div>
|
||||
<h5
|
||||
@ -123,7 +123,7 @@ exports[`Blockaid Banner Alert should render details when provided 1`] = `
|
||||
>
|
||||
<span
|
||||
class="mm-box mm-icon mm-icon--size-lg mm-box--display-inline-block mm-box--color-warning-default"
|
||||
style="mask-image: url('./images/icons/warning.svg');"
|
||||
style="mask-image: url('./images/icons/danger.svg');"
|
||||
/>
|
||||
<div>
|
||||
<h5
|
||||
|
@ -26,7 +26,7 @@ export const BannerAlert = ({
|
||||
};
|
||||
case Severity.Warning:
|
||||
return {
|
||||
name: IconName.Warning,
|
||||
name: IconName.Danger, // Uses same icon as danger
|
||||
color: IconColor.warningDefault,
|
||||
};
|
||||
case Severity.Success:
|
||||
|
@ -319,7 +319,7 @@ exports[`ConfirmSendEther should render correct information for for confirm send
|
||||
>
|
||||
<span
|
||||
class="mm-box mm-icon mm-icon--size-lg mm-box--display-inline-block mm-box--color-warning-default"
|
||||
style="mask-image: url('./images/icons/warning.svg');"
|
||||
style="mask-image: url('./images/icons/danger.svg');"
|
||||
/>
|
||||
<div>
|
||||
<p
|
||||
|
Loading…
Reference in New Issue
Block a user