Rende leggibili card, badge e testi mute in tema scuro.

Le righe task di oggi restavano crema con testo chiaro; i badge e gli heading senza dark: si perdevano sullo sfondo.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-03 07:36:48 +02:00
co-authored by Cursor
parent 8f73105dfe
commit b5737a7ee7
11 changed files with 104 additions and 47 deletions
+2 -2
View File
@@ -4,11 +4,11 @@
<%= link_to "Nuovo task", new_task_path, class: "#{btn_primary} w-full sm:w-auto" %>
</div>
<section>
<h2 class="mb-2 text-sm font-semibold uppercase text-rose-700">In ritardo</h2>
<h2 class="mb-2 text-sm font-semibold uppercase text-rose-700 dark:text-rose-400">In ritardo</h2>
<%= render "shared/task_list", tasks: @overdue_tasks %>
</section>
<section>
<h2 class="mb-2 text-sm font-semibold uppercase text-amber-700">Oggi</h2>
<h2 class="mb-2 text-sm font-semibold uppercase text-amber-700 dark:text-amber-400">Oggi</h2>
<%= render "shared/task_list", tasks: @today_tasks %>
</section>
<section>