@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
75 lines (73 loc) • 2.61 kB
JavaScript
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
import { iconSize, updateContextData } from '@justeattakeaway/pie-icons-configs/configs-vue';
export default {
name: 'IconSun',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--sun', 'IconSun');
return h('svg', _mergeJSXProps([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 16 16',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'M7.344 13.425v1.137h1.312v-1.137a6 6 0 0 1-.656.044 6 6 0 0 1-.656-.044',
},
}), h('path', {
attrs: {
d: 'M8.656 2.575V1.411H7.344v1.164q.326-.042.656-.044.33.002.656.044',
},
}), h('path', {
attrs: {
d: 'M13.425 8.639h1.155V7.326h-1.155q.04.336.044.674a5 5 0 0 1-.044.639',
},
}), h('path', {
attrs: {
d: 'M2.575 7.326H1.42V8.64h1.155A5 5 0 0 1 2.53 8a6 6 0 0 1 .044-.674',
},
}), h('path', {
attrs: {
d: 'm4.64 3.695-.823-.822-.927.927.814.822q.416-.516.936-.927',
},
}), h('path', {
attrs: {
d: 'm11.377 12.296.805.805.928-.927-.805-.814q-.41.52-.928.936',
},
}), h('path', {
attrs: {
d: 'M11.377 12.288q.517-.416.928-.937-.407.525-.928.936',
},
}), h('path', {
attrs: {
d: 'M3.704 4.623q.416-.517.936-.928c-.348.27-.663.582-.936.927',
},
}), h('path', {
attrs: {
d: 'm12.296 4.623.814-.823-.928-.927-.822.822q.52.411.936.927',
},
}), h('path', {
attrs: {
d: 'm3.695 11.36-.805.814.927.927.805-.805a6 6 0 0 1-.927-.936',
},
}), h('path', {
attrs: {
d: 'M4.622 12.296a6 6 0 0 1-.927-.936c.27.348.582.663.927.936',
},
}), h('path', {
attrs: {
d: 'M12.287 4.623a6 6 0 0 0-.936-.928c.348.27.663.582.936.927',
},
}), h('path', {
attrs: {
d: 'M8 3.844a4.156 4.156 0 1 0 0 8.312 4.156 4.156 0 0 0 0-8.312m0 7A2.844 2.844 0 1 1 10.844 8 2.853 2.853 0 0 1 8 10.844',
},
})]);
},
};