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:
14
resources/views/flux/autocomplete/item.blade.php
Normal file
14
resources/views/flux/autocomplete/item.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
@blaze
|
||||
|
||||
@php
|
||||
$classes = Flux::classes()
|
||||
->add('data-hidden:hidden flex items-center px-2 py-1.5 w-full focus:outline-hidden rounded-md')
|
||||
->add('text-start text-sm font-medium')
|
||||
->add('text-zinc-800 data-active:bg-zinc-100 dark:text-white dark:data-active:bg-zinc-600')
|
||||
->add('scroll-my-[.3125rem]') // This is here so that when a user scrolls to the top or bottom of the list, the padding is included...
|
||||
;
|
||||
@endphp
|
||||
|
||||
<ui-option {{ $attributes->class($classes) }} data-flux-autocomplete-item>
|
||||
{{ $slot }}
|
||||
</ui-option>
|
||||
Reference in New Issue
Block a user