mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 02:54:10 +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
17 lines
744 B
Plaintext
17 lines
744 B
Plaintext
<dialog id="turbo-confirm" class="max-w-[420px] w-full rounded-xl m-auto">
|
|
<form method="dialog" class="p-4 bg-container">
|
|
<div class="flex flex-col mb-4">
|
|
<div class="flex justify-between mb-2 gap-4">
|
|
<h3 id="turbo-confirm-title" class="font-medium text-primary text-md"><%= t(".title") %></h3>
|
|
<button value="cancel">
|
|
<%= lucide_icon("x", class: "w-5 h-5 shrink-0 text-secondary") %>
|
|
</button>
|
|
</div>
|
|
<div id="turbo-confirm-body" class="text-secondary text-sm">
|
|
<%= t(".body_html") %>
|
|
</div>
|
|
</div>
|
|
<button id="turbo-confirm-accept" class="btn btn--outline-destructive justify-center w-full mb-2" value="confirm"><%= t(".accept") %></button>
|
|
</form>
|
|
</dialog>
|