UNPKG

vira

Version:

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

52 lines (50 loc) 1.89 kB
import { html } from 'element-vir'; import { viraIconCssVars } from '../../icon-css-vars.js'; import { defineIcon } from '../../icon-svg.js'; /** * A lock icon. * * @category Icon * @category SVG * @see https://electrovir.github.io/vira/book/icons/lock24icon */ export const Lock24Icon = defineIcon({ name: 'Lock24Icon', svgTemplate: html ` <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-miterlimit:2" viewBox="0 0 24 24" width="24" height="24" > <path d="M19 11c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v9c0 .6.4 1 1 1h12c.6 0 1-.4 1-1v-9Z" stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value} fill=${viraIconCssVars['vira-icon-fill-color'].value} /> <circle cx="12" cy="14" r="1.5" fill=${viraIconCssVars['vira-icon-stroke-color'].value} stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width="calc(${viraIconCssVars['vira-icon-stroke-width'].value} - 1px)" /> <path d="M12 14v4" fill=${viraIconCssVars['vira-icon-stroke-color'].value} stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value} /> <path d="M17 10V7.5a5 5 0 0 0-10 0V10" stroke=${viraIconCssVars['vira-icon-stroke-color'].value} stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value} fill="none" /> </svg> `, });