diff --git a/AppImage/components/system-logs.tsx b/AppImage/components/system-logs.tsx
index b404a4e..6ca76a1 100644
--- a/AppImage/components/system-logs.tsx
+++ b/AppImage/components/system-logs.tsx
@@ -523,6 +523,20 @@ export function SystemLogs() {
}
}
+ // ADDED: New function for notification source colors
+ const getNotificationSourceColor = (source: string) => {
+ switch (source.toLowerCase()) {
+ case "task-log":
+ return "bg-purple-500/10 text-purple-500 border-purple-500/20"
+ case "journal":
+ return "bg-cyan-500/10 text-cyan-500 border-cyan-500/20"
+ case "system":
+ return "bg-orange-500/10 text-orange-500 border-orange-500/20"
+ default:
+ return "bg-gray-500/10 text-gray-500 border-gray-500/20"
+ }
+ }
+
const logCounts = {
total: logs.length,
error: logs.filter((log) => ["error", "critical", "emergency", "alert"].includes(log.level)).length,
@@ -1013,6 +1027,15 @@ export function SystemLogs() {
>
{notification.type.toUpperCase()}
+ {/* CHANGED: Modified to use getNotificationSourceColor and appropriate icons */}
+