adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
64 lines (63 loc) • 2.6 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgPreferencesSystemSymbolic = (passedProps, ...restArgs) => {
const {
colored,
containerProps = {},
...rest
} = passedProps;
if (colored && typeof colored === "string") {
if (!containerProps.style) {
containerProps.style = {};
}
Object.assign(containerProps.style, {
"--custom-icon-color": colored
});
}
const render = (props) => /* @__PURE__ */ React.createElement("span", {
...containerProps,
className: cx("Icon", containerProps.className, {
colored
})
}, /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 16 16",
...props
}, /* @__PURE__ */ React.createElement("g", {
color: "#000",
fontWeight: 400,
fontFamily: "Sans",
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M3.549.09a3.5 3.5 0 00-1.143.216l1.885 1.88c.387.386.387 1 0 1.387l-.711.708a.98.98 0 01-1.39 0L.303 2.401a3.473 3.473 0 00-.216 1.14 3.456 3.456 0 003.46 3.452 3.5 3.5 0 001.144-.216l1.174 1.171a2.472 2.465 0 01.062 0l2.07-2.064-1.205-1.202a3.46 3.46 0 00.217-1.14A3.456 3.456 0 003.549.09zm6.55 7.89l-2.07 2.064a2.472 2.465 0 01.031.092l1.144 1.14a3.474 3.474 0 00-.217 1.14 3.456 3.456 0 003.461 3.452c.434 0 .854-.102 1.236-.247l-2.008-2.003a1.01 1.01 0 010-1.417l.68-.678a1.03 1.03 0 01.71-.308c.253 0 .517.115.71.308l1.947 1.941c.105-.33.186-.683.186-1.047a3.456 3.456 0 00-3.46-3.452 3.5 3.5 0 00-1.144.216L10.1 7.979z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "Sans",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M13.858 0l-1.542 1.438c-.452.42-.53 1.148-.267 1.706L6.161 9.14a1.492 1.488 0 00-.031 0 1.492 1.488 0 00-.84-.148 1.492 1.488 0 00-.867.44L.477 13.43a1.494 1.49 0 102.13 2.09l3.946-3.997a1.492 1.488 0 00.297-1.738l5.888-5.965c.558.249 1.273.147 1.707-.292l1.417-1.56L13.858 0z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "Sans",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgPreferencesSystemSymbolic);
var preferences_system_symbolic_default = Memo;
export {
preferences_system_symbolic_default as default
};