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:
31
resources/views/flux/chart/axis/mark.blade.php
Normal file
31
resources/views/flux/chart/axis/mark.blade.php
Normal file
@@ -0,0 +1,31 @@
|
||||
@aware(['axis' => 'x', 'position' => null])
|
||||
|
||||
@if ($axis === 'x')
|
||||
<template name="tick-mark">
|
||||
<g>
|
||||
<line {{ $attributes->merge([
|
||||
'class' => 'stroke-zinc-300',
|
||||
'orientation' => $position === 'top' ? 'top' : 'bottom',
|
||||
'stroke' => 'currentColor',
|
||||
'stroke-width' => '1',
|
||||
'fill' => 'none',
|
||||
'y1' => '0',
|
||||
'y2' => '6',
|
||||
]) }}></line>
|
||||
</g>
|
||||
</template>
|
||||
@else
|
||||
<template name="tick-mark">
|
||||
<g>
|
||||
<line {{ $attributes->merge([
|
||||
'class' => 'stroke-zinc-300',
|
||||
'orientation' => $position === 'right' ? 'right' : 'left',
|
||||
'stroke' => 'currentColor',
|
||||
'stroke-width' => '1',
|
||||
'fill' => 'none',
|
||||
'x1' => $position === 'right' ? '0' : '-6',
|
||||
'x2' => $position === 'right' ? '6' : '0',
|
||||
]) }}></line>
|
||||
</g>
|
||||
</template>
|
||||
@endif
|
||||
Reference in New Issue
Block a user