style: Alarm UI Widget

This commit is contained in:
ISA
2025-09-17 13:26:02 +02:00
parent 1d3d04d49c
commit 4a42c428f0
5 changed files with 7 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ const AlarmIndicator = ({
alarmLink,
alarmText,
animation = "pulse",
pulseDuration = 0.5,
pulseDuration = 0.5, // default: 1
}) => {
if (!hasAlarm || !alarmLink) return null;
// Animation-Klasse wählen
@@ -42,7 +42,7 @@ const AlarmIndicator = ({
aria-label="Alarm aktiv"
>
<AlarmIcon
className={`h-14 w-14 ${animationClass} text-red-800 bg-orange-500`}
className={`h-14 w-14 mr-6 ${animationClass} text-red-800 bg-red-300`}
style={style}
/>
</span>