feat(notift): CSS classes

This commit is contained in:
izMystic
2021-10-22 00:14:18 -04:00
parent 06e44a4553
commit b29e31119d
5 changed files with 65 additions and 12 deletions
+5 -5
View File
@@ -47,23 +47,23 @@ QBConfig.Notify.NotificationStyling = {
-- The "icon" key is the css-icon code, this project uses `Material Icons` & `Font Awesome`
QBConfig.Notify.VariantDefinitions = {
success = {
color = 'green',
classes = 'success',
icon = 'done'
},
primary = {
color = 'blue',
classes = 'primary',
icon = 'info'
},
error = {
color = 'red',
classes = 'error',
icon = 'dangerous'
},
police = {
color = 'blue',
classes = 'police',
icon = 'local_police'
},
ambulance = {
color = 'red',
classes = 'ambulance',
icon = 'fas fa-ambulance'
}
}