issue(87): make header title color consistent across all modules #98
|
|
@ -38,7 +38,6 @@ export function ContentPageHeader({
|
|||
const effectiveTone = tone || contextTone;
|
||||
const resolvedTitleColor =
|
||||
titleColor ||
|
||||
(effectiveTone && toneColors[effectiveTone]?.title) ||
|
||||
Colors.textPrimary;
|
||||
useFocusEffect(
|
||||
useCallback(() => {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue