vira
Version:
A simple and highly versatile design system using element-vir.
39 lines (38 loc) • 1.26 kB
JavaScript
import { html } from 'element-vir';
import { viraIconCssVars } from '../../icon-css-vars.js';
import { defineIcon } from '../../icon-svg.js';
/**
* An upload icon.
*
* @category Icon
* @category SVG
* @see https://electrovir.github.io/vira/book/icons/upload24icon
*/
export const Upload24Icon = defineIcon({
name: 'Upload24Icon',
svgTemplate: html `
<svg
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd"
viewBox="0 0 24 24"
width="24"
height="24"
>
<path
d="M4 14v6h16v-6"
style="fill-rule:nonzero;"
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
fill=${viraIconCssVars['vira-icon-fill-color'].value}
/>
<path
d="M12 15V4m4 4-4-4-4 4"
fill="none"
style="fill-rule:nonzero"
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
/>
</svg>
`,
});