From 1889c0292b64d6d1d04d404a33e0841e4abf8ca1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 3 Jul 2023 22:38:10 +0000 Subject: [PATCH] Refactor hardcoded color to use OUI in `region_map` (#4299) * Refactor hardcoded color to use OUI Signed-off-by: Matt Provost * Update changelog Signed-off-by: Matt Provost --------- Signed-off-by: Matt Provost Signed-off-by: Josh Romero Co-authored-by: Josh Romero (cherry picked from commit 1560a6c4e37013649d049dfa4569f4329e0d0118) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md --- src/plugins/region_map/public/choropleth_layer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/region_map/public/choropleth_layer.js b/src/plugins/region_map/public/choropleth_layer.js index 10d2389c576..84329953c9f 100644 --- a/src/plugins/region_map/public/choropleth_layer.js +++ b/src/plugins/region_map/public/choropleth_layer.js @@ -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'; @@ -46,7 +47,7 @@ import { const EMPTY_STYLE = { weight: 1, opacity: 0.6, - color: 'rgb(200,200,200)', + color: euiThemeVars.euiColorMediumShade, fillOpacity: 0, };