mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
🎨 Add new Flux icons: implement multiple reusable icon components (e.g., hand-raised, hand-thumb-up, heart, hashtag, home) with variant support for improved UI consistency.
This commit is contained in:
21
resources/views/flux/subheading.blade.php
Normal file
21
resources/views/flux/subheading.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
@blaze
|
||||
|
||||
@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>
|
||||
Reference in New Issue
Block a user