Skip to content

Extract toolbar badge variables and sync ahead/behind with pr badge - #4899

Merged
shiftkey merged 1 commit into
masterfrom
standardize-toolbar-badge-colors
Jun 10, 2018
Merged

shiftkey merged 1 commit into
masterfrom
standardize-toolbar-badge-colors

Conversation

@niik

@niik niik commented Jun 8, 2018

Copy link
Copy Markdown
Member

Prior to this we had two different colors for the PR badge background and the ahead/behind counter in the toolbar, gray-700 and gray-500. This standardizes them to both be gray-600.

Additionally this introduces a new variable for the background color of the PR badge when the dropdown is open.

This is extracted from #4849 for easier reviewing

@niik niik added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Jun 8, 2018
@niik
niik requested a review from donokuda June 8, 2018 13:49

@donokuda donokuda left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me! Thanks for catching and correcting this.

One question: it looks like we use the same background color for counters for things like the number of pull request. Would it make sense to use the same CSS variable name for this?

Regardless, this can be merged 👍

@j-f1

j-f1 commented Jun 8, 2018

Copy link
Copy Markdown
Contributor

badge-background-color perhaps?

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

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants