[Vis colors] Replace heatmap color schemas with palettes generated with colorPalette
and OUI color variables
#4325
Labels
OUI compliance
Issues and PRs to maximize OUI usage and remove style and component hacks
unified visualization UX
Several OpenSearch Dashboards visualizations (VisLib Gauge, VisLib Goal, VisLib Heatmap, Metric) use color schemas from getHeatmapColors().
see https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/charts/public/static/color_maps/color_maps.ts
and opensearch-project/oui#601 for visual examples and defaults.
Instead, we should use OUI's
colorPalette
service to generate similar palettes with OUI color variables as the source. We can also reduce the number of color stops to 20, and simplify much of the mapping.The text was updated successfully, but these errors were encountered: