-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Typography Improvements #430
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
Conversation
Thanks, this font as body font is way easier to read. I'm not sure on using it for the headings. @jhnns said that he would still like to use Geomanist as heading font (#291 (comment)). |
Will update headings to use Geomanist. |
…bundle fonts that are unnecessary
That looks gorgeous. Thx @pastelsky! I'm not completely happy with the font colors (especially the contrast) and vertical rhythm, but it's definitely an improvement. I'd love to pull this in, but what's wrong with the tests? |
@jhnns glad you liked it. We can discuss the contrast and rhythm issues if you'd like to. As for the tests, it seems that the lint check for the hyperlink to the font files are failing. Although it seems yo be working just fine in development. How do I simulate a production build locally? |
@pastelsky, the font files seem to be really failing, I'm getting 404's on my local production build. You can make a production build with |
I had hacked this before with the |
@pastelsky, perhaps an idea to revert the change in |
…d don't bundle fonts that are unnecessary" This reverts commit fd61d89.
Reverted those changes for now and have created a separate issue ( #443 ) since it requires some more exploration. |
All right, nice work again @pastelsky :). |
@skipjack I'm currently redoing the asset pipeline. The problem is that it emits the assets below I also sorted out the CSS situation (single CSS file instead of multiple) already but I need to fix asset handling to make this nice. |
@bebraw sounds good! As we finish up the major parts of the design/interface it would be nice to clean up some of the temporary hacks we added so implementing new features and fixing bugs is easier. Speaking of which, I'm working on some cleanup and fixes that I should be opening PRs for soon. Unfortunately I'm super busy this month but I'll still be helping out whenever I can. It's awesome that @pastelsky and @NejcZdovc have been picking up a lot. By the new year I should be able to dive into things again. |
@skipjack Ok, cool. Any thoughts on pushing bits like navigation to a component of its own? Those are useful bits beyond this project. |
This is a proposal to change our font stack for better readability.
Had been thinking of this myself and a comment from the recent hacker news discussion made me go forward with this PR.
By smaller, I think the author meant letter spacing, which is a problem with Cabin.
Changes
Source Sans
for body andSource Code Pro
for code.Don't unnecessarily bundle both WOFF and WOFF2 as base64.On hold until Usingfile-loader
to load fonts doesn't work in production build. #443 is taken care of.According to me this has better readability especially when there are large paragraphs of text.