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

Fixes: 1672 - [next] Investigate bugs related to Fonts. #1673

Merged
merged 2 commits into from
Feb 10, 2021

Conversation

PedroFonsecaDEV
Copy link
Contributor

@PedroFonsecaDEV PedroFonsecaDEV commented Feb 8, 2021

Issue This PR Addresses

Fixes: #1672

Type of Change

  • Bugfix: Change which fixes an issue
  • New Feature: Change which adds functionality
  • Documentation Update: Change which improves documentation
  • UI: Change which improves UI

Description

The font on the PR #1667 before and after the fix:
BEFORE:
Screen Shot 2021-02-08 at 6 06 17 AM

AFTER:
Screen Shot 2021-02-08 at 6 02 48 AM

Checklist

  • Quality: This PR builds and passes our npm test and works locally
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not (if applicable)
  • Documentation: This PR includes updated/added documentation to user exposed functionality or configuration variables are added/changed or an explanation of why it does not(if applicable)

Copy link
Contributor

@humphd humphd left a comment

Choose a reason for hiding this comment

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

Nice catch.

Copy link
Contributor

@birtony birtony left a comment

Choose a reason for hiding this comment

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

I have looked up the typeface-roboto package and it looks like typeface has been deprecated: https://github.com/KyleAMathews/typefaces/blob/master/packages/roboto/README.md. Could we use fontsource-roboto instead? @PedroFonsecaDEV

@humphd
Copy link
Contributor

humphd commented Feb 8, 2021

The Typefaces project is now deprecated.

NO!!!!!!! I loved this project. Thanks for spotting this, @birtony.

@PedroFonsecaDEV
Copy link
Contributor Author

PedroFonsecaDEV commented Feb 9, 2021

Screen Shot 2021-02-09 at 1 15 20 AM

The new font has a different weight.
I think we can land this to have the same font as gatsby, then we move to a non-deprecated font on the new UI.

@birtony @humphd

@birtony
Copy link
Contributor

birtony commented Feb 9, 2021

@PedroFonsecaDEV do you think we could set the default font-weight in our global CSS styles and stick to fontsource-roboto?

@PedroFonsecaDEV
Copy link
Contributor Author

Hey @birtony,
Since all our styles (including the font) are about to change, my advice will be to keep the old font until there. Because if we change it, it will change globally. Some texts will be impacted, like our header fonts.

@birtony
Copy link
Contributor

birtony commented Feb 9, 2021

Hey @birtony,
Since all our styles (including the font) are about to change, my advice will be to keep the old font until there. Because if we change it, it will change globally. Some texts will be impacted, like our header fonts.

Okay, that makes sense. In this case, could you, please, file an issue regarding the deprecated dependency before we merge this PR @PedroFonsecaDEV?

@PedroFonsecaDEV
Copy link
Contributor Author

Hey @birtony,
Since all our styles (including the font) are about to change, my advice will be to keep the old font until there. Because if we change it, it will change globally. Some texts will be impacted, like our header fonts.

Okay, that makes sense. In this case, could you, please, file an issue regarding the deprecated dependency before we merge this PR @PedroFonsecaDEV?

Sure.
Follow the issue: #1686

@PedroFonsecaDEV PedroFonsecaDEV merged commit 2105165 into Seneca-CDOT:master Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: front-end area: nextjs Nextjs related issues type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[next] Investigate bugs related to Fonts.
3 participants