test correct folder structure for plugin elements to be recognized
This commit is contained in:
14
Template/element/svgs/heroicons/solid/swatch.php
Normal file
14
Template/element/svgs/heroicons/solid/swatch.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* @var \App\View\AppView $this
|
||||
* @var string|null $class
|
||||
* @var int|null $size
|
||||
*/
|
||||
|
||||
$size = $size ?? 6;
|
||||
$class = $class ?? '';
|
||||
?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon" class="size-<?= $size ?? 6; ?> <?= $class ?? ''; ?>">
|
||||
<path fill-rule="evenodd" d="M2.25 4.125c0-1.036.84-1.875 1.875-1.875h5.25c1.036 0 1.875.84 1.875 1.875V17.25a4.5 4.5 0 1 1-9 0V4.125Zm4.5 14.25a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z" clip-rule="evenodd"/>
|
||||
<path d="M10.719 21.75h9.156c1.036 0 1.875-.84 1.875-1.875v-5.25c0-1.036-.84-1.875-1.875-1.875h-.14l-8.742 8.743c-.09.089-.18.175-.274.257ZM12.738 17.625l6.474-6.474a1.875 1.875 0 0 0 0-2.651L15.5 4.787a1.875 1.875 0 0 0-2.651 0l-.1.099V17.25c0 .126-.003.251-.01.375Z"/>
|
||||
</svg>
|
||||
Reference in New Issue
Block a user