Skip to content

[HCM] Implement high contrast dataVis colors #8632

@mgadewoll

Description

@mgadewoll

Description

The current datavis colors were designed to fulfill color contrast requirements only in dark mode. With the introduction of High Contrast Mode (HCM) we need to ensure that those colors have a required color contrast in both color modes (light and dark).

After trying out the update for adding high contrast mode versions for dataVis colors in LIGHT mode as a PoC (issue), we want to implement the changes into EUI.

The changes were added on EUI side on this PoC branch (commit)
On Kibana side it's added on this branch and deployed here

Updates

  1. add support for using HCM switching on the theme (done in PoC)
  2. provide dataVis HCM token overrides (done in PoC)
  3. provide severity HCM token overrides
unknown: shade70
neutral: skyBlue70
success: success80
warning: warning80
risk: risk70
danger: danger70

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions