app/views/themes/light/_alert.html.erb in bullet_train-themes-light-1.2.11 vs app/views/themes/light/_alert.html.erb in bullet_train-themes-light-1.2.12
- old
+ new
@@ -1,13 +1,13 @@
<% color ||= "yellow" %>
<% tighter ||= false %>
<%
-case color
-when "yellow"
+case color.to_sym
+when :yellow
div_classes = "bg-amber-100 border-amber-200"
header_classes = "text-amber-800"
-when "red"
+when :red
div_classes = "bg-red-300 border-red-400"
header_classes = "text-red-700"
end
%>
\ No newline at end of file