mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 22:34:47 +00: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
19 lines
570 B
Plaintext
19 lines
570 B
Plaintext
<%# locals: (title:, content:, subtitle: nil) %>
|
|
|
|
<%= modal do %>
|
|
<article class="mx-auto w-full p-4 space-y-4 min-w-[450px]">
|
|
<div class="space-y-2">
|
|
<header class="flex justify-between items-center">
|
|
<h2 class="font-medium"><%= title %></h2>
|
|
<%= lucide_icon("x", class: "cursor-pointer w-5 h-5 text-secondary", data: { action: "click->modal#close" }) %>
|
|
</header>
|
|
|
|
<% if subtitle.present? %>
|
|
<%= tag.p subtitle, class: "text-secondary font-light" %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%= content %>
|
|
</article>
|
|
<% end %>
|