Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix dark mode in clickhouse debug view (#4442)

hq14d4c9a8a2181
diff --git a/lib/plausible_web/templates/debug/clickhouse.html.heex b/lib/plausible_web/templates/debug/clickhouse.html.heex
index cfe9304fd1..b20666b26f 100644
--- a/lib/plausible_web/templates/debug/clickhouse.html.heex
+++ b/lib/plausible_web/templates/debug/clickhouse.html.heex
@@ -2,12 +2,12 @@
<section class="grid grid-cols-1 gap-y-3 divide-y">
<%= for log <- @queries do %>
<details class="group py-1">
- <summary class="flex cursor-pointer flex-row items-center justify-between py-1 font-semibold text-gray-600 marker:[font-size:0px]">
+ <summary class="flex cursor-pointer flex-row items-center justify-between py-1 font-semibold text-gray-600 dark:text-gray-200 pt-4">
<%= log["request_method"] %> <%= controller_name(log["phoenix_controller"]) %>.<%= log[
"phoenix_action"
] %> (<%= log[:query_duration_ms] %>ms)
<svg
- class="h-6 w-6 rotate-0 transform text-gray-400 group-open:rotate-180"
+ class="h-6 w-6 rotate-0 transform text-gray-400 dark:text-gray-200 group-open:rotate-180"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
@@ -18,7 +18,7 @@
<path stroke-linecap="round" stroke-linejoin="round" d="M19 9l-7 7-7-7"></path>
</svg>
</summary>
- <table class="table table-striped table-auto">
+ <table class="table table-striped table-auto text-gray-400 dark:text-gray-200">
<tbody>
<%= for {key, value} <- log do %>
<tr class="table-row">