Notification style fixes

Fixes #4259
This commit is contained in:
Simone Mainardi 2020-08-03 10:59:09 +02:00
parent d31c460bd8
commit 3642c1ea0d
3 changed files with 24 additions and 24 deletions

View file

@ -9,26 +9,26 @@ alert_notification = {}
alert_notification.__index = alert_notification
alert_notification_levels = {
danger = {
icon = "fa-times-circle",
bg_color = "danger",
title_text_color = "text-white",
},
info = {
icon = "fa-info-circle",
bg_color = "info",
title_text_color = "text-white",
},
warning = {
icon = "fa-exclamation-circle",
bg_color = "warning",
title_text_color = "text-dark",
},
success = {
icon = "fa-check-circle",
bg_color = "success",
title_text_color = "text-white",
},
success = {
icon = "fa-check-circle",
bg_color = "success",
title_text_color = "text-dark",
},
info = {
icon = "fa-info-circle",
bg_color = "info",
title_text_color = "text-dark",
},
warning = {
icon = "fa-exclamation-circle",
bg_color = "warning",
title_text_color = "text-dark",
},
danger = {
icon = "fa-exclamation-triangle",
bg_color = "danger",
title_text_color = "text-dark",
},
}
--- Create an instance of an AlertNotification class
@ -75,4 +75,4 @@ function alert_notification:render()
end
return alert_notification
return alert_notification