Skip to content

Style updates#23

Merged
jarednova merged 58 commits intomasterfrom
style-updates
Nov 19, 2020
Merged

Style updates#23
jarednova merged 58 commits intomasterfrom
style-updates

Conversation

@johnkeough
Copy link
Copy Markdown
Collaborator

@johnkeough johnkeough commented Sep 2, 2020

Screen Shot 2020-09-22 at 4 44 06 PM
Screen Shot 2020-09-22 at 4 44 18 PM
Screen Shot 2020-09-22 at 4 44 24 PM
Screen Shot 2020-09-22 at 4 44 36 PM
Screen Shot 2020-09-22 at 4 44 47 PM
Screen Shot 2020-09-22 at 4 44 55 PM
Screen Shot 2020-09-22 at 4 45 15 PM
Screen Shot 2020-09-22 at 4 45 29 PM
Screen Shot 2020-09-22 at 4 45 41 PM
Screen Shot 2020-09-22 at 4 45 55 PM

@johnkeough johnkeough added the wip label Sep 2, 2020
@johnkeough johnkeough self-assigned this Sep 2, 2020
@jarednova jarednova marked this pull request as draft September 2, 2020 13:23
@gchtr
Copy link
Copy Markdown
Member

gchtr commented Sep 17, 2020

Hey @johnkeough

I see you’re still working on the styles. I only have a heads up: It would be great if you could exclude all the files that are built automatically from your pull requests, like all the files in the build or docs folder. It’s easier to look at the changes without these files.

Tell me if you need help doing that.

Looking forward to see your work! :)

@johnkeough
Copy link
Copy Markdown
Collaborator Author

Hey @gchtr !

Absolutely. I haven't before though, would you mind giving me a few pointers on how to do that?

Thank you! :)

@gchtr
Copy link
Copy Markdown
Member

gchtr commented Sep 17, 2020

Okay, let’s see. What do you use to manage Git? An app like Sourcetree, Fork or GitHub Desktop or do you use Git with the CLI?

@johnkeough
Copy link
Copy Markdown
Collaborator Author

I use Git with the CLI for mostly all, no external apps.

@gchtr gchtr marked this pull request as ready for review September 27, 2020 16:07
Copy link
Copy Markdown
Member

@gchtr gchtr left a comment

Choose a reason for hiding this comment

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

Wow, that looks great! I’ve always been in love with the GT America font. And I love what you did with the syntax higlighted parts! I’ve yet to get used to all the dark modes and interfaces. I saw that it’s based on the new Upstatement design. Nice!

I only have a couple of points where I think we have to find a compromise between design decisions and the reality that docs are a daily tool for developers that needs to readable and easy to navigate.

I saw that you only added light font styles. I guess now all strong text is rendered with a faux bold style, which is generated by the browser. Do you have a bold or even an extra bold font that you could add? I know, it’s a design decision to not use bold. But in the Timber documentation, we kinda use the convention to use <strong> to mark file names and file paths.

To me, the problem can also be seen in the navigation. Here, I think it’s too hard to see on which page I currently am:

grafik

Currently, there’s no way to see where there’s a link. Take this example:

grafik

There are actually two links in here:

grafik

It’s important to not only style text links, but also <code> elements that are links.

I realized it might not even be enough to style links with color only, as it’s done in the current documentation. We should probably add underlines to links in content, because we already use colored text a lot in the content when using <code> elements. That would also be better for acessibility, especially for people with a form of color blindness.

It’s a different thing with navigations or the table of contents, which consist mostly only of links. But then there are elements like tables with an overview over object properties and methods, where sometimes there are links, and sometimes there aren’t.

grafik

It would be great if you could improve on these points :).

@jarednova
Copy link
Copy Markdown
Member

@gchtr thanks for the helpful feedback as always. @johnkeough got called away this week for another project, but when he returns I'll help him address these points in the next go!

@jarednova
Copy link
Copy Markdown
Member

@johnkeough let's talk next week about a solution to the font issue. We can serve crossdomain fonts from upstatement.com, but I'm not sure it's worth the effort. FWIW I think it looks glorious in Helvetica.

@johnkeough
Copy link
Copy Markdown
Collaborator Author

Thank you for the great feedback @gchtr !

Here are the updated changes @jarednova :

  • Removing GT America and using default Helvetica

  • On the sidebar nav, adding an underline to your current page
    image

  • Globally change text and code link styling to include a green underline
    image
    image
    image

@jarednova
Copy link
Copy Markdown
Member

Looking much closer! I think everything you flagged in the last pass @gchtr has been taken care of. There's one more area I'd like to spend a little more time. These tables with the method/property type and definitions:
Screen Shot 2020-11-13 at 11 25 55 AM

I was looking to apply some surrounding spans for <span class="property">$language</span> so that these can be style separately from the regular text. @gchtr does that markup/control reside within this repo? or in Teak?

@gchtr gchtr mentioned this pull request Nov 14, 2020
Copy link
Copy Markdown
Member

@gchtr gchtr left a comment

Choose a reason for hiding this comment

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

This is looking good now! I have only some changes in #30, but then this is good to go.

@jarednova I added some spans and classes to the Teak markup in the 1.0.3 release. You can get it with composer update timber/teak in the docs repo. Will that work?

@jarednova
Copy link
Copy Markdown
Member

@gchtr I think so! I applied a few last color/style tweaks. The last fix depends on a PR I just submitted to Teak here:

timber/teak#1

... this will allow proper lines breaks in the MD files which trigger the correct markup from 11ty. Could you give this one last look before we merge? I want to make sure the changes I made in 1d703ba work (I needed to include typeface-source-sans-pro in order to run/build — was this correct?)

@gchtr
Copy link
Copy Markdown
Member

gchtr commented Nov 19, 2020

The last fix depends on a PR I just submitted to Teak here:

timber/teak#1

... this will allow proper lines breaks in the MD files which trigger the correct markup from 11ty.

Should be fixed now.

Could you give this one last look before we merge?

I had a look and to me, all is fine now 👍

I needed to include typeface-source-sans-pro in order to run/build — was this correct?)

I forgot to remove an entry in webpack.mix.js, that’s why that error appeared. Fixed in cbb056a (#23).

@jarednova I think you can go ahead and merge this.

@jarednova
Copy link
Copy Markdown
Member

¡¡¡¡MOST EXCELLENT!!!!

@jarednova jarednova merged commit 7b3813e into master Nov 19, 2020
@jarednova jarednova deleted the style-updates branch November 19, 2020 17:49
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