mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-04 21:15:19 +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
6 lines
346 B
Text
6 lines
346 B
Text
<%# 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") %>
|