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

Create a site style guide #14

Closed
3 tasks done
Tracked by #31
travishathaway opened this issue Oct 25, 2022 · 5 comments
Closed
3 tasks done
Tracked by #31

Create a site style guide #14

travishathaway opened this issue Oct 25, 2022 · 5 comments
Assignees
Labels
design Issues that are related to the design of the website
Milestone

Comments

@travishathaway
Copy link
Contributor

travishathaway commented Oct 25, 2022

Description

After completing this issue, we will have a site style guide that will contain a color palette and a set of fonts that will inform the rest of the design work for conda.org. The goal of this issue is to pick the colors and fonts we will use for the website and to accordingly update the CSS files for the website.

Items we need:

  • Primary color (obviously green, but which green? 😅 🟢 )
  • Secondary color (basically a contrast color to our primary)
  • Fonts
    • Header
    • Body/paragraph
  • Background color (probably white, but again which one?

The color palette should be accessible. So please check it with a tool similar to this: https://webaim.org/resources/contrastchecker/

Tasks

  • Pick a font combination (header and body text)
  • Create a site color palette and update the site custom.css with this
    • Primary and secondary colors should be updated accordingly
@travishathaway travishathaway added the design Issues that are related to the design of the website label Oct 25, 2022
@jaimergp
Copy link
Member

From @isabela-pf's proposal at #1 (comment):

Green and a little bit of pattern using the repeated ‘C’s. Header text is League Mono bold, and body text is Junction. Colors are #3DB049, #454545, #F5F5F5, and #FCFCFC for the background. I’ve shown it on all the options described in the above comment.

I added some variants on the prototype now but it's far from perfect.

@travishathaway travishathaway self-assigned this Mar 8, 2023
@travishathaway travishathaway added this to the First Release milestone Mar 8, 2023
@travishathaway
Copy link
Contributor Author

We are now voting on fonts! Please go checkout these open pull requests:

@asmitbm
Copy link
Member

asmitbm commented Mar 9, 2023

We are now voting on fonts! Please go checkout these open pull requests:

#69 👍🏻

@asmitbm
Copy link
Member

asmitbm commented Mar 9, 2023

Also, I just found out that Docusaurus has this color tool, where we can set our primary color and it will adjust light and dark colors for us. https://docusaurus.io/docs/styling-layout

@travishathaway
Copy link
Contributor Author

travishathaway commented Mar 10, 2023

Thanks for the recommendation @asmit2952

I was poking around with the accessibility tool to see how our primary color choice scores. Unfortunately, this does not have the needed contrast to be completely accessible (#43B02A vs #FFFFFF).

I propose that we just pick a darker version of the primary color we currently have. A color that gives a better score is #348721

This wouldn't apply to dark mode because the color contrast there is good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Issues that are related to the design of the website
Projects
Status: Timebox: full day plus
Development

No branches or pull requests

3 participants