Signalfarben kräftiger: green-50/red-50 → green-100/red-100

Betrifft Kalender-Tageskacheln, Event-Liste (App) und
Admin-Event-Übersicht. Borders ebenfalls angepasst (green-300/red-300).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Rhino
2026-03-03 09:54:57 +01:00
parent b9d158515f
commit 83271a1e92
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@
@forelse ($events as $event)
@php
$minStatus = $event->minimumsStatus();
$bgClass = match($minStatus) { true => 'bg-green-50 border-green-200', false => 'bg-red-50 border-red-200', default => 'bg-white border-gray-200' };
$bgClass = match($minStatus) { true => 'bg-green-100 border-green-300', false => 'bg-red-100 border-red-300', default => 'bg-white border-gray-200' };
@endphp
<div class="{{ $bgClass }} border rounded-lg shadow-sm p-4 mb-3">
<div class="flex flex-col lg:flex-row lg:items-center gap-4">

View File

@@ -306,8 +306,8 @@
dayCellClass(day) {
if (!day.currentMonth) return 'bg-gray-50 text-gray-400';
const status = this.dayMinStatus(this.eventsForDate(day.dateStr));
if (status === true) return 'bg-green-50';
if (status === false) return 'bg-red-50';
if (status === true) return 'bg-green-100';
if (status === false) return 'bg-red-100';
if (day.isToday) return 'bg-blue-50';
return '';
},

View File

@@ -47,7 +47,7 @@
@foreach ($events as $event)
@php
$minStatus = $event->minimumsStatus();
$bgClass = match($minStatus) { true => 'bg-green-50', false => 'bg-red-50', default => 'bg-white' };
$bgClass = match($minStatus) { true => 'bg-green-100', false => 'bg-red-100', default => 'bg-white' };
@endphp
<a href="{{ route('events.show', $event) }}" class="block {{ $bgClass }} rounded-lg shadow p-4 hover:shadow-md transition-shadow">
<div class="flex flex-col sm:flex-row sm:items-center gap-3">