1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

fix: text color in timeline event group for light mode (#8635)

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">
This commit is contained in:
Thomas Heartman 2024-11-04 10:48:05 +01:00 committed by GitHub
parent 1c53256887
commit 0e75dc57cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,7 @@ interface IEventTimelineEventProps {
const StyledBadge = styled(Badge)(({ theme }) => ({
'.MuiBadge-badge': {
backgroundColor: theme.palette.background.alternative,
color: theme.palette.primary.contrastText,
},
}));