phosphor-vue
Version:
A clean and friendly icon family for Vue, too!
204 lines (189 loc) • 6.03 kB
JavaScript
import normalizeComponent from '../../node_modules/vue-runtime-helpers/dist/normalize-component.mjs.js';
import component from './PhStack.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": "32 176 128 232 224 176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "32 128 128 184 224 128",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('polygon', {
attrs: {
"points": "32 80 128 136 224 80 128 24 32 80",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
})]) : _vm.weight === 'duotone' ? _c('g', [_c('polygon', {
attrs: {
"points": "32 80 128 136 224 80 128 24 32 80",
"opacity": "0.2"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "32 176 128 232 224 176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "32 128 128 184 224 128",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('polygon', {
attrs: {
"points": "32 80 128 136 224 80 128 24 32 80",
"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": "M219.96875,169.08984,128,222.73828,36.03125,169.08984a8.00008,8.00008,0,0,0-8.0625,13.82032l96,56a8.00059,8.00059,0,0,0,8.0625,0l96-56a8.00008,8.00008,0,0,0-8.0625-13.82032Z"
}
}), _vm._v(" "), _c('path', {
attrs: {
"d": "M219.96875,121.08984,128,174.73828,36.03125,121.08984a8.00008,8.00008,0,0,0-8.0625,13.82032l96,56a8.00059,8.00059,0,0,0,8.0625,0l96-56a8.00008,8.00008,0,0,0-8.0625-13.82032Z"
}
}), _vm._v(" "), _c('path', {
attrs: {
"d": "M27.96875,86.91016l96,56a8.00059,8.00059,0,0,0,8.0625,0l96-56a8.00016,8.00016,0,0,0,0-13.82032l-96-56a8.00059,8.00059,0,0,0-8.0625,0l-96,56a8.00016,8.00016,0,0,0,0,13.82032Z"
}
})])]) : _vm.weight === 'light' ? _c('g', [_c('polyline', {
attrs: {
"points": "32 176 128 232 224 176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "32 128 128 184 224 128",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('polygon', {
attrs: {
"points": "32 80 128 136 224 80 128 24 32 80",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
})]) : _vm.weight === 'thin' ? _c('g', [_c('polyline', {
attrs: {
"points": "32 176 128 232 224 176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "32 128 128 184 224 128",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('polygon', {
attrs: {
"points": "32 80 128 136 224 80 128 24 32 80",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
})]) : _vm.weight === 'regular' ? _c('g', [_c('polyline', {
attrs: {
"points": "32 176 128 232 224 176",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "32 128 128 184 224 128",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('polygon', {
attrs: {
"points": "32 80 128 136 224 80 128 24 32 80",
"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__;