UNPKG

phosphor-vue

Version:

A clean and friendly icon family for Vue, too!

214 lines (199 loc) 5.97 kB
import normalizeComponent from '../../node_modules/vue-runtime-helpers/dist/normalize-component.mjs.js'; import component from './PhCode.vue_rollup-plugin-vue=script.js'; /* script */ const __vue_script__ = component; /* template */ var __vue_render__ = function () { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; return _c('svg', _vm._b({ attrs: { "xmlns": "http://www.w3.org/2000/svg", "viewBox": "0 0 256 256", "width": _vm.size, "height": _vm.size, "fill": _vm.color, "transform": _vm.mirrored ? 'scale(-1, 1)' : undefined } }, 'svg', _vm.$attrs, false), [_vm._t("default"), _vm._v(" "), _vm.weight === 'bold' ? _c('g', [_c('polyline', { attrs: { "points": "64 88 16 128 64 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "24" } }), _vm._v(" "), _c('polyline', { attrs: { "points": "192 88 240 128 192 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "24" } }), _vm._v(" "), _c('line', { attrs: { "x1": "160", "y1": "40", "x2": "96", "y2": "216", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "24" } })]) : _vm.weight === 'duotone' ? _c('g', [_c('polyline', { attrs: { "points": "64 88 16 128 64 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "16" } }), _vm._v(" "), _c('polyline', { attrs: { "points": "192 88 240 128 192 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "16" } }), _vm._v(" "), _c('line', { attrs: { "x1": "160", "y1": "40", "x2": "96", "y2": "216", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "16" } })]) : _vm.weight === 'fill' ? _c('g', [_c('g', [_c('path', { attrs: { "d": "M70.146,82.87891a8.00043,8.00043,0,0,0-11.26758-1.02442l-48,40a7.99963,7.99963,0,0,0,0,12.291l48,40a7.99987,7.99987,0,1,0,10.24316-12.291L28.49658,128l40.625-33.85449A7.99977,7.99977,0,0,0,70.146,82.87891Z" } }), _vm._v(" "), _c('path', { attrs: { "d": "M245.12158,121.85449l-48-40a7.99987,7.99987,0,1,0-10.24316,12.291L227.50342,128l-40.625,33.85449a7.99987,7.99987,0,1,0,10.24316,12.291l48-40a7.99963,7.99963,0,0,0,0-12.291Z" } }), _vm._v(" "), _c('path', { attrs: { "d": "M162.73389,32.48145a8.005,8.005,0,0,0-10.25244,4.78418l-64,176a8.00034,8.00034,0,1,0,15.0371,5.46875l64-176A8.0008,8.0008,0,0,0,162.73389,32.48145Z" } })])]) : _vm.weight === 'light' ? _c('g', [_c('polyline', { attrs: { "points": "64 88 16 128 64 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "12" } }), _vm._v(" "), _c('polyline', { attrs: { "points": "192 88 240 128 192 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "12" } }), _vm._v(" "), _c('line', { attrs: { "x1": "160", "y1": "40", "x2": "96", "y2": "216", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "12" } })]) : _vm.weight === 'thin' ? _c('g', [_c('polyline', { attrs: { "points": "64 88 16 128 64 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "8" } }), _vm._v(" "), _c('polyline', { attrs: { "points": "192 88 240 128 192 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "8" } }), _vm._v(" "), _c('line', { attrs: { "x1": "160", "y1": "40", "x2": "96", "y2": "216", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "8" } })]) : _vm.weight === 'regular' ? _c('g', [_c('polyline', { attrs: { "points": "64 88 16 128 64 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "16" } }), _vm._v(" "), _c('polyline', { attrs: { "points": "192 88 240 128 192 168", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "16" } }), _vm._v(" "), _c('line', { attrs: { "x1": "160", "y1": "40", "x2": "96", "y2": "216", "fill": "none", "stroke": _vm.color, "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "16" } })]) : _vm._e()], 2); }; var __vue_staticRenderFns__ = []; /* style */ const __vue_inject_styles__ = undefined; /* scoped */ const __vue_scope_id__ = undefined; /* module identifier */ const __vue_module_identifier__ = undefined; /* functional template */ const __vue_is_functional_template__ = false; /* style inject */ /* style inject SSR */ /* style inject shadow dom */ const __vue_component__ = /*#__PURE__*/normalizeComponent({ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined); export default __vue_component__;