@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 3.54 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconColorWheel = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM17.4572 18.5171C16.1605 19.6041 14.5345 20.3113 12.7505 20.4673L12.7505 16.9441C13.5713 16.8205 14.3268 16.4974 14.9659 16.0257L17.4572 18.5171ZM18.5178 17.4563C19.6045 16.1596 20.3114 14.5338 20.4674 12.75L16.9441 12.75C16.8207 13.5706 16.4978 14.3259 16.0264 14.965L18.5178 17.4563ZM18.5179 6.54375C19.6045 7.84048 20.3114 9.46627 20.4674 11.25L16.9441 11.25C16.8207 10.4294 16.4978 9.67416 16.0265 9.03512L18.5179 6.54375ZM17.4573 5.48301L14.966 7.97432C14.3267 7.50253 13.5711 7.17938 12.75 7.05588V3.53263C14.5342 3.68862 16.1604 4.39584 17.4573 5.48301ZM6.54349 18.5177C7.84038 19.6046 9.46645 20.3115 11.2505 20.4674L11.2505 16.9442C10.4296 16.8208 9.67407 16.4978 9.03485 16.0263L6.54349 18.5177ZM7.97411 14.9657C7.50244 14.3265 7.17936 13.5709 7.05588 12.75H3.53263C3.68861 14.5341 4.39574 16.1602 5.48279 17.457L7.97411 14.9657ZM7.05588 11.25H3.53263C3.6886 9.46599 4.39567 7.83997 5.48263 6.54314L7.97397 9.03448C7.50237 9.67365 7.17935 10.4292 7.05588 11.25ZM9.03465 7.97384C9.67379 7.50231 10.4292 7.17934 11.25 7.05588V3.53263C9.46607 3.68859 7.8401 4.39561 6.5433 5.48249L9.03465 7.97384ZM15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z" }) }));
default:
return (_jsx("svg", { viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM14.5841 15.2904C13.4738 16.2532 12.0575 16.8724 10.5005 16.9824V13.969C11.2309 13.8778 11.9001 13.5897 12.4533 13.1596L14.5841 15.2904ZM15.2911 14.5832C16.2536 13.473 16.8726 12.0568 16.9824 10.5L13.9691 10.5C13.878 11.2301 13.5902 11.8992 13.1603 12.4524L15.2911 14.5832ZM15.2912 5.41689C16.2537 6.5271 16.8726 7.94328 16.9824 9.5H13.9691C13.878 8.76989 13.5902 8.10088 13.1604 7.54773L15.2912 5.41689ZM14.5842 4.70972L12.4534 6.8405C11.9 6.41018 11.2306 6.12205 10.5 6.03095V3.01758C12.0572 3.12748 13.4738 3.74672 14.5842 4.70972ZM5.41663 15.291C6.527 16.2537 7.94346 16.8727 9.50049 16.9825L9.50049 13.9691C8.77007 13.8781 8.10079 13.5902 7.54745 13.1601L5.41663 15.291ZM6.84029 12.4531C6.41009 11.8998 6.12204 11.2305 6.03095 10.5H3.01758C3.12747 12.0571 3.74663 13.4736 4.70949 14.5839L6.84029 12.4531ZM6.03095 9.5H3.01758C3.12747 7.943 3.74656 6.52659 4.70933 5.41629L6.84014 7.54709C6.41002 8.10037 6.12203 8.76961 6.03095 9.5ZM7.54726 6.84C8.10051 6.40996 8.76968 6.12202 9.5 6.03095V3.01758C7.94308 3.12746 6.52673 3.7465 5.41645 4.70919L7.54726 6.84ZM13 10C13 11.6569 11.6569 13 10 13C8.34315 13 7 11.6569 7 10C7 8.34315 8.34315 7 10 7C11.6569 7 13 8.34315 13 10Z" }) }));
}
};
IconColorWheel.iconName = "color-wheel";
export default IconColorWheel;