From ca5b2290814a9231457b1d7b68c8a4781329164f Mon Sep 17 00:00:00 2001 From: Brendan Schlagel Date: Fri, 6 Mar 2026 13:41:36 -0500 Subject: [PATCH] bump default green accent color a bit darker for accessibility --- components/ThemeManager/themeDefaults.ts | 4 ++-- components/ThemeManager/themeUtils.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/ThemeManager/themeDefaults.ts b/components/ThemeManager/themeDefaults.ts index 32ef966f..f3092571 100644 --- a/components/ThemeManager/themeDefaults.ts +++ b/components/ThemeManager/themeDefaults.ts @@ -9,13 +9,13 @@ export const PubThemeDefaults = { pageBackground: "#FDFCFA", primary: "#272727", accentText: "#FFFFFF", - accentBackground: "#639431", + accentBackground: "#57822B", } as const; // RGB color defaults (parsed from hex values above) export const PubThemeDefaultsRGB = { background: { r: 253, g: 252, b: 250 }, // #FDFCFA foreground: { r: 39, g: 39, b: 39 }, // #272727 - accent: { r: 99, g: 148, b: 49 }, // #639431 + accent: { r: 87, g: 130, b: 43 }, // #57822B accentForeground: { r: 255, g: 255, b: 255 }, // #FFFFFF } as const; diff --git a/components/ThemeManager/themeUtils.ts b/components/ThemeManager/themeUtils.ts index 35151728..50ef8866 100644 --- a/components/ThemeManager/themeUtils.ts +++ b/components/ThemeManager/themeUtils.ts @@ -12,8 +12,8 @@ export const ThemeDefaults = { //everywhere else, accent-background = accent-1 and accent-text = accent-2. // we just need to create a migration pipeline before we can change this "theme/accent-text": "#FFFFFF", - "theme/accent-background": "#639431", - "theme/accent-contrast": "#639431", + "theme/accent-background": "#57822B", + "theme/accent-contrast": "#57822B", }; // used to calculate the contrast between page and accent1, accent2, and determin which is higher contrast -- 2.51.2