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
@@ -23,4 +23,14 @@ class DashboardControllerTest < ActionDispatch::IntegrationTest
assert_match(/Da qui in poi/, response.body)
assert_no_match(/dal passo precedente/, response.body)
end
test "today task rows use dark-mode surfaces" do
login_as users(:admin)
get project_root_path(project_code: "matchlivetv")
assert_response :success
assert_includes response.body, "dark:bg-amber-950"
assert_includes response.body, "dark:bg-amber-950 dark:text-amber-200"
assert_includes response.body, "dark:bg-zinc-700 dark:text-zinc-50"
end
end