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

Use variables for font weights #1690

Merged
merged 3 commits into from
Aug 16, 2017
Merged

Use variables for font weights #1690

merged 3 commits into from
Aug 16, 2017

Conversation

tomgreenfield
Copy link
Contributor

@tomgreenfield tomgreenfield commented Jul 31, 2017

@tomgreenfield
Copy link
Contributor Author

Any chance we could chuck this in for 0.4.0 @taylortom?

@taylortom taylortom added this to the 0.4.0 Refactor milestone Aug 10, 2017

h6 {
font-weight:200;
h1, h2, h3, h4, h5, h6 {
Copy link
Member

Choose a reason for hiding this comment

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

Any reason we're changing these to use a single weight? (appreciate we weren't importing the specified weights)

Copy link
Contributor Author

@tomgreenfield tomgreenfield Aug 10, 2017

Choose a reason for hiding this comment

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

  • Revert header tags to bold weighting, removing the need for multiple overrides

We have been overriding in several places just to get back to the (browser) default of bold weights for headings, making things a little convoluted. Also, the lighter weights have never been rendered from the offset, rather falling back to normal/400.

P.S./N.B./furthermore: this PR doesn't actually change any of the interface, I've added in styles where necessary to keep the UI the same as before.

* develop: (57 commits)
  Remove test data both before and after tests
  Add extended timeout to after() in addition to before()
  Reinstate longer timeout
  Add grunt to deps
  Temporarily disable casperjs tests
  Update package.json prior for next release
  Update mocha
  Tidy up mocha config
  Switch to use grunt test task
  Fix heading
  Only show logger errors
  Remove log
  Update config files
  Amend testData
  Alter tests to stop error messages
  Move data folder cleanup and rename various things for readability
  Rename references to tenant record results for clarity
  fix tests, upgrade should
  tests now allways start with a clean db
  Add comment
  ...
* develop:
  Bump timeout for Travis
@taylortom taylortom merged commit 58c8dc4 into develop Aug 16, 2017
@taylortom taylortom deleted the issue/1638 branch August 16, 2017 11:34
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.

4 participants