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

[57153] Reduce amount of design variables needed for the sidebar #16691

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

bsatarnejad
Copy link
Contributor

@bsatarnejad bsatarnejad commented Sep 10, 2024

Ticket

https://community.openproject.org/projects/openproject/work_packages/57153/activity

What are you trying to accomplish?

Reduce the variables that we use for side menu colors.

Screenshots

Before:
Screenshot 2024-09-10 at 13 28 23

After:
Screenshot 2024-09-10 at 13 27 35

What approach did you choose and why?

We remove font and border color variables, and calculate their values based on the brightness of the respective background to ensure a high-enough contrast.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@bsatarnejad bsatarnejad self-assigned this Sep 10, 2024
@bsatarnejad bsatarnejad force-pushed the 57153-reduce-amount-of-design-variables-needed-for-the-sidebar branch from c7c2226 to 75549a4 Compare September 18, 2024 11:03
@bsatarnejad bsatarnejad requested review from a team and removed request for a team September 19, 2024 10:54
Copy link

The provided work package version does not match the core version:

Please make sure that:

  • The work package version OR your pull request target branch is correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant