What to do about accent
color
#8503
Unanswered
ryankeairns
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
Feedback form internal teams indicates that using pink as the
accent
color is too close to the red,danger
color. As a result,accent
has been rarely used either in other EUI components or Elastic products.Additional context
euiColorVis0
in 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 deprecateaccentSecondary
primary
+ semantic colors. (i.e. if you need a green, then ask if the meaning is semantic. If so, usesuccess
)accentSecondary
as a second accent color and provide stronger guidelines on its use casesNote
One notable drawback of (3) is that it replicates the original problem, above, only now the teal color competes with
success
as opposed todanger
.Suggested next step
accent
color (and where people useaccentSecondary
)Beta Was this translation helpful? Give feedback.
All reactions