UNPKG

vira

Version:

A simple and highly versatile design system using element-vir.

31 lines (30 loc) 1.47 kB
import { html } from 'element-vir'; import { viraIconCssVars } from '../../icon-css-vars.js'; import { defineIcon } from '../../icon-svg.js'; /** * A sparkle icon. * * @category Icon * @category SVG * @see https://electrovir.github.io/vira/book/icons/sparkle24icon */ export const Sparkle24Icon = defineIcon({ name: 'Sparkle24Icon', svgTemplate: html ` <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="24" height="24" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2" viewBox="0 0 24 24" > <path d="m18.46 8.14-.73-1.62a.5.5 0 0 0-.23-.23l-1.6-.73 1.61-.72q.15-.08.23-.23L18.47 3l.72 1.62q.08.15.23.23l1.6.72-1.6.73a.5.5 0 0 0-.23.23zm0 7.72.73 1.62q.08.16.23.23l1.6.73-1.6.72a.5.5 0 0 0-.24.23L18.46 21l-.73-1.61a.5.5 0 0 0-.23-.24l-1.6-.72 1.6-.73q.16-.06.23-.23zm-7.3-5.97q.06.15.22.23l3.21 1.46a.46.46 0 0 1 0 .84l-3.21 1.46a.5.5 0 0 0-.23.23L9.7 17.32a.5.5 0 0 1-.42.27.5.5 0 0 1-.42-.27L7.4 14.11a.5.5 0 0 0-.23-.23l-3.21-1.46a.46.46 0 0 1 0-.84l3.21-1.46q.16-.08.23-.23l1.46-3.21a.5.5 0 0 1 .42-.27q.29 0 .42.27z" fill=${viraIconCssVars['vira-icon-fill-color'].value} stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value} /> </svg> `, });