mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
refactor: replace bg-divider-adaptive divs with <hr> and border-secondary
This commit is contained in:
parent
6f611a2769
commit
f55616851d
4 changed files with 4 additions and 12 deletions
|
@ -850,14 +850,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
@utility bg-divider-adaptive {
|
||||
@apply bg-black;
|
||||
|
||||
@variant theme-dark {
|
||||
@apply bg-white;
|
||||
}
|
||||
}
|
||||
|
||||
@utility bg-primary-adaptive {
|
||||
@apply bg-white;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
step[:is_complete] ? "text-green-600" : "text-secondary"
|
||||
end %>
|
||||
<% step_class = if is_current
|
||||
"bg-primary text-white"
|
||||
"bg-primary text-primary"
|
||||
else
|
||||
step[:is_complete] ? "bg-green-600/10 border-alpha-black-25" : "bg-container-inset"
|
||||
end %>
|
||||
|
@ -31,7 +31,7 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<div class="h-px bg-divider-adaptive w-12 group-last:hidden"></div>
|
||||
<hr class="border border-secondary w-12 group-last:hidden" />
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<div class="h-px bg-divider-adaptive w-12 group-last:hidden"></div>
|
||||
<hr class="border border-secondary w-12 group-last:hidden" />
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<%= render "layouts/shared/htmldoc" do %>
|
||||
<div class="flex flex-col h-dvh bg-white pt-safe">
|
||||
<div class="flex flex-col h-dvh bg-container pt-safe">
|
||||
<header class="flex items-center justify-between p-8">
|
||||
<%= link_to content_for(:previous_path) || imports_path do %>
|
||||
<%= lucide_icon "arrow-left", class: "w-5 h-5 text-secondary" %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue