From b0028d7ff10985224f99462617b8e2d9b6e5c14d Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Wed, 4 Dec 2024 13:37:26 +0100 Subject: Add info alert --- includes/desktop/components/alert.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes') 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; ?>
-- cgit v1.2.3