mirror of
https://github.com/we-promise/sure.git
synced 2026-04-09 15:24:48 +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
7 lines
346 B
Plaintext
7 lines
346 B
Plaintext
<%# locals: (key:, size: "md", color: "current") %>
|
|
|
|
<% size_class = case size when "sm" then "w-4 h-4" when "md" then "w-5 h-5" when "lg" then "w-6 h-6" end %>
|
|
<% color_class = case color when "current" then "text-current" when "gray" then "text-secondary" end %>
|
|
|
|
<%= lucide_icon key, class: class_names(size_class, color_class, "shrink-0") %>
|