-
Notifications
You must be signed in to change notification settings - Fork 148
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
Finalize link guidance #1249
Finalize link guidance #1249
Conversation
| @include external-link( | ||
| usa-icons-bg/launch--blue-60v, | ||
| usa-icons-bg/launch--blue-70v | ||
| ); | ||
| } | ||
|
|
||
| .usa-link--alt#{$external-href} { | ||
| @include external-link( | ||
| usa-icons-bg/launch--gray-5, | ||
| usa-icons-bg/launch--white | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This adds icons of the proper color to non-.gov links. (There are existing rules that hide these icons on the nav, buttons, etc)
| [href^="http"]:not([href*=".gov"])::after { | ||
| display: none; | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this rule to allow external link icons
package.json
Outdated
| @@ -93,7 +93,7 @@ | |||
| "postcss-csso": "^5.0.0", | |||
| "sass": "^1.35.1", | |||
| "snyk": "^1.667.0", | |||
| "uswds": "^2.12.0", | |||
| "uswds": "github:uswds/uswds#dw-external-link", | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using an icon feature branch — this will need to be updated (and package-lock generated) after we merge that branch into develop
This PR finalizes our link guidance and adds the findings from our external link indicator research. It also adds external link icons to most text links throughout the site.