fix: dark mode for calendar
Some checks failed
Build and Push Docker Image / Build and Push Image (push) Waiting to run
Checks / check (push) Has been cancelled

This commit is contained in:
Vladimir Rubin 2024-12-23 00:13:29 +02:00
parent a724826a59
commit 4ef23a5ec9
Signed by: vavakado
GPG key ID: CAB744727F36B524

View file

@ -87,7 +87,7 @@
<%= for day <- 1..Date.days_in_month(@current_month) do %>
<% {:ok, date} = Date.new(@current_month.year, @current_month.month, day) %>
<div class={["border rounded p-3", @current_month == date && "bg-zinc-800"]}>
<div class={["border rounded p-3 dark:border-zinc-400", @current_month == date && "bg-zinc-200 dark:bg-zinc-800"]}>
<div class="text-sm font-bold">{day}</div>
<!-- Render events for the current day -->