What to do about accent color
#8503
Replies: 5 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
|
Not certain when we'll discuss this as a group but, when we do, my thinking is to go with proposal 2 + plus some surgical changes to color usage in our current components:
Reasons:
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the analysis @ryankeairns! If I get you right, you propose to have teal as an
Given all that and also the considerations that you listed, I'm more inclined towards replacing our current green with teal, and try to use it for success only (your point number 3). As for pink — yes, we can deprecate it, as well as accent color per se. Blue and light blue could do the trick. Important notes to add here:
|
Beta Was this translation helpful? Give feedback.
-
|
I also like Proposal 2... but haven't seen anyone suggest anything in Proposal 1 direction. Agree with your next steps: It would be helpful to see what the touchpoints and changes actually look like. We did some work on that last year, so I'm hoping we can pick up on that. |
Beta Was this translation helpful? Give feedback.
-
|
Posting here too for visibility: |
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Feedback form internal teams indicates that using pink as the
accentcolor is too close to the red,dangercolor. As a result,accenthas been rarely used either in other EUI components or Elastic products.Additional context
euiColorVis0in Amsterdam) for accents in places other than visualizations such as drag-and-drop, custom buttons, custom callouts, etc.accentSecondary, in part, as a backward-compatible solution for such use cases. We later backtracked on this decision leaving it as an available-though-undocumented option.Example of similarity with callouts

Proposed solutions
accent- visually differentiated from other semantic colors (i.e.success,danger, orwarning) and deprecateaccentSecondaryaccentfrom pink to teal and deprecateaccentSecondaryprimary+ semantic colors. (i.e. if you need a green, then ask if the meaning is semantic. If so, usesuccess)accentSecondaryas a second accent color and provide stronger guidelines on when to use it versusaccentNote
One notable drawback of (3) is that it replicates the original problem, above, only now the teal color competes with
successas opposed todanger.Suggested next step
accentcolor (and where people useaccentSecondary)Beta Was this translation helpful? Give feedback.
All reactions