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

Fix Github Light and Pitaya Smoothie contrast color bugs #62

Merged
merged 5 commits into from
Jul 17, 2023
Merged

Conversation

steff456
Copy link
Contributor

@steff456 steff456 commented Jul 5, 2023

Fixes #59

This PR,

  • Fixes the issues found in the Pitaya Smoothie and Github Light themes.

Here are some screenshots on how the current themes look,

Github Light

  • The active tab colour is noticeable
  • Hover background (menu) has enough contrast against the background colour
  • Colours in the kernel/tab manager sidebar
  • Active indicator on the search bar
  • Toggle background is noticeable in the status bar
image image image image

Pitaya Smoothie

  • Icons have enough contrast against the background
  • Active indicator on the search bar
image

@steff456 steff456 added the type: bug 🐛 Something isn't working label Jul 5, 2023
@steff456 steff456 requested a review from trallard July 5, 2023 19:02
@steff456 steff456 self-assigned this Jul 5, 2023
@github-actions
Copy link

github-actions bot commented Jul 5, 2023

Binder 👈 Launch a binder notebook on branch Quansight-Labs/jupyterlab-accessible-themes/fix-themes
Comment updated on 2023-07-05T19:03:54.853Z

Copy link
Contributor

@gabalafou gabalafou left a comment

Choose a reason for hiding this comment

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

Great work, Stephannie! I understand that twiddling the CSS values is tricky, rinse-and-repeat kind of work!

I just have one question. Does this PR fix all of the issues identified in the corresponding #59 or only some of them? I'm confused because some of the tasks in #59 are checked off but some are not.

@steff456
Copy link
Contributor Author

This PR addresses all the issues in #59 for Github Light and Pitaya Smoothie. I made the changes of Github Dark in the PR #53.

Hope this clarifies!

@gabalafou
Copy link
Contributor

Sure, thanks! Who is going to be responsible for checking off the tasks in issue #59?

Maybe also the title of the PR should be renamed to "Fixes for Pitaya Smoothie and Github Light." I understand that it says this already in the description, but right now the PR title is really generic.

@steff456 steff456 changed the title Fix themes Fix Github Light and Pitaya Smoothie contrast color bugs Jul 12, 2023
@steff456
Copy link
Contributor Author

Who is going to be responsible for checking off the tasks in issue #59?

If we agree on the changes that I made for fixing them, I could check them once this PR is merged.

@trallard
Copy link
Member

Disagree - changes should be checked BEFORE merging not the other way around

@trallard
Copy link
Member

For example there is one that was not checked off for the dark theme as when I did the review I noticed the fix did not fix the colour contrast issue

@steff456
Copy link
Contributor Author

So the reviewer should be the one checking off in the original issue

@trallard
Copy link
Member

Or you provided you tested / verified the changes and they meet the contrast requirements. Which IMO is part of doing the fix.

@steff456
Copy link
Contributor Author

I added the screenshots to the description of this PR, I will update it with the contrast that every pair has. Hope that helps with the review!

@steff456
Copy link
Contributor Author

steff456 commented Jul 17, 2023

With the latest changes, here are the screenshots of every change with its contrast check. (I already updated the issue as well)

Github Light

  • The active tab colour is noticeable.

Blue line and text have enough contrast against the background color
image

  • Hover background (menu) has enough contrast against the background colour

Gray background with white text
image

White background with gray hover color
image

  • Colours in the kernel/tab manager sidebar
image
  • Active indicator on the search bar
image image
  • Toggle background is noticeable in the status bar
image

Light gray background has enough contrast with toggle background
image

Toggle has enough contrast
image

Pitaya Smoothie

  • Icons have enough contrast against the background

Non-selected,
image

Selected,
image

  • Active indicator on the search bar
image

@github-actions
Copy link

Binder 👈 Launch a Binder on branch Quansight-Labs/jupyterlab-accessible-themes/fix-themes

1 similar comment
@github-actions
Copy link

Binder 👈 Launch a Binder on branch Quansight-Labs/jupyterlab-accessible-themes/fix-themes

@trallard
Copy link
Member

I am going to merge this as it seems ok after a quick review and I suppose users might raise issues later

@trallard trallard merged commit dc7c964 into main Jul 17, 2023
@trallard trallard deleted the fix-themes branch July 17, 2023 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done 💪🏾
Development

Successfully merging this pull request may close these issues.

Miscellaneous improvements needed on themes
3 participants