Skip to content

Commit

Permalink
Remove dark style in snackbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayvented committed Nov 28, 2023
1 parent 51bcebc commit 4a57889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/base/__snack.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if snack is defined and snack %}
<div id="snackbar" class="[&.show]:opacity-100 [&.show]:bottom-24 md:[&.show]:bottom-4 fixed left-4 right-4 -bottom-full opacity-0 duration-[400ms] ease-[cubic-bezier(0, 0, 1)] flex flex-row items-center sm:w-80 gap-4 py-3 px-4 shadow-md rounded text-neutral-50 dark:text-neutral-800 bg-neutral-800 dark:bg-neutral-100 z-50">
<div id="snackbar" class="[&.show]:opacity-100 [&.show]:bottom-24 md:[&.show]:bottom-4 fixed left-4 right-4 -bottom-full opacity-0 duration-[400ms] ease-[cubic-bezier(0, 0, 1)] flex flex-row items-center sm:w-80 gap-4 py-3 px-4 shadow-md rounded text-neutral-50 bg-neutral-800 z-50">
<p class="flex flex-grow text-sm tracking-[0.25px]">{{ snack }}</p>
<button data-close="#snackbar" class="flex items-center">
<span class="material-symbols-outlined">close</span>
Expand Down

0 comments on commit 4a57889

Please sign in to comment.