From 887335f1bb1c6ddcd270b187463884d4d697fa6c Mon Sep 17 00:00:00 2001 From: Ihor Romaniuk Date: Fri, 22 Mar 2024 16:03:51 +0100 Subject: [PATCH] fix: wrong text-color class and text contrast on dates page (#1229) --- 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 0c5cc696..4a486e9a 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,