Skip to content

Commit

Permalink
fix: text color in timeline event group for light mode (#8635)
Browse files Browse the repository at this point in the history
The recent fix to dark mode's background color for events also
caused an issue with the text color in light mode. This change makes
it so that the text color is correct in both instances.

Before (light):
<img width="77" alt="image"
src="https://github.com/user-attachments/assets/d17a9b90-4d6c-4e41-a84c-b673b02a7313">


After (light + dark):
<img width="77" alt="image"
src="https://github.com/user-attachments/assets/7fca426d-eaae-44e1-a4b4-61728b09fa79">
<img width="77" alt="image"
src="https://github.com/user-attachments/assets/baf07ddb-3b89-4418-97d8-a19bb6646c3f">
  • Loading branch information
thomasheartman authored Nov 4, 2024
1 parent 1c53256 commit 0e75dc5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ interface IEventTimelineEventProps {
const StyledBadge = styled(Badge)(({ theme }) => ({
'.MuiBadge-badge': {
backgroundColor: theme.palette.background.alternative,
color: theme.palette.primary.contrastText,
},
}));

Expand Down

0 comments on commit 0e75dc5

Please sign in to comment.