mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
* fix: improve dark mode readability across the app * fix: improve dark mode support for asset percentage text * fix: apply suggested patch for theme-related improvements * chore: apply PR feedback – remove dark:, align with design tokens, update form builder * chore: revert background token and restore original style for visual consistency * chore: remove unnecessary class attributes from form fields using builder * refactor: move number_field and date_field into metaprogramming block * refactor: replace bg-divider-adaptive divs with <hr> and border-secondary * fix: apply requested changes and linting fixes
22 lines
637 B
Plaintext
22 lines
637 B
Plaintext
<%= render "layouts/shared/htmldoc" do %>
|
|
<div class="bg-container 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" %>
|
|
<% end %>
|
|
|
|
<nav>
|
|
<%= yield :header_nav %>
|
|
</nav>
|
|
|
|
<%= link_to content_for(:cancel_path) || root_path do %>
|
|
<%= lucide_icon "x", class: "text-secondary w-5 h-5" %>
|
|
<% end %>
|
|
</header>
|
|
|
|
<main class="grow px-8 pt-12 pb-32 overflow-y-auto">
|
|
<%= yield %>
|
|
</main>
|
|
</div>
|
|
<% end %>
|