Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make recovery info page less scary #1692

Merged
merged 3 commits into from
Jun 13, 2023
Merged

Make recovery info page less scary #1692

merged 3 commits into from
Jun 13, 2023

Conversation

nmattia
Copy link
Collaborator

@nmattia nmattia commented Jun 13, 2023

This updates the recovery info page (shown before recovery creation):

  • The "warning" icon is now an "info" icon (red -> purple)
  • The text ("SECURITY WARNING") is a bit softer ("Learn about recovery")

@nmattia nmattia marked this pull request as ready for review June 13, 2023 15:50
@nmattia nmattia requested a review from meodai June 13, 2023 15:50
This updates the recovery info page (shown before recovery creation):
* The "warning" icon is now an "info" icon (red -> purple)
* The text ("SECURITY WARNING") is a bit softer ("Learn about
  recovery")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like the icon could be lighter, i.e. maybe use the outline instead of a filled icon

@@ -698,6 +701,12 @@ a:hover,
.c-icon--ok {
--onBgc: var(--rc-positive);
}
.c-icon--info__flipped {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__ would be a child in BEM. I would create a separate class called .c-icon--inverted that combines with any icon class. But since it looks like info is always flipped, it might not need a modifier? So just c-icon--info, makes sense?

@@ -256,6 +256,21 @@ export const infoIcon = html`
</svg>
`;

export const infoIconNaked = html`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure what is meant by Naked would be super nice to have a comment or something here.

@nmattia nmattia added this pull request to the merge queue Jun 13, 2023
Merged via the queue into main with commit 51f92d0 Jun 13, 2023
@nmattia nmattia deleted the nm-learn-about-recovery branch June 13, 2023 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants