mirror of
https://github.com/wekan/wekan.git
synced 2026-11-28 05:59:42 -05:00
dueDateColor.js gives a due date more than the board's due-soon hours away the class not-due, documented as grey, but the badge was yellow: not-due is an empty rule, so the due date's own type colour (.card-date.due-date #ffd700, in cardDate.css and minicard.css) showed through, and a due date three months away looked almost like the amber of "due soon". A due badge always carries a status class (overdue, due-soon, completed, not-due), so that type colour only ever showed on not-due. It is removed: not due is now the plain grey .card-date badge, and board themes such as Clean Light / Clean Dark keep their own badge colour. Amber and red are unchanged. The tests pin that no due-date rule without a status class sets a background, and that no client CSS colours a due date yellow. Thanks to BarbossHack and xet7 ! Fixes #6947,