issue(87): make header title color consistent across all modules

This commit is contained in:
ShivaniKhaire 2026-10-30 09:33:26 +05:30
parent b520220e1c
commit 9153dce196
2 changed files with 3 additions and 4 deletions

View File

@ -38,7 +38,6 @@ export function ContentPageHeader({
const effectiveTone = tone || contextTone;
const resolvedTitleColor =
titleColor ||
(effectiveTone && toneColors[effectiveTone]?.title) ||
Colors.textPrimary;
useFocusEffect(
useCallback(() => {

View File

@ -21,19 +21,19 @@ export const toneColors: Record<PageTone, ToneColorScheme> = {
accent: Colors.purple, // "#75649B"
soft: Colors.purpleSoft, // "#F6F3FA"
border: "#E8E2F2",
title: Colors.purple, // "#75649B"
title: Colors.textPrimary,
},
blue: {
accent: Colors.blue, // "#4E7496"
soft: Colors.blueSoft, // "#F1F6FA"
border: "#DAE6F0",
title: Colors.blue, // "#4E7496"
title: Colors.textPrimary,
},
green: {
accent: Colors.primary, // "#2E7D32"
soft: "#F2F8F4",
border: "#DCEADF",
title: Colors.primary, // "#2E7D32"
title: Colors.textPrimary,
},
};