gps_system/resources/views/flux/subheading.blade.php
sackey 6b878bb0a0
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
Initial commit
2025-09-12 16:19:56 +00:00

22 lines
390 B
PHP

@pure
@props([
'size' => 'base',
])
@php
$classes = Flux::classes()
->add(match ($size) {
'xl' => 'text-lg',
'lg' => 'text-base',
default => 'text-sm',
'sm' => 'text-xs',
})
->add('[:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70')
;
@endphp
<div {{ $attributes->class($classes) }} data-flux-subheading>
{{ $slot }}
</div>