phosphor-vue
Version:
A clean and friendly icon family for Vue, too!
273 lines (257 loc) • 8.04 kB
JavaScript
import script from './PhPen.vue_rollup-plugin-vue_script.js';
import normalizeComponent from '../../node_modules/vue-runtime-helpers/dist/normalize-component.mjs.js';
/* script */
const __vue_script__ = script;
/* template */
var __vue_render__ = function () {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
return _c('svg', _vm._g(_vm._b({
attrs: {
"xmlns": "http://www.w3.org/2000/svg",
"viewBox": "0 0 256 256",
"width": _vm.displaySize,
"height": _vm.displaySize,
"fill": _vm.displayColor,
"transform": _vm.displayMirrored
}
}, 'svg', _vm.$attrs, false), _vm.$listeners), [_vm._t("default"), _vm._v(" "), _vm.displayWeight === 'bold' ? _c('g', [_c('path', {
attrs: {
"d": "M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "136",
"y1": "64",
"x2": "192",
"y2": "120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "164 200 204 160 192 120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "44",
"y1": "156",
"x2": "100",
"y2": "212",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
})]) : _vm.displayWeight === 'duotone' ? _c('g', [_c('path', {
attrs: {
"d": "M192,120,136,64l26.3-26.3a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4Z",
"opacity": "0.2"
}
}), _vm._v(" "), _c('path', {
attrs: {
"d": "M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "136",
"y1": "64",
"x2": "192",
"y2": "120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "160 192 200 152 192 120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "40.5",
"y1": "160.5",
"x2": "95.5",
"y2": "215.5",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
})]) : _vm.displayWeight === 'fill' ? _c('g', [_c('path', {
attrs: {
"d": "M228.7,88A15.9,15.9,0,0,0,224,76.7L179.3,32a16.1,16.1,0,0,0-22.6,0L36.7,152a16,16,0,0,0-3.6,5.4l-.3.8a17,17,0,0,0-.8,5.1V208a16,16,0,0,0,16,16H92.7a14.4,14.4,0,0,0,5.1-.9l.8-.2a16,16,0,0,0,5.4-3.6l83.7-83.7,3.4,13.9-36.8,36.8a8.1,8.1,0,0,0,0,11.4,8.2,8.2,0,0,0,11.4,0l40-40a8.5,8.5,0,0,0,2.1-7.6l-6.9-27.6L224,99.3A15.9,15.9,0,0,0,228.7,88ZM192,108.7,147.3,64,168,43.3,212.7,88Z"
}
})]) : _vm.displayWeight === 'light' ? _c('g', [_c('path', {
attrs: {
"d": "M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "136",
"y1": "64",
"x2": "192",
"y2": "120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "160 192 200 152 192 120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "40.5",
"y1": "160.5",
"x2": "95.5",
"y2": "215.5",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
})]) : _vm.displayWeight === 'thin' ? _c('g', [_c('path', {
attrs: {
"d": "M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "136",
"y1": "64",
"x2": "192",
"y2": "120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "160 192 200 152 192 120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "40.5",
"y1": "160.5",
"x2": "95.5",
"y2": "215.5",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
})]) : _vm.displayWeight === 'regular' ? _c('g', [_c('path', {
attrs: {
"d": "M92.7,216H48a8,8,0,0,1-8-8V163.3a7.9,7.9,0,0,1,2.3-5.6l120-120a8,8,0,0,1,11.4,0l44.6,44.6a8,8,0,0,1,0,11.4l-120,120A7.9,7.9,0,0,1,92.7,216Z",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "136",
"y1": "64",
"x2": "192",
"y2": "120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "160 192 200 152 192 120",
"fill": "none",
"stroke": _vm.displayColor,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('line', {
attrs: {
"x1": "40.5",
"y1": "160.5",
"x2": "95.5",
"y2": "215.5",
"fill": "none",
"stroke": _vm.displayColor,
"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);
var __vue_component__$1 = __vue_component__;
export { __vue_component__$1 as default };