UNPKG

vira

Version:

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

24 lines (23 loc) 794 B
import { html } from 'element-vir'; import { viraIconCssVars } from '../icon-css-vars.js'; import { defineIcon } from '../icon-svg.js'; /** * An icon symbol that represents an HTML element. * * @category Icon * @category SVG * @see https://electrovir.github.io/element-vir/vira/book/icons/element24icon */ export const Element24Icon = defineIcon({ name: 'Element24Icon', svgTemplate: html ` <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <path d="m7 7-5 5 5 5M17 7l5 5-5 5m-6 0 2-10" fill="none" stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value} /> </svg> `, });