-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Design Updates and Fixes #225
Conversation
…fonts into a separate file
…g dependent scss
…not sure if rh will play nicely with preact)
…nt changes before editing
…fonts into a separate file
…g dependent scss
…not sure if rh will play nicely with preact)
…nt changes before editing
…ebpack.js.org into feature/fonts-n-styles
@@ -24,9 +21,8 @@ html { | |||
} | |||
|
|||
body { | |||
font: 300 getFontSize(0) 'Open Sans', 'Century Gothic', sans-serif; | |||
font: 300 getFontSize(0) 'Cabin', 'Century Gothic', sans-serif; |
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.
I'd suggest using 400 for body text not 300. < 400 gets a bit hard to read on many devices.
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.
Good catch, I was actually only importing Cabin in 400 and 600 (with italic versions of each) but forgot to update this... changing momentarily.
I haven't tested it but can't see why react-headroom wouldn't work with Preact. |
@KyleAMathews yea I just noticed when |
@gregvenech, are you going to make more big changes? Asking because I want to test this out, but that would be a waste of time if more changes are coming ;). |
@SpaceK33z nope in my mind this branch is good to go. I want to push any other changes to new PRs (e.g. more sidebar work, landing page, etc.). The only problems currently with merging are:
Aside from that it's good to go and I think we should get it merged asap. |
Before we merge could we make one more change? That would involve adding our Open Collective banner. It's done via script tag. https://github.com/OpenCollective/OpenCollective/wiki/Website-banner Would you be able to add this, if it trivial, if it is not, we can separate this into a separate PR and Issue and then merge this and cut a release. |
@TheLarkInn yea I can try tonight. I'm thinking maybe just on the landing page? |
Well you know what, let me put it in a separate issue. If this is ready to go lets merge it. |
Added to separate issues #248 and we'll do a separate PR for it. |
@TheLarkInn sounds good, yea I mean if you guys are comfortable merging it regardless of those two things I mentioned then by all means. We could also tweak the license quickly for now by adding the language I mentioned before...
And come back to it later if necessary. I'm no expert with licensing so I was kind of defaulting to all of you on this. |
I'm comfortable with this. @SpaceK33z is going to test later and then we can merge. |
@gregvenech About assets, fastest fix might be to copy images/fonts below Ideally asset pipeline should go through webpack entirely, but that's something to tackle separately. |
@bebraw @TheLarkInn sounds good 👍 . I will make the changes to the license and try the assets suggestion. |
Tested it:
I also asked a designer-friend (@indri-indri) to look at this, he suggested this enhancement: Before: After adding Note: this was tested with Chrome on macOS. On some browsers / OS's this has no effect. |
Will jump on these things and the other two in a few hours. |
Ok should be ready for another review. |
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.
Awesome. Tested it again and it looks good!
I've gone back and forth on that edit link, and I tried it both ways. Problem was it wasn't popping enough in that dark yellow color.
Fair enough :).
Design Updates and Fixes
Regarding the logo in the header: What's your opinion on changing the header to the actual image (instead of using HTML text)? Font rendering can be very shitty depending on the OS, so as a designer I would definitely prefer to use the pre-rendered image for the banner :) |
@jhnns, you mean to add the text as paths instead of the real font, right? That would definitely be better. |
cc @KyleAMathews @bebraw @oliverturner
I'm opening this PR to include many of the design changes implemented by @KyleAMathews in #202 as well as updating the logo and applying some other tweaks and fixes to various areas of the site. Here's what's done so far:
@KyleAMathews let me know if you think I missed anything design-wise. I think we want to stay away from js/inline styles, at least for now, and stick with the modular-scale plugin. Thanks again for your work on #202.
@jhnns @bebraw hoping we can get the license sorted out here but I'm not really sure how to handle this.
Note: Please be aware that right now certain features will only work the dev-server but before we get this merged I'm hoping to have things fully functional (with @bebraw's
interactive
addition I believe we can).