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

Modify ramp colors correspond to days in a week, in a rainbow order #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

logical-1985516
Copy link
Owner

@logical-1985516 logical-1985516 commented Jun 26, 2024

Part of reposense#2216

Explanation

The color in a ramp indicates the day in which a commit is done, in a 5-day cycle. Currently, the colors do not have much meaning beyond telling the user that the commits are done within a day. Furthermore, one of the colors used, pink, was too similar to red, the color reserved for delete commits. Thus, this PR is made to address these issues.

Each color now corresponds to each day in a week (i.e. the 5-day cycle is replaced by 7-day cycle). To make the colors easy to remember, they follow the rainbow colors, but with red being replaced with brown (as red is reserved for delete commits), and yellow being replaced with lime (to increase contrast against the bright background). Monday (first day in a working week) corresponds to the first color. These colors are all distinct from red, hence allowing the user to easily distinguish between delete commits and other commits.

Screenshot

image

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.

1 participant