@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.72 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconPaletteFilled = (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: "M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22H13C14.1046 22 15 21.1046 15 20V19C15 17.8954 15.8954 17 17 17C19.7614 17 22 14.7614 22 12C22 6.47715 17.5228 2 12 2ZM17.5 13C18.3284 13 19 12.3284 19 11.5C19 10.6716 18.3284 10 17.5 10C16.6716 10 16 10.6716 16 11.5C16 12.3284 16.6716 13 17.5 13ZM15.067 5.68783C15.7844 6.10204 16.0302 7.01943 15.616 7.73687C15.2018 8.4543 14.2844 8.70012 13.567 8.2859C12.8495 7.87169 12.6037 6.9543 13.0179 6.23687C13.4322 5.51943 14.3495 5.27361 15.067 5.68783ZM10.116 6.73687C9.70181 6.01943 8.78442 5.77361 8.06698 6.18783C7.34954 6.60204 7.10373 7.51943 7.51794 8.23687C7.93216 8.9543 8.84954 9.20012 9.56698 8.7859C10.2844 8.37169 10.5302 7.4543 10.116 6.73687ZM5 12.5C5 11.6716 5.67157 11 6.5 11C7.32843 11 8 11.6716 8 12.5C8 13.3284 7.32843 14 6.5 14C5.67157 14 5 13.3284 5 12.5ZM8.38398 16.2631C7.96977 16.9806 8.21558 17.898 8.93302 18.3122C9.65046 18.7264 10.5678 18.4806 10.9821 17.7631C11.3963 17.0457 11.1505 16.1283 10.433 15.7141C9.71558 15.2999 8.79819 15.5457 8.38398 16.2631Z" }) }));
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: "M10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18C11.1046 18 12 17.1046 12 16C12 14.8954 12.8954 14 14 14C16.2091 14 18 12.2091 18 10C18 5.58172 14.4183 2 10 2ZM12 7.5C12.5523 7.5 13 7.05228 13 6.5C13 5.94772 12.5523 5.5 12 5.5C11.4477 5.5 11 5.94772 11 6.5C11 7.05228 11.4477 7.5 12 7.5ZM15 10C15 10.5523 14.5523 11 14 11C13.4477 11 13 10.5523 13 10C13 9.44771 13.4477 9 14 9C14.5523 9 15 9.44771 15 10ZM8 7.5C8.55229 7.5 9 7.05228 9 6.5C9 5.94772 8.55229 5.5 8 5.5C7.44772 5.5 7 5.94772 7 6.5C7 7.05228 7.44772 7.5 8 7.5ZM7 10C7 10.5523 6.55228 11 6 11C5.44772 11 5 10.5523 5 10C5 9.44771 5.44772 9 6 9C6.55228 9 7 9.44771 7 10ZM8 14.5C8.55229 14.5 9 14.0523 9 13.5C9 12.9477 8.55229 12.5 8 12.5C7.44772 12.5 7 12.9477 7 13.5C7 14.0523 7.44772 14.5 8 14.5Z" }) }));
}
};
IconPaletteFilled.iconName = "palette--filled";
export default IconPaletteFilled;