Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Type spacing updates #381

Merged
merged 2 commits into from Dec 15, 2015
Merged

Type spacing updates #381

merged 2 commits into from Dec 15, 2015

Conversation

Scotchester
Copy link
Contributor

Updates for our latest type spacing guidelines.

Additions

  • New copy and images for type spacing section.

Removals

  • Images that are no longer needed

Changes

  • Change all instances of "header" to "heading"
  • Rename Web "subheading" to "lead paragraph"

Testing

Review

Checklist

  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Code follows the standards laid out in the front end playbook
  • Passes all existing automated tests
  • New functions include new tests
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged
  • Visually tested in supported browsers and devices
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

- Update copy, example images, and compiled CSS for showing our new type
  spacing rules.
- Remove images that are no longer used.
- Change all instances of "header" to "heading"
- Rename Web "subheading" to "lead paragraph"

<p>Consistent scaling, weights, and capitalization are used to create distinction between header levels. They provide the user with a familiar focus point when they scan through text and it helps organize content. Headers are used in three weights of Avenir Next Demi Bold, Medium, and Regular.</p>
<p>Consistent scaling, weights, and capitalization are used to create distinction between heading levels. They provide the user with a familiar focus point when they scan through text and it helps organize content. Headings are used in three weights of Avenir Next Demi Bold, Medium, and Regular.</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need p tags here do you?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Technically, no, but they're all over, and they don't do any harm, so I'll just leave 'em.

@jimmynotjim
Copy link
Contributor

One small comment, otherwise 👍

@jimmynotjim
Copy link
Contributor

Whoops, running this locally and "Display Heading" and "Lead Paragraph" aren't rendering

screen shot 2015-11-23 at 4 25 31 pm

screen shot 2015-11-23 at 4 25 57 pm

@Scotchester
Copy link
Contributor Author

Scotchester commented Nov 23, 2015 via email

@jimmynotjim
Copy link
Contributor

Ha, you'd think I'd know that seeing how I made that point last week. Must be Monday. Looks good 👍 from me again.

@jimmynotjim
Copy link
Contributor

@cfarm @KimberlyMunoz @ascott1 anyone else want to sign off on this?

@Scotchester
Copy link
Contributor Author

@nataliafitzgerald gave me a verbal thumbs-up to this last week.

Scotchester added a commit that referenced this pull request Dec 15, 2015
@Scotchester Scotchester merged commit abf4000 into cfpb:gh-pages Dec 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants