Skip to content

Commit

Permalink
Refactor hardcoded color to use OUI in region_map (#4299) (#4489)
Browse files Browse the repository at this point in the history
* Refactor hardcoded color to use OUI

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

* Update changelog

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>
(cherry picked from commit 1560a6c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent fe2110c commit e079fde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/region_map/public/choropleth_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import $ from 'jquery';
import _ from 'lodash';
import d3 from 'd3';
import { i18n } from '@osd/i18n';
import { euiThemeVars } from '@osd/ui-shared-deps/theme';
import * as topojson from 'topojson-client';
import { getNotifications } from './opensearch_dashboards_services';
import { colorUtil, OpenSearchDashboardsMapLayer } from '../../maps_legacy/public';
Expand All @@ -46,7 +47,7 @@ import {
const EMPTY_STYLE = {
weight: 1,
opacity: 0.6,
color: 'rgb(200,200,200)',
color: euiThemeVars.euiColorMediumShade,
fillOpacity: 0,
};

Expand Down

0 comments on commit e079fde

Please sign in to comment.