diff --git a/packages/@ourworldindata/grapher/src/lineCharts/LineChart.tsx b/packages/@ourworldindata/grapher/src/lineCharts/LineChart.tsx index d3f561841e6..95e55c0b507 100644 --- a/packages/@ourworldindata/grapher/src/lineCharts/LineChart.tsx +++ b/packages/@ourworldindata/grapher/src/lineCharts/LineChart.tsx @@ -55,6 +55,7 @@ import { import { GRAPHER_AXIS_LINE_WIDTH_THICK, GRAPHER_AXIS_LINE_WIDTH_DEFAULT, + BASE_FONT_SIZE, } from "../core/GrapherConstants" import { ColorSchemes } from "../color/ColorSchemes" import { AxisConfig, FontSizeManager } from "../axis/AxisConfig" diff --git a/packages/@ourworldindata/grapher/src/scatterCharts/ScatterPlotChart.tsx b/packages/@ourworldindata/grapher/src/scatterCharts/ScatterPlotChart.tsx index f9479b82c96..0ba04ed44a8 100644 --- a/packages/@ourworldindata/grapher/src/scatterCharts/ScatterPlotChart.tsx +++ b/packages/@ourworldindata/grapher/src/scatterCharts/ScatterPlotChart.tsx @@ -45,6 +45,7 @@ import { import { observer } from "mobx-react" import { NoDataModal } from "../noDataModal/NoDataModal" import { + BASE_FONT_SIZE, GRAPHER_AXIS_LINE_WIDTH_DEFAULT, GRAPHER_AXIS_LINE_WIDTH_THICK, } from "../core/GrapherConstants" diff --git a/packages/@ourworldindata/grapher/src/verticalColorLegend/VerticalColorLegend.tsx b/packages/@ourworldindata/grapher/src/verticalColorLegend/VerticalColorLegend.tsx index 4936b6208b2..befbd1871fd 100644 --- a/packages/@ourworldindata/grapher/src/verticalColorLegend/VerticalColorLegend.tsx +++ b/packages/@ourworldindata/grapher/src/verticalColorLegend/VerticalColorLegend.tsx @@ -3,7 +3,10 @@ import { sum, max } from "@ourworldindata/utils" import { TextWrap } from "@ourworldindata/components" import { computed } from "mobx" import { observer } from "mobx-react" -import { GRAPHER_FONT_SCALE_11_2 } from "../core/GrapherConstants" +import { + GRAPHER_FONT_SCALE_11_2, + BASE_FONT_SIZE, +} from "../core/GrapherConstants" import { Color } from "@ourworldindata/types" export interface VerticalColorLegendManager {