1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-10 07:55:21 +02:00

fix: apply suggested patch for theme-related improvements

This commit is contained in:
Guilherme Mena 2025-04-18 16:26:06 -03:00
parent 61000f929e
commit 0f43de34f8
4 changed files with 19 additions and 3 deletions

View file

@ -848,4 +848,20 @@
@variant theme-dark {
@apply bg-white;
}
}
@utility bg-divider-adaptive {
@apply bg-black;
@variant theme-dark {
@apply bg-white;
}
}
@utility bg-primary-adaptive {
@apply bg-white;
@variant theme-dark {
@apply bg-black ;
}
}

View file

@ -31,7 +31,7 @@
</div>
<% end %>
<div class="h-px bg-alpha-black-200 w-12 group-last:hidden"></div>
<div class="h-px bg-divider-adaptive w-12 group-last:hidden"></div>
</li>
<% end %>
</ul>

View file

@ -43,7 +43,7 @@
</div>
<% end %>
<div class="h-px bg-alpha-black-200 w-12 group-last:hidden"></div>
<div class="h-px bg-divider-adaptive w-12 group-last:hidden"></div>
</li>
<% end %>
</ul>

View file

@ -1,5 +1,5 @@
<%= render "layouts/shared/htmldoc" do %>
<div class="flex flex-col h-dvh pt-safe">
<div class="bg-primary-adaptive flex flex-col h-dvh pt-safe">
<header class="flex items-center justify-between p-8">
<%= link_to content_for(:previous_path) || root_path do %>
<%= lucide_icon "arrow-left", class: "w-5 h-5 text-secondary" %>