diff --git a/admin/app/components/solidus_admin/ui/badge/component.rb b/admin/app/components/solidus_admin/ui/badge/component.rb index bbc5d0ad976..332cf74f2cc 100644 --- a/admin/app/components/solidus_admin/ui/badge/component.rb +++ b/admin/app/components/solidus_admin/ui/badge/component.rb @@ -4,12 +4,12 @@ class SolidusAdmin::UI::Badge::Component < SolidusAdmin::BaseComponent include ViewComponent::InlineTemplate COLORS = { - graphite_light: "text-black bg-graphiteLight", + graphite_light: "text-black bg-graphite-light", red: 'text-red-500 bg-red-100', green: 'text-forest bg-seafoam', blue: 'text-blue bg-sky', black: 'text-white bg-black', - yellow: 'text-orange bg-papayaWhip', + yellow: 'text-orange bg-papaya-whip', }.freeze SIZES = { diff --git a/admin/app/components/solidus_admin/ui/toast/component.html.erb b/admin/app/components/solidus_admin/ui/toast/component.html.erb index 185526a1381..5971fa2a948 100644 --- a/admin/app/components/solidus_admin/ui/toast/component.html.erb +++ b/admin/app/components/solidus_admin/ui/toast/component.html.erb @@ -1,21 +1,23 @@
-closing-class="transform opacity-0 transition duration-500" + data-<%= stimulus_id %>-animation-class="translate-y-full opacity-0" data-<%= stimulus_id %>-transition-value="500" role="dialog" aria-label="<%= t(".#{@scheme}_label") %>" aria-live="polite" > - <%= icon_tag(@icon, class: 'inline-block w-[1.125rem] h-[1.125rem] mr-3 fill-current') if @icon %> + <%= icon_tag(@icon, class: 'w-[1.125rem] h-[1.125rem] mr-2 fill-current') if @icon %> -

<%= @text %>

+

<%= @text %>