diff --git a/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb b/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb index 99427fe30c..4c521377a2 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb @@ -51,10 +51,19 @@ } @media (prefers-color-scheme: dark) { + body { + background-color: #222; + color: #ECECEC; + } + #route_table tbody tr:nth-child(odd) { background: #333; } + #route_table tbody tr:nth-child(even) { + background: #444; + } + #route_table tbody.exact_matches, #route_table tbody.fuzzy_matches { color: #333;