diff --git a/frontend/scss/app.scss b/frontend/scss/app.scss index 5f1ce765..3740b277 100644 --- a/frontend/scss/app.scss +++ b/frontend/scss/app.scss @@ -7,3 +7,4 @@ @import 'components/btns'; @import 'components/links'; @import 'components/input'; +@import 'components/alert'; diff --git a/frontend/scss/components/_alert.scss b/frontend/scss/components/_alert.scss new file mode 100644 index 00000000..f4234052 --- /dev/null +++ b/frontend/scss/components/_alert.scss @@ -0,0 +1,9 @@ +.alert { + &-success { + @apply bg-[#15803d]; + } + + &-error { + @apply bg-[#f43f5e]; + } +} diff --git a/templates/auth/login.html.tera b/templates/auth/login.html.tera index 47c8857a..f16fe0cf 100644 --- a/templates/auth/login.html.tera +++ b/templates/auth/login.html.tera @@ -8,16 +8,7 @@ {% if flash %} - {% if flash.0 == "success" %} -