Skip to content

Commit

Permalink
style: green flash messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellberg committed Apr 3, 2024
1 parent c9e7047 commit d70bb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/flash_messages/component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="sticky font-bold w-full text-sm flex justify-center items-center p-4 border-b bg-surface">
<% flash.each do |type, message| %>
<% if type == "notice" %>
<span class="text-primary"><i class="fa fa-info-circle mr-3 text-sm"></i> <%= message %></span>
<span class="text-emerald-500"><i class="fa fa-circle-check text-sm mr-3"></i> <%= message %></span>
<% elsif type == "alert" %>
<span class="text-rose-500"><i class="fa fa-circle-exclamation text-sm mr-3"></i> <%= message %></span>
<% end %>
Expand Down

0 comments on commit d70bb6a

Please sign in to comment.