mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
* Add geist font * Design system css file * Add cursor ui/ux rules * Add shadows and shadow borders * Replace primitives with tokens for common text and backgrounds * Organize css * Update switch and checkbox class names * Add back global color variables
12 lines
493 B
Text
12 lines
493 B
Text
<%# 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-gray-25 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>
|