@ -27,10 +27,11 @@
< style >
.iconimage-container {
text-align: center;
display: flex;
justify-content: center;
align-items: center;
align-content: center;
text-align: center;
}
.feather {
@ -39,20 +40,18 @@
}
< / style >
< div style = "--aspect-ratio: { aspect_ratio } ; color: { pattern_color || random_pattern } ; background-color: { background || random_background } ; width: { width } ; height: { height } ; filter: grayscale( { grayscale } );" >
< div data-testid = { testid } class="pattern- { pattern } iconimage-container " >
< div style = "aspect-ratio: { aspect_ratio } ; color: { pattern_color || random_pattern } ; background-color: { background || random_background } ; width: { width } ; height: { height } ; filter: grayscale( { grayscale } );" data-testid = { testid } class="pattern- { pattern } iconimage-container " >
{ #if name }
< svg class = "icon- { name } feather"
fill="{ fill_color } "
stroke="{ color } "
stroke-width="{ thickness } "
stroke-linecap="{ linecap } "
stroke-linejoin="{ linejoin } "
>
< use href = "/icon-sprites.svg# { name } " />
< / svg >
< svg class = "icon- { name } feather"
fill="{ fill_color } "
stroke="{ color } "
stroke-width="{ thickness } "
stroke-linecap="{ linecap } "
stroke-linejoin="{ linejoin } "
>
< use href = "/icon-sprites.svg# { name } " />
< / svg >
{ : else }
< slot > < / slot >
< slot > < / slot >
{ /if }
< / div >
< / div >