diff --git a/frontend/src/components/Dashboard/Dashboard.tsx b/frontend/src/components/Dashboard/Dashboard.tsx index 1f9aa01..437fdfc 100644 --- a/frontend/src/components/Dashboard/Dashboard.tsx +++ b/frontend/src/components/Dashboard/Dashboard.tsx @@ -135,7 +135,7 @@ const StatsCard: React.FC = ({ title, value, subtitle, icon: Ico {value} = ({ title, value, subtitle, icon: Ico {title} @@ -163,7 +163,7 @@ const StatsCard: React.FC = ({ title, value, subtitle, icon: Ico = ({ sx, ...props }) => { size="small" color="success" variant="outlined" - sx={{ height: 16, fontSize: '0.6rem' }} + sx={{ + height: 16, + fontSize: '0.6rem', + '& .MuiChip-label': { + color: theme.palette.mode === 'light' + ? 'success.dark' + : 'rgba(102, 187, 106, 0.8)', + }, + }} /> )} {doc.search_rank && ( @@ -686,7 +694,15 @@ const GlobalSearchBar: React.FC = ({ sx, ...props }) => { size="small" color="info" variant="outlined" - sx={{ height: 16, fontSize: '0.6rem' }} + sx={{ + height: 16, + fontSize: '0.6rem', + '& .MuiChip-label': { + color: theme.palette.mode === 'light' + ? 'info.dark' + : 'rgba(100, 181, 246, 0.8)', + }, + }} /> )}