UNPKG

vira

Version:

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

24 lines (23 loc) 792 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/element16icon */ export const Element16Icon = defineIcon({ name: 'Element16Icon', svgTemplate: html ` <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> <path d="M4 5 1 8l3 3m8-6 3 3-3 3m-5 0 2-6" fill="none" stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value} /> </svg> `, });