Fix dashboard dark mode readability by using theme-aware text colors

- Use  and  instead of hardcoded zinc colors in EditorDashboardLive
- Apply same fix to MicroprintsLive description paragraph
- All titles now respect the active theme and remain readable in both light and dark modes
This commit is contained in:
Firehose Bot
2026-07-06 11:14:13 +01:00
parent 2be39c3273
commit 2a0634b820
7 changed files with 59 additions and 11 deletions
@@ -86,5 +86,15 @@ defmodule FirehoseWeb.EditorDashboardLiveTest do
{:ok, _view, html} = live(conn, ~p"/editor/dashboard")
refute html =~ "Live Post"
end
test "renders with app layout including menu", %{conn: conn} do
{:ok, _view, html} = live(conn, ~p"/editor/dashboard")
# Verify the app layout is applied by checking for menu elements
assert html =~ "Willem's firehose"
assert html =~ "Blog"
assert html =~ "Releases"
assert html =~ "Contact"
assert html =~ "Dashboard" # This should be in the menu
end
end
end