TenantAtlas/apps/platform/revert.php
Ahmed Darrazi beebbaefbe
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 5m58s
chore: commit all local changes
2026-05-03 16:00:44 +02:00

11 lines
804 B
PHP

<?php
$file = 'resources/views/filament/widgets/dashboard/tenant-dashboard-overview.blade.php';
$content = file_get_contents($file);
$content = str_replace('border border-gray-200 bg-white', 'bg-white shadow-sm ring-1 ring-gray-950/5', $content);
$content = str_replace('border border-gray-200 bg-gray-50', 'bg-gray-50 ring-1 ring-gray-950/5', $content);
$content = str_replace("rounded-xl border p-4", "rounded-xl p-4 ring-1 ring-inset", $content);
$content = str_replace("default => 'border-gray-200 bg-white", "default => 'ring-gray-950/5 bg-white", $content);
$content = str_replace("'danger' => 'border-danger-200", "'danger' => 'ring-danger-200", $content);
$content = str_replace("'warning' => 'border-warning-200", "'warning' => 'ring-warning-200", $content);
file_put_contents($file, $content);