UNPKG

vira

Version:

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

24 lines (23 loc) 723 B
import { html } from 'element-vir'; import { viraIconCssVars } from '../../icon-css-vars.js'; import { defineIcon } from '../../icon-svg.js'; /** * A plain X icon. * * @category Icon * @category SVG * @see https://electrovir.github.io/vira/book/icons/x24icon */ export const X24Icon = defineIcon({ name: 'X24Icon', svgTemplate: html ` <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <path d="M18 6L6 18M6 6l12 12" fill="none" stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value} /> </svg> `, });