diff --git a/app/images/address-book.svg b/app/images/address-book.svg deleted file mode 100644 index 7559babab..000000000 --- a/app/images/address-book.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/images/alert-red.svg b/app/images/alert-red.svg deleted file mode 100644 index 29aa77e8c..000000000 --- a/app/images/alert-red.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/app/images/alert.svg b/app/images/alert.svg deleted file mode 100644 index 7238cfb29..000000000 --- a/app/images/alert.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/app/images/arrow-popout.svg b/app/images/arrow-popout.svg deleted file mode 100644 index c3a11e45f..000000000 --- a/app/images/arrow-popout.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/images/arrow-right.svg b/app/images/arrow-right.svg deleted file mode 100644 index 158e63c82..000000000 --- a/app/images/arrow-right.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/images/check_circle.svg b/app/images/check_circle.svg deleted file mode 100644 index 514183743..000000000 --- a/app/images/check_circle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.component.js b/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.component.js index 29f7b9edd..5c4f5d632 100644 --- a/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.component.js +++ b/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.component.js @@ -4,11 +4,7 @@ import PropTypes from 'prop-types'; const ConfirmPageContainerWarning = (props) => { return (
- +
{props.warning}
diff --git a/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.stories.js b/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.stories.js new file mode 100644 index 000000000..f36b6bf4c --- /dev/null +++ b/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.stories.js @@ -0,0 +1,19 @@ +import React from 'react'; +import ConfirmPageContainerWarning from '.'; + +export default { + title: 'Components/UI/ConfirmPageContainerWarning', // title should follow the folder structure location of the component. Don't use spaces. + id: __filename, + argTypes: { + warning: { + control: 'text', + }, + }, + args: { + warning: 'This is a warning', + }, +}; + +export const DefaultStory = (args) => ; + +DefaultStory.storyName = 'Default'; diff --git a/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/index.scss b/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/index.scss index 1d437d4a2..e5377f96a 100644 --- a/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/index.scss +++ b/ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/index.scss @@ -7,12 +7,13 @@ &__icon { flex: 0 0 auto; - margin-right: 16px; + margin-right: 8px; + color: var(--color-warning-default); } &__warning { @include H7; - color: var(--color-warning-default); + color: var(--color-text-default); } } diff --git a/ui/components/ui/error-message/error-message.component.js b/ui/components/ui/error-message/error-message.component.js index ceaf354db..dd1e16c5c 100644 --- a/ui/components/ui/error-message/error-message.component.js +++ b/ui/components/ui/error-message/error-message.component.js @@ -7,11 +7,7 @@ const ErrorMessage = (props, context) => { return (
- +
{error}
); diff --git a/ui/components/ui/error-message/index.scss b/ui/components/ui/error-message/index.scss index 80f38bc3c..42defef6e 100644 --- a/ui/components/ui/error-message/index.scss +++ b/ui/components/ui/error-message/index.scss @@ -2,9 +2,9 @@ @include H7; min-height: 32px; - border: 1px solid var(--Red-300); - color: var(--ui-black); - background: var(--error-2); + border: 1px solid var(--color-error-default); + color: var(--color-text-default); + background-color: var(--color-error-muted); border-radius: 8px; display: flex; justify-content: flex-start; @@ -14,6 +14,7 @@ &__icon { margin-right: 8px; flex: 0 0 auto; + color: var(--color-error-default); } &__text { diff --git a/ui/components/ui/sender-to-recipient/index.scss b/ui/components/ui/sender-to-recipient/index.scss index f989197c5..e00d34c4c 100644 --- a/ui/components/ui/sender-to-recipient/index.scss +++ b/ui/components/ui/sender-to-recipient/index.scss @@ -66,6 +66,10 @@ display: flex; justify-content: center; align-items: center; + + &__icon { + color: var(--color-icon-muted); + } } &__name { diff --git a/ui/components/ui/sender-to-recipient/sender-to-recipient.component.js b/ui/components/ui/sender-to-recipient/sender-to-recipient.component.js index 2b19bf4a1..deb1faf47 100644 --- a/ui/components/ui/sender-to-recipient/sender-to-recipient.component.js +++ b/ui/components/ui/sender-to-recipient/sender-to-recipient.component.js @@ -155,7 +155,7 @@ function Arrow({ variant }) { return variant === DEFAULT_VARIANT ? (
- +
) : ( diff --git a/ui/pages/home/home.component.js b/ui/pages/home/home.component.js index 730fd7de9..b9f0c9682 100644 --- a/ui/pages/home/home.component.js +++ b/ui/pages/home/home.component.js @@ -309,10 +309,7 @@ export default class Home extends PureComponent { className="home__new-network-notification" message={
- + - +
- {t('addressBookIcon')} +

{t('buildContactList')}

{t('addFriendsAndAddresses')} diff --git a/ui/pages/settings/contact-list-tab/index.scss b/ui/pages/settings/contact-list-tab/index.scss index 7bfd99398..eefa550ca 100644 --- a/ui/pages/settings/contact-list-tab/index.scss +++ b/ui/pages/settings/contact-list-tab/index.scss @@ -67,6 +67,11 @@ text-align: center; } + &__icon { + margin-bottom: 16px; + display: block; + } + &__title { @include H4;