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

Increase tertiary color contrast #177

Closed
jeremydw opened this issue Aug 4, 2021 · 7 comments · Fixed by #230
Closed

Increase tertiary color contrast #177

jeremydw opened this issue Aug 4, 2021 · 7 comments · Fixed by #230
Assignees
Labels
design Requires UI investigation or design direction

Comments

@jeremydw
Copy link
Member

jeremydw commented Aug 4, 2021

Colors indicated in screenshot need to be darker. OK to use the same var(--color-on-list-item-background) if there is no other superior option.

image

@adelaidemt adelaidemt added the design Requires UI investigation or design direction label Aug 4, 2021
@micjamking
Copy link

@jeremydw The font-styling of the menu headers & icons are actually a bit off from the mocks; do you feel the mocks need to be adjusted further, or will it be sufficient to match the mocks (see attached)?

Here's the current font-style for the menu headers (from Figma):

font-family: SF Pro Text; /* ie. --system-font */
font-style: normal;
font-weight: bold;
font-size: 12px;
line-height: 14px;
text-transform: uppercase;
color: #AAAAAA;

Additionally, the icons for sections/folders (underneath the "Site" menu heading) should match the text color of the section / folder (ie. black in this case).

Screen Shot 2021-08-12 at 4 02 27 PM

@Zoramite
Copy link
Member

I've targeted the 'lighter' style icons to just the non-special leaf nodes, which I think matches what the mocks are showing:

image

@jeremydw
Copy link
Member Author

Hi All - I do think the grey needs to be updated in the mocks as well since it is too light. Using the built-in Devtools accessibility tester you can see that it doesn't fully pass the contrast check.

image

Example of passing the contrast check:

image

@Zoramite
Copy link
Member

To get it to pass the accessibility contrast, we would have to bump it up to something like #585858

image

And at that point it would probably be better to just use the same color as the label.

@micjamking
Copy link

micjamking commented Aug 13, 2021

I'd prefer updating the non-leaf nodes to the lightest accessible grey (ie. #767676) along with updating the parent sections/folders nodes to the same font-weight styling from the mocks (ie. font-weight: bold, see screenshots); there's not enough differentiation between the leaf/non-leaf nodes as-is, and the styling should be consistent with the titles in the editor panel.

Screen Shot 2021-08-13 at 10 18 08 AM

Screen Shot 2021-08-13 at 10 18 27 AM

@jeremydw
Copy link
Member Author

Lightest accessible grey is looking good to me. :) Thank you for working through these!

@Zoramite
Copy link
Member

Alrighty, I've adjusted it to have a darker grey color for the leaf icons.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Requires UI investigation or design direction
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants