-
Notifications
You must be signed in to change notification settings - Fork 166
LG-8681: Replace h4 with h1 in emails #9167
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
30cc82f
Add preview for password reset email with outstanding GPO letter
NavaTim 4c1d1da
LG-8681: Replace h4 with h2 in emails per VPAT findings
NavaTim d5e57b2
LG-8681: Use H1 tag per design and content guidance
NavaTim c187b03
LG-8681: Update email heading styles to better meet desktop LGDS stan…
NavaTim 7b48b88
Merge branch 'tbradley/add-gpo-email-preview' into tbradley/lg-8681-e…
NavaTim 9909fac
LG-8681: Format CSS
NavaTim 48ddb3e
LG-8681: Minor HTML/ERB formatting cleanup
NavaTim a04aeb9
Merge branch 'main' of https://github.com/18F/identity-idp into tbrad…
NavaTim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,14 +66,14 @@ $global-line-height: 1.5; | |
| $global-font-size: 16px; | ||
| $body-line-height: $global-line-height; | ||
| $header-font-family: $body-font-family; | ||
| $header-font-weight: $global-font-weight; | ||
| $h1-font-size: 34px; | ||
| $h2-font-size: 30px; | ||
| $h3-font-size: 28px; | ||
| $h4-font-size: 24px; | ||
| $h5-font-size: 20px; | ||
| $h6-font-size: 18px; | ||
| $header-margin-bottom: 10px; | ||
| $header-font-weight: 700; | ||
| $h1-font-size: 28px; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @NavaTim, header styles look good to me. Thanks for making these changes. |
||
| $h2-font-size: 22px; | ||
| $h3-font-size: 18px; | ||
| $h4-font-size: 16px; | ||
| $h5-font-size: 14px; | ||
| $h6-font-size: 12px; | ||
| $header-margin-bottom: 16px; | ||
| $paragraph-margin-bottom: 10px; | ||
| $small-font-size: 80%; | ||
| $small-font-color: $medium-gray; | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Noting that this moves us to consistency with the design system and not the IdP's current typography, since in the IdP we currently use
1.35for H1 and H2, and1.5for every other heading level.I don't feel too strongly about this and I think we'll want to eventually converge on a standard specification, but my understanding from the discussion yesterday was that we were going to be aligning to the IdP's current typography for now.
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.
Reviewing the conversation, I never saw a reference to current desktop headings/typography from Nick nor Allison. Therefore I went with the design system. I expect this will also help reduce rework when the changes are finalized.