From 01cef37d281a92a96151d12c83129d79df7a85ab Mon Sep 17 00:00:00 2001 From: ihor-romaniuk Date: Wed, 25 Oct 2023 15:13:20 +0300 Subject: [PATCH] fix: wrong text-color class and text contrast on dates page --- src/course-home/dates-tab/timeline/badgelist.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/course-home/dates-tab/timeline/badgelist.jsx b/src/course-home/dates-tab/timeline/badgelist.jsx index 0c5cc69668..4a486e9abc 100644 --- a/src/course-home/dates-tab/timeline/badgelist.jsx +++ b/src/course-home/dates-tab/timeline/badgelist.jsx @@ -38,21 +38,21 @@ function getBadgeListAndColor(date, intl, item, items) { message: messages.today, shownForDay: isToday, bg: 'bg-warning-300', - className: 'text-black', + className: 'text-dark', }, { message: messages.completed, shownForDay: assignments.length && assignments.every(isComplete), shownForItem: x => isLearnerAssignment(x) && isComplete(x), bg: 'bg-light-500', - className: 'text-black', + className: 'text-dark', }, { message: messages.pastDue, shownForDay: assignments.length && assignments.every(isPastDue), shownForItem: x => isLearnerAssignment(x) && isPastDue(x), bg: 'bg-dark-200', - className: 'text-white', + className: 'text-dark', }, { message: messages.dueNext,