Repository navigation
A fresh coat of mostly the same paint - #1713
Merged
Merged
Conversation
#2f363c vs #2f363d
And separate border color from gutter color
niik
commented
May 23, 2017
| // Add a little bit of space to the left of code diff | ||
| // `padding-left` here means mouse move events are not raised | ||
| padding-left: var(--spacing-half); | ||
| align-self: center; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
donokuda
approved these changes
May 23, 2017
donokuda
left a comment
Contributor
There was a problem hiding this comment.
YAY COLORS! 🌈 (and grays)
19 of 21 tasks
|
I feel diff colors still don't match with GitHub's right? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This finished the work that @donokuda started to bring us onto the primer color scheme. With this we're importing the color variables (and only the color variables) from primer and using that instead of our own hard coded (and poorly named) variables. This will hopefully make it much easier for us to reason about contrast and complementary colors going forward.
For the most part this isn't really noticeable in the app as most of the colors we were using were identical, or very close to, their primer counterparts.
The error and warning dialogs were the only places where we didn't quite abide by the primer color scheme so I've had to tweak those a bit.
Before
The title text is not legible and it gets even worse when aligning to primer so I've opted for a custom, darker yellow for the text now. I plan to revisit these dialog header designs as soon as I get some spare time anyway so we shouldn't spend too much time on it.
After
Diffs
Our colors already aligned pretty well with primer but I took the opportunity to tweak our gutters and to split the color of the line number divider and the main gutter color so that we could get more nicely aligned (contrast wise) vertical lines in the gutter.
Before
After
This checks of one of the long standing items on mine and @donokuda's design agenda