UNPKG

vira

Version:

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

32 lines (31 loc) 1.1 kB
import { html } from 'element-vir'; import { viraIconCssVars } from '../icon-css-vars.js'; import { defineIcon } from '../icon-svg.js'; /** * An x icon meant to be used as a "close" button. * * @category Icon * @category SVG * @see https://electrovir.github.io/element-vir/vira/book/icons/closex24icon */ export const CloseX24Icon = defineIcon({ name: 'CloseX24Icon', svgTemplate: html ` <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <circle cx="12" cy="12" r="8" fill=${viraIconCssVars['vira-icon-fill-color'].value} stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value} /> <path d="M9 8.5l6 7m0 -7l-6 7" fill="none" stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value} /> </svg> `, });