standard colours with noce UI and lasyout changes

This commit is contained in:
Mark Gregory
2026-06-23 15:37:01 +01:00
parent a8cbb8e2ac
commit 5dbc6394b8
8 changed files with 184 additions and 48 deletions
@@ -1,10 +1,16 @@
@props([
'color' => 'gray',
'label' => null,
])
@php
$background = \Modules\Helpdesk\Support\Color::css($color);
$foreground = \Modules\Helpdesk\Support\Color::text($color);
@endphp
<span
{{ $attributes->class('inline-flex items-center rounded-full px-2.5 py-1 text-xs font-semibold text-white shadow-sm ring-1 ring-white/20') }}
style="background-color: {{ \Modules\Helpdesk\Support\Color::css($color) }};"
{{ $attributes->class('inline-flex items-center rounded-full px-2.5 py-1 text-xs font-semibold shadow-sm ring-1 ring-zinc-900/10') }}
style="background-color: {{ $background }}; color: {{ $foreground }};"
>
{{ $slot }}
{{ $label ?? $slot }}
</span>