phosphor-vue
Version:
A clean and friendly icon family for Vue, too!
175 lines (160 loc) • 4.78 kB
JavaScript
import normalizeComponent from '../../node_modules/vue-runtime-helpers/dist/normalize-component.mjs.js';
import component from './PhCheckSquare.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": "172 104 113.333 160 84 132",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "24"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "40",
"y": "40",
"width": "176",
"height": "176",
"rx": "8",
"stroke-width": "24",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"fill": "none"
}
})]) : _vm.weight === 'duotone' ? _c('g', [_c('rect', {
attrs: {
"x": "40",
"y": "40",
"width": "176",
"height": "176",
"rx": "8",
"opacity": "0.2"
}
}), _vm._v(" "), _c('polyline', {
attrs: {
"points": "172 104 113.333 160 84 132",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "40",
"y": "40",
"width": "176",
"height": "176",
"rx": "8",
"stroke-width": "16",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"fill": "none"
}
})]) : _vm.weight === 'fill' ? _c('g', [_c('path', {
attrs: {
"d": "M208.00146,32h-160a16.01582,16.01582,0,0,0-16,16V208a16.01583,16.01583,0,0,0,16,16h160a16.01582,16.01582,0,0,0,16-16V48A16.01581,16.01581,0,0,0,208.00146,32ZM177.5249,109.78125l-58.67187,56a7.98451,7.98451,0,0,1-11.04688,0l-29.32812-28a7.99571,7.99571,0,1,1,11.04687-11.5625l23.80469,22.71875L166.478,98.21875a7.99571,7.99571,0,1,1,11.04687,11.5625Z"
}
})]) : _vm.weight === 'light' ? _c('g', [_c('polyline', {
attrs: {
"points": "172 104 113.333 160 84 132",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "12"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "40",
"y": "40",
"width": "176",
"height": "176",
"rx": "8",
"stroke-width": "12",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"fill": "none"
}
})]) : _vm.weight === 'thin' ? _c('g', [_c('polyline', {
attrs: {
"points": "172 104 113.333 160 84 132",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "8"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "40",
"y": "40",
"width": "176",
"height": "176",
"rx": "8",
"stroke-width": "8",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"fill": "none"
}
})]) : _vm.weight === 'regular' ? _c('g', [_c('polyline', {
attrs: {
"points": "172 104 113.333 160 84 132",
"fill": "none",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"stroke-width": "16"
}
}), _vm._v(" "), _c('rect', {
attrs: {
"x": "40",
"y": "40",
"width": "176",
"height": "176",
"rx": "8",
"stroke-width": "16",
"stroke": _vm.color,
"stroke-linecap": "round",
"stroke-linejoin": "round",
"fill": "none"
}
})]) : _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__;