fix: dark mode for calendar
This commit is contained in:
parent
a724826a59
commit
4ef23a5ec9
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
||||||
<%= for day <- 1..Date.days_in_month(@current_month) do %>
|
<%= for day <- 1..Date.days_in_month(@current_month) do %>
|
||||||
<% {:ok, date} = Date.new(@current_month.year, @current_month.month, day) %>
|
<% {: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>
|
<div class="text-sm font-bold">{day}</div>
|
||||||
|
|
||||||
<!-- Render events for the current day -->
|
<!-- Render events for the current day -->
|
||||||
|
|
Loading…
Reference in a new issue