UNPKG

phosphor-solid

Version:

A clean and friendly icon family for Solid-js

57 lines (56 loc) 7.48 kB
/* GENERATED FILE */ import { useContext } from "solid-js"; import { IconContext } from "../lib"; const renderPathFor = (weight, color) => { switch (weight) { case "bold": return (<> <circle cx="127.99707" cy="128" r="96" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="24"/> <path d="M49.58344,183.394l12.0855-7.29563a8,8,0,0,0,3.82681-6.06228l3.65864-37.03127a8,8,0,0,1,1.21718-3.51665l19.71585-30.899a8,8,0,0,1,11.88909-1.82285l15.42768,12.95708a8,8,0,0,0,6.21864,1.80156l31.14623-4.218a8,8,0,0,0,4.97543-2.69227L181.9016,79.01382a8,8,0,0,0,1.94172-5.61949L182.675,49.09089" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="24"/> <path d="M187.064,203.68283l-10.73163-10.75292a8,8,0,0,0-3.6318-2.08674l-21.45845-5.63128a8,8,0,0,1-5.884-8.90337l2.38477-16.19606a8,8,0,0,1,4.84416-6.22191l30.45053-12.65666a8,8,0,0,1,8.46961,1.48392l24.8944,22.768" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="24"/> </>); case "duotone": return (<> <path d="M187.06231,203.68216l-10.731-10.75225a7.99991,7.99991,0,0,0-3.6318-2.08674l-21.45845-5.63128a8,8,0,0,1-5.884-8.90337l2.38477-16.19606a8,8,0,0,1,4.84416-6.22191l30.45054-12.65666a8,8,0,0,1,8.4696,1.48392l24.89413,22.76769.05166-.118a96.30537,96.30537,0,0,1-29.18668,38.157Z" opacity="0.2"/> <path d="M49.58112,183.39494A96.011,96.011,0,0,1,182.678,49.08523l-.004.00566,1.16831,24.30344a8,8,0,0,1-1.94173,5.61949l-22.1571,25.60081a8,8,0,0,1-4.97544,2.69227l-31.48043,4.2633a8,8,0,0,1-5.76724-1.44922L97.86462,95.88032a8,8,0,0,0-11.43769,2.17521L66.58435,129.15314a8.0001,8.0001,0,0,0-1.25581,4.2583l-.2028,36.12908a8,8,0,0,1-3.86545,6.80393L49.58246,183.394Z" opacity="0.2"/> <circle cx="127.99609" cy="128" r="96" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/> <path d="M49.58246,183.394l11.67783-7.04953a8,8,0,0,0,3.86545-6.80393l.2028-36.12908a8.0001,8.0001,0,0,1,1.25581-4.2583L86.42693,98.05553a8,8,0,0,1,11.43769-2.17521L117.52041,110.121a8,8,0,0,0,5.76724,1.44922l31.48043-4.2633a8,8,0,0,0,4.97544-2.69227l22.1571-25.60081a8,8,0,0,0,1.94173-5.61949L182.674,49.09089" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/> <path d="M187.063,203.68283l-10.73163-10.75292a7.99991,7.99991,0,0,0-3.6318-2.08674l-21.45845-5.63128a8,8,0,0,1-5.884-8.90337l2.38477-16.19606a8,8,0,0,1,4.84416-6.22191l30.45054-12.65666a8,8,0,0,1,8.4696,1.48392l24.89441,22.768" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/> </>); case "fill": return (<> <path d="M223.4873,169.18066a7.96262,7.96262,0,0,0,.49805-1.166A103.91753,103.91753,0,0,0,187.772,42.94336a8.06306,8.06306,0,0,0-1.13965-.79053A103.94567,103.94567,0,0,0,42.61768,187.31152c.04.07129.07324.145.11572.21582a7.9667,7.9667,0,0,0,.80664,1.08985A103.847,103.847,0,0,0,191.2627,210.48242a7.98,7.98,0,0,0,1.40283-1.0957A104.572,104.572,0,0,0,223.4873,169.18066ZM61.48,185.55664l3.91345-2.362A16.00133,16.00133,0,0,0,73.126,169.585l.18967-33.81841a8.0001,8.0001,0,0,1,1.25578-4.2583L88.60582,109.513a8,8,0,0,1,11.43777-2.17522l12.78356,9.26186a15.95634,15.95634,0,0,0,11.53418,2.89844l31.48144-4.26367a15.99269,15.99269,0,0,0,9.94971-5.38477L187.94873,84.25A15.92874,15.92874,0,0,0,191.833,73.01074l-.2793-5.813a87.914,87.914,0,0,1,21.28272,84.187l-15.93116-14.57032a16.05451,16.05451,0,0,0-16.939-2.96777l-30.45166,12.65723a15.99852,15.99852,0,0,0-9.68738,12.44255l-2.38489,16.19612a15.98468,15.98468,0,0,0,11.76807,17.80762l21.4585,5.63085,3.98828,3.9961A87.85932,87.85932,0,0,1,61.48,185.55664Z"/> </>); case "light": return (<> <circle cx="127.99805" cy="128" r="96" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="12"/> <path d="M49.58442,183.394l11.67782-7.04953a8,8,0,0,0,3.86545-6.80393l.20281-36.12908a7.99993,7.99993,0,0,1,1.25581-4.2583L86.42888,98.05553a8,8,0,0,1,11.43769-2.17521L117.52236,110.121a8,8,0,0,0,5.76724,1.44922L154.77,107.3069a8,8,0,0,0,4.97543-2.69227l22.15711-25.60081a8.00006,8.00006,0,0,0,1.94172-5.61949L182.676,49.09089" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="12"/> <path d="M187.06492,203.68283,176.3333,192.92991a8,8,0,0,0-3.6318-2.08674L151.243,185.21189a8,8,0,0,1-5.884-8.90337l2.38476-16.19606a8,8,0,0,1,4.84416-6.22191l30.45054-12.65666a8,8,0,0,1,8.4696,1.48392l24.89441,22.768" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="12"/> </>); case "thin": return (<> <circle cx="127.99902" cy="128" r="96" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="8"/> <path d="M49.58539,183.394l11.67783-7.04953a8,8,0,0,0,3.86545-6.80393l.2028-36.12908a8.0001,8.0001,0,0,1,1.25581-4.2583L86.42986,98.05553a8,8,0,0,1,11.43769-2.17521L117.52334,110.121a8,8,0,0,0,5.76724,1.44922l31.48043-4.2633a8,8,0,0,0,4.97544-2.69227l22.1571-25.60081a8,8,0,0,0,1.94172-5.61949L182.677,49.09089" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="8"/> <path d="M187.0659,203.68283l-10.73163-10.75292a8,8,0,0,0-3.6318-2.08674L151.244,185.21189a8,8,0,0,1-5.884-8.90337l2.38477-16.19606a8,8,0,0,1,4.84416-6.22191l30.45054-12.65666a8,8,0,0,1,8.4696,1.48392l24.89441,22.768" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="8"/> </>); case "regular": return (<> <circle cx="128" cy="128" r="96" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/> <path d="M49.58637,183.394l11.67782-7.04953a8,8,0,0,0,3.86546-6.80393l.2028-36.12908a7.99993,7.99993,0,0,1,1.25581-4.2583L86.43083,98.05553a8,8,0,0,1,11.43769-2.17521l19.6558,14.24066a8,8,0,0,0,5.76724,1.44922l31.48043-4.2633a8,8,0,0,0,4.97543-2.69227l22.15711-25.60081a8,8,0,0,0,1.94172-5.61949L182.678,49.09089" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/> <path d="M187.06688,203.68283l-10.73163-10.75292a8,8,0,0,0-3.6318-2.08674L151.245,185.21189a8,8,0,0,1-5.884-8.90337l2.38477-16.19606a8,8,0,0,1,4.84416-6.22191l30.45053-12.65666a8,8,0,0,1,8.46961,1.48392l24.8944,22.768" fill="none" stroke={color} stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/> </>); default: console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'); return null; } }; const GlobeHemisphereEast = (props, ref) => { const { color, size, weight, mirrored, children, ...restProps } = props; const { color: contextColor, size: contextSize, weight: contextWeight, mirrored: contextMirrored, ...restContext } = useContext(IconContext); return (<svg ref={ref} xmlns="http://www.w3.org/2000/svg" width={size ?? contextSize} height={size ?? contextSize} fill={color ?? contextColor} viewBox="0 0 256 256" transform={mirrored || contextMirrored ? "scale(-1, 1)" : undefined} {...restContext} {...restProps}> {children} <rect width="256" height="256" fill="none"/> {renderPathFor(weight ?? contextWeight, color ?? contextColor)} </svg>); }; export default GlobeHemisphereEast;