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

Remove font weight from link styles #469

Merged
merged 2 commits into from
Jan 29, 2018
Merged

Conversation

hannalaakso
Copy link
Member

@hannalaakso hannalaakso commented Jan 26, 2018

This PR removes font weight from link styles.

Because link styles used to include a regular font weight, including a link within a heading which you would expect to render as bold, or using some other element which inherits bold font weight would have its weight set to regular. This fixes that issue.

Once released, we'll be able to remove the styles set in this commit: alphagov/govuk-design-system@e7dc941

https://trello.com/c/1bhIr3Cu/647-link-styles-include-regular-font-weight

Link styles should not specify a weight. This fixes the fact that
if you include a link within a heading or some other element which
you would expect to render as bold, the link will be rendered in
regular weight.
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-469 January 26, 2018 11:27 Inactive
Copy link
Contributor

@36degrees 36degrees left a comment

Choose a reason for hiding this comment

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

👍

@hannalaakso hannalaakso merged commit 4cb30e6 into master Jan 29, 2018
@hannalaakso hannalaakso deleted the links-without-weight branch January 29, 2018 09:57
@alex-ju alex-ju mentioned this pull request Feb 20, 2018
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