Skip to content

Commit

Permalink
wip: update renamed utilities for tailwind v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ylynfatt committed Feb 8, 2025
1 parent 3a415d4 commit 00fd5bc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/css/cachet.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@layer components {
.button {
@apply flex w-full justify-center rounded-md px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2;
@apply flex w-full justify-center rounded-md px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-xs focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2;
}

.button--primary {
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/component-group.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</button>

@if(($incidentCount = $componentGroup->components->sum('incidents_count')) > 0)
<span class="rounded border border-zinc-800 px-2 py-1 text-xs font-semibold text-zinc-800 dark:border-zinc-600 dark:text-zinc-400">
<span class="rounded-sm border border-zinc-800 px-2 py-1 text-xs font-semibold text-zinc-800 dark:border-zinc-600 dark:text-zinc-400">
{{ trans_choice('cachet::component_group.incident_count', $incidentCount) }}
</span>
@endif
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/component.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<button x-ref="anchor" x-popover:button>
<x-heroicon-o-question-mark-circle class="size-4 text-zinc-500 dark:text-zinc-300" />
</button>
<div x-popover:panel x-cloak x-transition.opacity x-anchor.right.offset.8="$refs.anchor" class="rounded bg-zinc-900 dark:bg-zinc-200 px-2 py-1 text-xs font-medium text-zinc-100 drop-shadow dark:text-zinc-800">
<div x-popover:panel x-cloak x-transition.opacity x-anchor.right.offset.8="$refs.anchor" class="rounded-sm bg-zinc-900 dark:bg-zinc-200 px-2 py-1 text-xs font-medium text-zinc-100 drop-shadow-sm dark:text-zinc-800">
<span class="pointer-events-none absolute -left-1.5 size-4 rotate-45 bg-zinc-900 dark:bg-zinc-200"></span>
<p class="relative">{{ __('cachet::component.last_updated', ['timestamp' => $component->updated_at]) }}</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@if ($dashboardLoginLink)
<div class="flex items-center gap-2.5 sm:gap-5">
<a href="{{ Cachet\Cachet::dashboardPath() }}" class="rounded bg-accent px-3 py-2 text-sm font-semibold text-accent-foreground">
<a href="{{ Cachet\Cachet::dashboardPath() }}" class="rounded-sm bg-accent px-3 py-2 text-sm font-semibold text-accent-foreground">
{{ __('filament-panels::pages/dashboard.title') }}
</a>
@auth
Expand Down
2 changes: 1 addition & 1 deletion resources/views/setup/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</div>
<div class="lg:col-span-3">
<label for="show-support" class="flex items-start gap-2 text-sm font-medium text-zinc-700 dark:text-zinc-300">
<input id="show-support" type="checkbox" class="block h-5 w-5 rounded border border-zinc-400 text-primary-500 dark:border-zinc-600 dark:bg-white/5" />
<input id="show-support" type="checkbox" class="block h-5 w-5 rounded-sm border border-zinc-400 text-primary-500 dark:border-zinc-600 dark:bg-white/5" />
<span>Show support for Cachet</span>
</label>
</div>
Expand Down

0 comments on commit 00fd5bc

Please sign in to comment.