Skip to content

Conversation

@redallen
Copy link
Contributor

@redallen redallen commented Apr 7, 2020

Closes #1517

Preview: https://patternfly-org-pr-1772-v4.surge.sh/v4/design-guidelines/styles/colors

Couple of differences from design:

Color palettes

  • Cursor moved to fit in the circle because the drop shadows on hovers appear as circles rather than squares.
  • Color families don't open when linking from a palette. It does scroll you to the right color in the family, though.

Status and state colors

  • Status and state colors section is a little cramped compared to the design, which I don't think accounted for the space a side nav takes. Do we want to keep the 3 column layout or make the font smaller @gdoyle1 ?

Color families

  • The shadows family has no shadows currently. It's included on one page in the design but not another... do we want it in or not @gdoyle1 ? I'm fixing it to look correct now just in case...

@patternfly-build
Copy link
Collaborator

patternfly-build commented Apr 7, 2020

@redallen redallen requested a review from gdoyle1 April 7, 2020 19:23
@redallen redallen changed the title add new colors page Update colors page Apr 7, 2020
@redallen redallen requested a review from mcoker April 7, 2020 20:17
Copy link
Contributor

@gdoyle1 gdoyle1 left a comment

Choose a reason for hiding this comment

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

@redallen wow this is looking incredible. The comments you left about moving the hand pointer into the circle and the color palette not opening upon scroll are fine!

I found some small things that need to be fixed:

  1. For all of the hex values where the pattern of letters/numbers repeat, can we still show the full value? They are shortening to 3... for example #FFF should be #FFFFFF and #06C should be #0066CC

Screen Shot 2020-04-08 at 9 11 08 AM

  1. The --pf-global--link-color is showing a hex value of #4080 and should be #0066CC

Screen Shot 2020-04-08 at 9 11 58 AM

  1. For each group of status colors, each hex value should have a description next to the hex value... I forgot to put this in the google doc (my bad) but it's in the Marvel project. I did add it to the google doc this morning and will also list it here (one default hex will not have a description on purpose):
    Danger
    #470000 (alert icon)
    #A30000 (alert title)
    #C9190B (alert icon background)
    Default
    #3737 (alert title and icon)
    #009596
    #73C5C5 (alert icon background)
    Info
    #4368 (alert title and icon)
    #73BCF7 (alert icon background)
    Success
    #0F280D (alert title and icon)
    #3E8635 (alert icon background)
    Warning
    #795600 (alert title and icon)
    #F0AB00 (alert icon background)

Screen Shot 2020-04-08 at 9 12 45 AM

Screen Shot 2020-04-08 at 9 22 48 AM

  1. Can we change "hex value" in the shadow tooltips to "value"?

Screen Shot 2020-04-08 at 9 13 23 AM

  1. In the color palette section, can we make it so when you hover over an expandable icon (the angle), your cursor becomes a pointer? Not seeing that now.

  2. The expandable panel that drops down in the color palette table applies a different background color on hover - can we remove this (bg will stay #FFFFFF)? That interaction isn't needed since nothing can be selected within that panel.

Screen Shot 2020-04-08 at 9 09 59 AM

  1. The hex values listed in the color families are using monospace instead of RHT (should be the same text as the palette color text listed to the left)

@redallen
Copy link
Contributor Author

redallen commented Apr 8, 2020

  1. ✔️
  2. ✔️ Difficult since our react-tokens values are wrong. I'll try to use @jschuler 's new patternfly_variables.js
  3. ✔️
  4. ✔️
  5. ✔️
  6. ✔️
  7. ✔️

@gdoyle1 gdoyle1 self-requested a review April 9, 2020 14:06
Copy link
Contributor

@gdoyle1 gdoyle1 left a comment

Choose a reason for hiding this comment

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

@redallen this looks AMAZING.
One last change!!
Can we change the blue expansion color to white in the shadows color palette please? I understand that it will remove the indication that it has been expanded but it will be consistent with the other palettes that way.

THANK YOU

@gdoyle1 gdoyle1 self-requested a review April 9, 2020 14:39
Copy link
Contributor

@gdoyle1 gdoyle1 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!

Copy link
Member

@evwilkin evwilkin left a comment

Choose a reason for hiding this comment

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

LGTM

@evwilkin evwilkin merged commit 3818c07 into patternfly:master Apr 9, 2020
@evwilkin evwilkin deleted the feat/new-colors-page branch April 9, 2020 14:48
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

  • gatsby-theme-patternfly-org@1.4.15
  • patternfly-org-4@3.52.21

Thanks for your contribution! 🎉

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.

Colors page redesign

4 participants