vira
Version:
A simple and highly versatile design system using element-vir.
38 lines (37 loc) • 1.24 kB
JavaScript
import { html } from 'element-vir';
import { viraIconCssVars } from '../../icon-css-vars.js';
import { defineIcon } from '../../icon-svg.js';
/**
* A icon with two opposing chevrons.
*
* @category Icon
* @category SVG
* @see https://electrovir.github.io/vira/book/icons/doublechevron24icon
*/
export const DoubleChevron24Icon = defineIcon({
name: 'DoubleChevron24Icon',
svgTemplate: html `
<svg
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:miter;stroke-miterlimit:2"
viewBox="0 0 24 24"
width="24"
height="24"
>
<path
d="M16.5 8.5 12 4 7.5 8.5v7L12 20l4.5-4.5z"
fill-rule="nonzero"
fill=${viraIconCssVars['vira-icon-fill-color'].value}
stroke-width="none"
stroke="none"
/>
<path
d="m7 15 5 5 5-5M7 9l5-5 5 5"
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
fill="none"
/>
</svg>
`,
});