-
Notifications
You must be signed in to change notification settings - Fork 16
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
Use design system link styles in documentation #252
Conversation
**Why**: Because a design system's documentation should ideally leverage said design system's own link styles.
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.
👍🏾
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.
LGTM
@@ -12,7 +12,7 @@ The color codes listed beneath each name indicate what names can be used with th | |||
This element has classes <code>bg-primary-lighter</code> and <code>text-primary-dark</code>. | |||
</div> | |||
|
|||
Read more about <a href="https://v2.designsystem.digital.gov/utilities/color/" target="_blank">the U.S. Web Design System’s color utility classes</a>. | |||
Read more about [the U.S. Web Design System’s color utility classes](https://designsystem.digital.gov/utilities/color/). |
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.
removing target="_blank"
is intentional right? the kramdown doesn't add it back in
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.
removing
target="_blank"
is intentional right? the kramdown doesn't add it back in
Good spot and yes, target="_blank"
will be removed with these changes. I don't think this page qualifies for any of the standard exceptions of opening a new tab only when necessary, so I didn't care much to retain it.
This also applies to links on the homepage as well.
The current visual regression test failure reflects the link changes, and is expected. |
Related: GSA-TTS/identity-handbook#163
Why: Because a design system's documentation should ideally leverage said design system's own link styles.
Live preview: https://federalist-2f194a10-945e-4413-be01-46ca6dae5358.app.cloud.gov/preview/18f/identity-style-guide/aduth-docs-links/