summaryrefslogtreecommitdiff
path: root/includes/desktop/components/alert.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/desktop/components/alert.php')
-rw-r--r--includes/desktop/components/alert.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/desktop/components/alert.php b/includes/desktop/components/alert.php
index fce6376..a47b99b 100644
--- a/includes/desktop/components/alert.php
+++ b/includes/desktop/components/alert.php
@@ -3,10 +3,12 @@ function c_alert(string $html_message, string $type, ?string $icon = null): void
$type_colors = [
"warning" => ["olive","yellow"],
"success" => ["green","lime"],
+ "info" => ["teal","aqua"],
][$type] ?? ["gray","white"];
if ($icon !== null)
$icon = [
"warning-sign" => "warn16",
+ "info-sign" => "info16",
][$icon] ?? $icon;
?>
<center>