import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Palette = (allProps: IconProps) => { const { svgProps: props, iconStyle, ...restProps } = allProps; const styles: { [style: string]: React.ReactNode } = { Broken: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M2 8V6c0-1.4 0-2.1.272-2.635a2.5 2.5 0 0 1 1.093-1.093C3.9 2 4.6 2 6 2c1.4 0 2.1 0 2.635.272a2.5 2.5 0 0 1 1.093 1.093C10 3.9 10 4.6 10 6v12c0 1.4 0 2.1-.272 2.635a2.5 2.5 0 0 1-1.093 1.092C8.1 22 7.4 22 6 22c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C2 20.1 2 19.4 2 18v-6M7 19H5" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="m13.314 4.929-2.142 2.142c-.579.578-.867.867-1.02 1.235C10 8.673 10 9.082 10 9.9v9.656l8.97-8.97c.99-.99 1.486-1.485 1.671-2.056a2.5 2.5 0 0 0 0-1.545c-.185-.57-.68-1.066-1.67-2.056-.99-.99-1.486-1.485-2.056-1.67a2.5 2.5 0 0 0-1.545 0c-.571.185-1.066.68-2.056 1.67Z" stroke="currentColor" strokeWidth={1.5} /><path d="M18 22v-.75.75Zm0-8v.75V14Zm4 4h-.75.75Zm-.273 2.635-.668-.34.668.34Zm-1.092 1.092-.34-.668.34.668Zm1.092-6.362-.668.34.668-.34Zm-1.092-1.092-.34.668.34-.668ZM13 22.75a.75.75 0 0 0 0-1.5v1.5Zm4-1.5a.75.75 0 0 0 0 1.5v-1.5Zm-1.5-6.5H18v-1.5h-2.5v1.5ZM21.25 18c0 .712 0 1.202-.032 1.58-.03.371-.085.57-.159.715l1.337.68c.199-.39.28-.809.317-1.272.038-.454.037-1.015.037-1.703h-1.5ZM18 22.75c.688 0 1.249 0 1.703-.037.463-.037.882-.118 1.273-.317l-.681-1.337c-.145.074-.344.13-.714.16-.38.03-.869.031-1.581.031v1.5Zm3.06-2.456a1.75 1.75 0 0 1-.765.765l.68 1.337a3.25 3.25 0 0 0 1.42-1.42l-1.336-.681ZM22.75 18c0-.688 0-1.249-.037-1.703-.037-.463-.118-.882-.317-1.273l-1.337.682c.074.144.13.343.16.713.03.38.031.869.031 1.581h1.5ZM18 14.75c.712 0 1.202 0 1.58.032.371.03.57.085.715.159l.68-1.337c-.39-.199-.809-.28-1.272-.317-.454-.038-1.015-.037-1.703-.037v1.5Zm4.396.274a3.25 3.25 0 0 0-1.42-1.42l-.681 1.337c.329.167.596.435.764.764l1.337-.68ZM13 21.25H6v1.5h7v-1.5Zm5 0h-1v1.5h1v-1.5Z" fill="currentColor" /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M2 6c0-1.4 0-2.1.272-2.635a2.5 2.5 0 0 1 1.093-1.093C3.9 2 4.6 2 6 2c1.4 0 2.1 0 2.635.272a2.5 2.5 0 0 1 1.093 1.093C10 3.9 10 4.6 10 6v12c0 1.4 0 2.1-.272 2.635a2.5 2.5 0 0 1-1.093 1.092C8.1 22 7.4 22 6 22c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C2 20.1 2 19.4 2 18V6Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M7 19H5" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="m13.314 4.929-2.142 2.142c-.579.578-.867.867-1.02 1.235C10 8.673 10 9.082 10 9.9v9.656l8.97-8.97c.99-.99 1.486-1.485 1.671-2.056a2.5 2.5 0 0 0 0-1.545c-.185-.57-.68-1.066-1.67-2.056-.99-.99-1.486-1.485-2.056-1.67a2.5 2.5 0 0 0-1.545 0c-.571.185-1.066.68-2.056 1.67Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M6 22h12c1.4 0 2.1 0 2.635-.273a2.5 2.5 0 0 0 1.092-1.092C22 20.1 22 19.4 22 18c0-1.4 0-2.1-.273-2.635a2.5 2.5 0 0 0-1.092-1.092C20.1 14 19.4 14 18 14h-2.5" stroke="currentColor" strokeWidth={1.5} /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M2 6c0-1.4 0-2.1.272-2.635a2.5 2.5 0 0 1 1.093-1.093C3.9 2 4.6 2 6 2c1.4 0 2.1 0 2.635.272a2.5 2.5 0 0 1 1.093 1.093C10 3.9 10 4.6 10 6v12c0 1.4 0 2.1-.272 2.635a2.5 2.5 0 0 1-1.093 1.092C8.1 22 7.4 22 6 22c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C2 20.1 2 19.4 2 18V6Z" stroke="currentColor" strokeWidth={1.5} /><path d="M7 19H5" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="m13.314 4.929-2.142 2.142c-.579.578-.867.867-1.02 1.235C10 8.673 10 9.082 10 9.9v9.656l8.97-8.97c.99-.99 1.486-1.485 1.671-2.056a2.5 2.5 0 0 0 0-1.545c-.185-.57-.68-1.066-1.67-2.056-.99-.99-1.486-1.485-2.056-1.67a2.5 2.5 0 0 0-1.545 0c-.571.185-1.066.68-2.056 1.67Z" stroke="currentColor" strokeWidth={1.5} /><path d="M6 22h12c1.4 0 2.1 0 2.635-.273a2.5 2.5 0 0 0 1.092-1.092C22 20.1 22 19.4 22 18c0-1.4 0-2.1-.273-2.635a2.5 2.5 0 0 0-1.092-1.092C20.1 14 19.4 14 18 14h-2.5" stroke="currentColor" strokeWidth={1.5} /></svg>, Outline: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path fillRule="evenodd" clipRule="evenodd" d="M5.969 1.25h.062c.674 0 1.225 0 1.672.037.463.037.882.118 1.272.317a3.25 3.25 0 0 1 1.42 1.42c.2.391.28.81.318 1.273.037.447.037.998.037 1.672v.463l2.056-2.056c.476-.476.865-.865 1.207-1.156.355-.3.708-.54 1.125-.675a3.25 3.25 0 0 1 2.008 0c.418.136.77.374 1.125.675.342.29.732.68 1.208 1.156l.044.045c.476.476.866.865 1.156 1.208.301.354.54.707.675 1.124a3.25 3.25 0 0 1 0 2.009c-.135.417-.374.77-.675 1.124-.29.342-.68.732-1.156 1.208l-2.156 2.156h.664c.674 0 1.225 0 1.672.037.463.037.882.118 1.273.317a3.25 3.25 0 0 1 1.42 1.42c.199.391.28.81.317 1.273.037.447.037.998.037 1.672v.062c0 .674 0 1.225-.037 1.672-.037.463-.118.882-.317 1.273a3.25 3.25 0 0 1-1.42 1.42c-.391.199-.81.28-1.273.317-.447.037-.998.037-1.672.037H5.97c-.674 0-1.225 0-1.672-.037-.463-.037-.882-.118-1.272-.317a3.25 3.25 0 0 1-1.42-1.42c-.2-.391-.28-.81-.318-1.273-.037-.447-.037-.998-.037-1.672V5.97c0-.674 0-1.224.037-1.672.037-.463.118-.882.317-1.272a3.25 3.25 0 0 1 1.42-1.42c.391-.2.81-.28 1.273-.318.448-.037.998-.037 1.672-.037Zm4.27 20H18c.712 0 1.202 0 1.58-.032.371-.03.57-.085.715-.159a1.75 1.75 0 0 0 .764-.765c.074-.144.13-.343.16-.713.03-.38.031-.869.031-1.581s0-1.202-.032-1.58c-.03-.371-.085-.57-.159-.715a1.75 1.75 0 0 0-.765-.764c-.144-.074-.343-.13-.713-.16-.38-.03-.869-.031-1.581-.031h-2.133l-5.176 5.176a3.065 3.065 0 0 1-.295 1.05 3.27 3.27 0 0 1-.157.274Zm.511-3.504 7.69-7.69c.504-.504.85-.85 1.096-1.14.24-.284.342-.464.392-.618a1.75 1.75 0 0 0 0-1.081c-.05-.154-.152-.334-.392-.617-.247-.29-.592-.637-1.096-1.14-.504-.504-.85-.85-1.14-1.096-.283-.24-.463-.342-.617-.392a1.75 1.75 0 0 0-1.082 0c-.153.05-.333.151-.617.392-.29.246-.636.592-1.14 1.095l-2.142 2.142c-.621.622-.775.794-.857.992-.081.196-.095.426-.095 1.294v7.859Zm-1.5.295c0 .69-.001 1.168-.032 1.54-.03.37-.085.57-.159.713a1.75 1.75 0 0 1-.765.765c-.144.074-.343.13-.713.16-.38.03-.869.031-1.581.031s-1.202 0-1.58-.032c-.371-.03-.57-.085-.714-.159a1.75 1.75 0 0 1-.765-.765c-.074-.144-.13-.343-.16-.713-.03-.38-.031-.869-.031-1.581V6c0-.712 0-1.202.032-1.58.03-.371.085-.57.159-.714a1.75 1.75 0 0 1 .765-.765c.144-.074.343-.13.713-.16.38-.03.869-.031 1.581-.031s1.202 0 1.58.032c.371.03.57.085.714.159.33.168.597.435.765.765.074.144.13.343.16.713.03.38.031.869.031 1.581v12.041Zm-5 .959a.75.75 0 0 1 .75-.75h2a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z" fill="currentColor" /></svg>, Bold: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path fillRule="evenodd" clipRule="evenodd" d="M10 6v12c0 1.4 0 2.1-.272 2.635a2.5 2.5 0 0 1-1.093 1.092C8.1 22 7.4 22 6 22c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C2 20.1 2 19.4 2 18V6c0-1.4 0-2.1.272-2.635a2.5 2.5 0 0 1 1.093-1.093C3.9 2 4.6 2 6 2c1.4 0 2.1 0 2.635.272a2.5 2.5 0 0 1 1.093 1.093C10 3.9 10 4.6 10 6ZM7 19.75a.75.75 0 0 0 0-1.5H5a.75.75 0 0 0 0 1.5h2Z" fill="currentColor" /><path d="m19.06 10.614-5.838 6.09c-.73.761-1.095 1.142-1.409 1.016-.313-.126-.313-.653-.313-1.708V7.774a2.5 2.5 0 0 1 .73-1.76l1.054-1.055.43-.33c1.004-.767 1.506-1.15 2.053-1.269a2.5 2.5 0 0 1 1.353.085c.528.184.979.627 1.88 1.514 1 1 1.5 1.5 1.685 2.072a2.5 2.5 0 0 1 .011 1.503c-.176.575-.663 1.077-1.636 2.08ZM12.79 22h5.11c1.4 0 2.1 0 2.634-.273a2.5 2.5 0 0 0 1.093-1.092c.272-.535.272-1.235.272-2.635 0-1.4 0-2.1-.272-2.635a2.5 2.5 0 0 0-1.093-1.092C20 14 19.3 14 17.9 14h-.22l-5.801 5.798a1.224 1.224 0 0 0-.378.883c0 .713.577 1.319 1.29 1.319Z" fill="currentColor" /></svg>, BoldDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M7.75 19a.75.75 0 0 1-.75.75H5a.75.75 0 0 1 0-1.5h2a.75.75 0 0 1 .75.75Z" fill="currentColor" /><path opacity={0.4} d="M10 18V6c0-1.4 0-2.1-.272-2.635a2.5 2.5 0 0 0-1.093-1.093C8.1 2 7.4 2 6 2c-1.4 0-2.1 0-2.635.272a2.5 2.5 0 0 0-1.093 1.093C2 3.9 2 4.6 2 6v12c0 1.4 0 2.1.272 2.635a2.5 2.5 0 0 0 1.093 1.092C3.9 22 4.6 22 6 22c1.4 0 2.1 0 2.635-.273a2.5 2.5 0 0 0 1.093-1.092C10 20.1 10 19.4 10 18Z" fill="currentColor" /><g opacity={0.7} fill="currentColor"><path d="M10 8.243V18c0 .919 0 1.536-.077 2.003l3.299-3.299 5.838-6.09c.973-1.003 1.46-1.505 1.636-2.08a2.5 2.5 0 0 0-.011-1.503C20.5 6.458 20 5.958 19 4.959c-.9-.886-1.352-1.33-1.88-1.514a2.5 2.5 0 0 0-1.353-.085c-.547.118-1.049.502-2.053 1.27L13 5.243l-3 3ZM8.003 21.923H8v.003l.003-.003Z" /></g><path d="M15.814 14H17.9c1.4 0 2.1 0 2.635.273a2.5 2.5 0 0 1 1.093 1.092c.272.535.272 1.235.272 2.635 0 1.4 0 2.1-.272 2.635a2.5 2.5 0 0 1-1.093 1.092C20 22 19.3 22 17.9 22H6c.917 0 1.534 0 2-.077v.003l.003-.003c.245-.04.448-.102.632-.195a2.5 2.5 0 0 0 1.093-1.093c.093-.184.155-.387.195-.632l3.299-3.299L15.814 14Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Palette