Skip to content

Specify the color space (sRGB) in all numpy.org CSS files #457

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

Merged
merged 17 commits into from
Oct 16, 2021
Merged

Specify the color space (sRGB) in all numpy.org CSS files #457

merged 17 commits into from
Oct 16, 2021

Conversation

aerikpawson
Copy link
Contributor

Fixes #gh-397.

Specifying the color space in RGB.
Specifying the color space in RGB.
Specifying the color space in RGB.
Specifying the color space in RGB.
Specifying the color space in RGB.
Specifying the color space in RGB.
Specifying the color space in RGB.
Fixing inconsistent formatting.
Fixing inconsistant formating.
Specifying the color space in RGB.
Specifying the NumPy color palette in rgb. Fixing inconsistent formatting.
Specifying the color space in rgb. Fixing inconsistent formatting.
@aerikpawson aerikpawson changed the title Specify the color space (sRBG) in all numpy.org CSS files Specify the color space (sRGB) in all numpy.org CSS files Jul 31, 2021
@InessaPawson InessaPawson self-requested a review July 31, 2021 15:22
@InessaPawson
Copy link
Member

@aerikpawson LGTM (Looks good to me.) One suggestion: next time, before pushing, squash all the commits you'd like to include in a pull request into one. You’ll have to use the terminal for that.

@InessaPawson InessaPawson requested a review from joelachance July 31, 2021 15:36
Comment on lines 2 to 8
/* rgb(255, 197, 83) */
/* rgb(77, 171, 207) */
/* rgb(77, 119, 207) */
/* rgb(255, 255, 255) */
/* rgb(238, 238, 238) */
/* rgb(108, 122, 137) */
/* rgb(1, 50, 67) */
Copy link
Collaborator

Choose a reason for hiding this comment

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

I personally think it's really nice to add a description here for each color-- I don't have any idea what each of these are, and it will be easier to use them in the future if we know which one is the blue one, for example.

Copy link
Member

Choose a reason for hiding this comment

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

@joelachance It’s a fair point. The issue with the current color names is that some of them have been assigned to a different RGB since we selected the color palette for numpy.org. (For more context, refer to #405 (comment).) This is bound to cause confusion.

What do you think of naming the palette as follows:
rgb(255, 197, 83) NumPy Yellow (or NumPy Mustard)
rgb(77, 171, 207) NumPy Ndarray Blue
rgb(77, 119, 207) NumPy Deep Blue
rgb(255, 255, 255) White
rgb(238, 238, 238) NumPy Cloud Gray
rgb(108, 122, 137) NumPy Slate Gray
rgb(1, 50, 67) NumPy Warm Black

@joelachance and everyone else, feel free to suggest your names for the color palette.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I like them! I think any color description that's close to the color is 'good enough'. Developers will easily know what color they're using with any description.

Copy link
Member

Choose a reason for hiding this comment

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

@joelachance Great!
@aerikpawson Please incorporate the suggested above into your PR.

Copy link
Collaborator

@joelachance joelachance left a comment

Choose a reason for hiding this comment

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

Looks good, a couple of small things I would add, but otherwise everything looks good to me!

Adding the new names of the colors in the existing website palette. Refer to this discussion: #457 (comment).
Copy link
Collaborator

@joelachance joelachance left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@InessaPawson InessaPawson left a comment

Choose a reason for hiding this comment

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

Looks great, Aerik! Keep it up!

@InessaPawson
Copy link
Member

LGTM!

@joelachance I don't have the push access to this repo. Please merge this PR when you get a chance.

@joelachance joelachance merged commit 5333dc7 into numpy:master Oct 16, 2021
rgommers pushed a commit that referenced this pull request Oct 17, 2021
Adding the new names of the colors in the existing website palette. Refer to this discussion: #457 (comment).
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.

3 participants