-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
joelachance
merged 17 commits into
numpy:master
from
aerikpawson:specify-color-space-css-files
Oct 16, 2021
Merged
Changes from 15 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
85e321c
Specify the color space (sRGB) in all numpy.org CSS files
aerikpawson 16f60fd
Merge branch 'numpy:master' into aerikpawson-specify-color-space-css-…
aerikpawson 7833df7
Revert "Specify the color space (sRGB) in all numpy.org CSS files"
aerikpawson 65f599c
Specify the color space in RGB
aerikpawson 8ab15ef
Specify the color space in RGB
aerikpawson da43482
Specify the color space in RGB
aerikpawson 3952983
Specify the color space in RGB
aerikpawson b8b697a
Specify the color space in RGB
aerikpawson 21a450f
Specify the color space in RGB
aerikpawson cec4bc4
Specify the color space in RGB
aerikpawson 4baa6db
Fix inconsistent formatting
aerikpawson 9b5812e
Fix inconsistant formating
aerikpawson 54925f3
Specify the color space in RGB
aerikpawson 702ed14
Specify the NumPy color palette in rgb
aerikpawson 120811d
Specify the color space in rgb. Fix inconsistent formatting
aerikpawson abbb5d4
Remove the space.
aerikpawson fd28341
Add the new names of the colors in the existing website palette
aerikpawson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
} | ||
|
||
.keyfeatures-box-text > a { | ||
color: #4D77CF; | ||
color: rgb(77, 119, 207); | ||
} | ||
|
||
.keyfeatures-box-text { | ||
|
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
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
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
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
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.