Skip to content

Commit

Permalink
Refactor color maps to use OUI color palettes (opensearch-project#4293)
Browse files Browse the repository at this point in the history
* Remove color_util

Signed-off-by: Matt Provost <provomat@amazon.com>

* Update changelog

Signed-off-by: Matt Provost <provomat@amazon.com>

* Revert "Remove color_util"

This reverts commit 9ca9c56.

Signed-off-by: Matt Provost <provomat@amazon.com>

* Refactor color maps to use Oui color palettes

Signed-off-by: Matt Provost <provomat@amazon.com>

* Update changelog pt 2: electric boogaloo

Signed-off-by: Matt Provost <provomat@amazon.com>

* Make gradients look better

Signed-off-by: Matt Provost <provomat@amazon.com>

* Fix typescript ignore

Signed-off-by: Matt Provost <provomat@amazon.com>

* Fix tests

Signed-off-by: Matt Provost <provomat@amazon.com>

* Add todo followup

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Matt Provost <provomat@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
  • Loading branch information
BSFishy and joshuarrrr authored Jun 26, 2023
1 parent 6cee1a9 commit 70b3420
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 3,094 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Remove unused Sass in `tile_map` plugin ([#4110](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4110))
- [Table Visualization] Remove custom styling for text-align:center in favor of OUI utility class. ([#4164](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4164))
- Replace the use of `bluebird` in `saved_objects` plugin ([#4026](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4026))
- [Vis Colors] Replace color maps with OUI color palettes ([#4293](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4293))
- [Vis Colors] [Maps] Replace hardcoded color to OUI color in `maps_legacy` plugin ([#4294](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4294))
- [Vis Colors] [TSVB] Update default color in `vis_type_timeseries` to use `ouiPaletteColorBlind()[0]`([#4363](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4363))
- [Vis Colors] [Timeline] Replace `vis_type_timeline` colors with `ouiPaletteColorBlind()` ([#4366](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4366))
Expand Down
Loading

0 comments on commit 70b3420

Please sign in to comment.