From b446b95b450597172b5902867f66355ce8c3dd4d Mon Sep 17 00:00:00 2001 From: Matthijs Date: Mon, 6 Nov 2023 15:21:39 +0100 Subject: [PATCH] Mark text-gray-500 as important for prev/next days in Dayview --- js/picker/views/DaysView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/picker/views/DaysView.js b/js/picker/views/DaysView.js index bfef0f1..fa2e3a3 100644 --- a/js/picker/views/DaysView.js +++ b/js/picker/views/DaysView.js @@ -156,9 +156,9 @@ export default class DaysView extends View { el.textContent = date.getDate(); if (current < this.first) { - classList.add('prev', 'text-gray-500', 'dark:text-white'); + classList.add('prev', '!text-gray-500', 'dark:text-white'); } else if (current > this.last) { - classList.add('next', 'text-gray-500', 'dark:text-white'); + classList.add('next', '!text-gray-500', 'dark:text-white'); } if (this.today === current) { classList.add('today', 'bg-gray-100', 'dark:bg-gray-600');