From d21b8898abc8b6bca8a4001e5111296ea8ca5a93 Mon Sep 17 00:00:00 2001 From: Sophia Mersmann Date: Fri, 10 Jan 2025 14:00:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20remove=20duplicate=20color=20def?= =?UTF-8?q?initions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../@ourworldindata/grapher/src/core/GrapherConstants.ts | 6 ------ packages/@ourworldindata/grapher/src/footer/Footer.tsx | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/@ourworldindata/grapher/src/core/GrapherConstants.ts b/packages/@ourworldindata/grapher/src/core/GrapherConstants.ts index 1601f36f65e..1e53cd42609 100644 --- a/packages/@ourworldindata/grapher/src/core/GrapherConstants.ts +++ b/packages/@ourworldindata/grapher/src/core/GrapherConstants.ts @@ -26,12 +26,6 @@ export const GRAPHER_FRAME_PADDING_HORIZONTAL = 16 export const STATIC_EXPORT_DETAIL_SPACING = 8 -export const GRAPHER_BACKGROUND_DEFAULT = "#ffffff" -export const GRAPHER_BACKGROUND_BEIGE = "#fbf9f3" - -export const GRAPHER_DARK_TEXT = "#5b5b5b" -export const GRAPHER_LIGHT_TEXT = "#858585" - export const GRAPHER_OPACITY_MUTE = 0.3 export const GRAPHER_AXIS_LINE_WIDTH_DEFAULT = 1 diff --git a/packages/@ourworldindata/grapher/src/footer/Footer.tsx b/packages/@ourworldindata/grapher/src/footer/Footer.tsx index b7bd194551e..90f70beff0c 100644 --- a/packages/@ourworldindata/grapher/src/footer/Footer.tsx +++ b/packages/@ourworldindata/grapher/src/footer/Footer.tsx @@ -19,8 +19,8 @@ import { ActionButtons } from "../controls/ActionButtons" import { BASE_FONT_SIZE, GRAPHER_FRAME_PADDING_HORIZONTAL, - GRAPHER_LIGHT_TEXT, } from "../core/GrapherConstants" +import { GRAPHER_LIGHT_TEXT } from "../color/ColorConstants" /*