@@ -29,6 +29,7 @@ const ProposedSolutionsList: React.FC<ProposedSolutionsListProps> = ({ proposedS
2929 const { isLoading, isError, error, mutateAsync } = useCreateProposeSolution ( ) ;
3030 const toast = useToast ( ) ;
3131 const theme = useTheme ( ) ;
32+ const isDark = theme . palette . mode === 'dark' ;
3233
3334 if ( isLoading ) return < LoadingIndicator /> ;
3435 if ( isError ) return < ErrorPage message = { error ?. message } /> ;
@@ -91,10 +92,10 @@ const ProposedSolutionsList: React.FC<ProposedSolutionsListProps> = ({ proposedS
9192 } }
9293 >
9394 < Grid container rowSpacing = { 1 } >
94- < Grid item xs = { 12 } sx = { { p : 2 , mt : 1 , minHeight : 100 , borderRadius : 1 , bgcolor : '#474848' } } >
95+ < Grid item xs = { 12 } sx = { { p : 2 , mt : 1 , minHeight : 100 , borderRadius : 1 , bgcolor : isDark ? '#474848' : 'white ' } } >
9596 < DetailDisplay label = "Description" content = { proposedSolution . description } />
9697 </ Grid >
97- < Grid item xs = { 12 } sx = { { p : 2 , mt : 2 , minHeight : 100 , borderRadius : 1 , bgcolor : '#474848' } } >
98+ < Grid item xs = { 12 } sx = { { p : 2 , mt : 2 , minHeight : 100 , borderRadius : 1 , bgcolor : isDark ? '#474848' : 'white ' } } >
9899 < DetailDisplay label = "Scope Impact" content = { proposedSolution . scopeImpact } />
99100 </ Grid >
100101 < Grid item xs = { 7 } display = "flex" sx = { { marginTop : 0.5 } } >
0 commit comments