mirror of
https://github.com/we-promise/sure.git
synced 2026-04-16 18:44:13 +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
13 lines
493 B
Plaintext
13 lines
493 B
Plaintext
<%# locals: (title:, content:, open: true) %>
|
|
|
|
<details class="group space-y-2" <%= "open" if open %>>
|
|
<summary class="flex list-none items-center justify-between rounded-xl px-3 py-2 text-xs font-medium
|
|
uppercase text-secondary bg-surface focus-visible:outline-hidden">
|
|
<h3><%= title %></h3>
|
|
<%= lucide_icon "chevron-down",
|
|
class: "group-open:transform group-open:rotate-180 text-secondary w-5 h-5" %>
|
|
</summary>
|
|
|
|
<%= content %>
|
|
</details>
|