Skip to content

A fresh coat of mostly the same paint - #1713

Merged
donokuda merged 16 commits into
masterfrom
ten-shades-of-gray
May 23, 2017
Merged

donokuda merged 16 commits into
masterfrom
ten-shades-of-gray

Conversation

@niik

@niik niik commented May 23, 2017

Copy link
Copy Markdown
Member

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

image

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

image

image

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

image

After

image

This checks of one of the long standing items on mine and @donokuda's design agenda

  • @donokuda or @niik to pull primer color variables into our stylesheets

@niik niik added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label May 23, 2017
@niik
niik requested a review from donokuda May 23, 2017 13:24
Comment thread app/styles/ui/_diff.scss
// 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.

@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.

YAY COLORS! 🌈 (and grays)

@donokuda
donokuda merged commit 43075aa into master May 23, 2017
@donokuda
donokuda deleted the ten-shades-of-gray branch May 23, 2017 17:51
@niik niik mentioned this pull request May 29, 2017
19 of 21 tasks
@alrz

alrz commented Jun 16, 2017

Copy link
Copy Markdown

I feel diff colors still don't match with GitHub's right?

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.

3 participants