diff --git a/packages/@ourworldindata/grapher/src/lineLegend/LineLegend.tsx b/packages/@ourworldindata/grapher/src/lineLegend/LineLegend.tsx index 647e714666e..e845c46b474 100644 --- a/packages/@ourworldindata/grapher/src/lineLegend/LineLegend.tsx +++ b/packages/@ourworldindata/grapher/src/lineLegend/LineLegend.tsx @@ -14,7 +14,7 @@ import { last, maxBy, } from "@ourworldindata/utils" -import { TextWrap, TextWrapGroup } from "@ourworldindata/components" +import { TextWrap, TextWrapGroup, Halo } from "@ourworldindata/components" import { computed } from "mobx" import { observer } from "mobx-react" import { VerticalAxis } from "../axis/Axis" @@ -32,7 +32,6 @@ import { import { ChartSeries } from "../chart/ChartInterface" import { darkenColorForText } from "../color/ColorUtils" import { AxisConfig } from "../axis/AxisConfig.js" -import { Halo } from "@ourworldindata/components" // Minimum vertical space between two legend items const LEGEND_ITEM_MIN_SPACING = 4 diff --git a/packages/@ourworldindata/grapher/src/scatterCharts/ScatterSizeLegend.tsx b/packages/@ourworldindata/grapher/src/scatterCharts/ScatterSizeLegend.tsx index 935b1b8fe40..6d9d0ad8d6b 100644 --- a/packages/@ourworldindata/grapher/src/scatterCharts/ScatterSizeLegend.tsx +++ b/packages/@ourworldindata/grapher/src/scatterCharts/ScatterSizeLegend.tsx @@ -1,7 +1,7 @@ import React from "react" import { computed } from "mobx" import { scaleLinear, ScaleLinear } from "d3-scale" -import { TextWrap } from "@ourworldindata/components" +import { TextWrap, Halo } from "@ourworldindata/components" import { Color, first, @@ -18,7 +18,6 @@ import { GRAPHER_LIGHT_TEXT, } from "../core/GrapherConstants" import { CoreColumn } from "@ourworldindata/core-table" -import { Halo } from "@ourworldindata/components" import { ScatterSeries, SCATTER_POINT_MAX_RADIUS,