adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
81 lines (80 loc) • 2.76 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgAcAdapterSymbolic = (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: "#bebebe",
fontWeight: 400,
fill: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
style: {
lineHeight: "normal",
InkscapeFontSpecification: "'Bitstream Vera Sans'",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
d: "M8.78 5.008a1.023 1.023 0 00-.47.281l-3.03 3c-.236.23-.345.583-.282.906v.813h2.47L6.282 11.28c-.214.22-.321.54-.281.844a1.464 1.464 0 000 .094V13h1a1.03 1.03 0 00.719-.281l3-2.993c.183-.19.287-.454.281-.718a.87.87 0 000-.125v-.875H8.436l1.312-1.282a1.03 1.03 0 00.281-.843 1.464 1.464 0 000-.094v-.781h-1a1.015 1.015 0 00-.25 0z",
fontSize: "xx-small",
fontFamily: "Bitstream Vera Sans",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M5.469.04c-.489 0-.794.213-1.03.452C4.204.732 4 1.046 4 1.52v.501H2v13.916l12.003.002V2.021H12v-.416a1.616 1.616 0 00-.418-1.012c-.236-.278-.621-.583-1.197-.55l.054-.003zm.529 1.995l4.006.002v1.98h2v9.924H3.996V4.018h2.002z",
style: {
lineHeight: "normal",
fontVariantLigatures: "normal",
fontVariantPosition: "normal",
fontVariantCaps: "normal",
fontVariantNumeric: "normal",
fontVariantAlternates: "normal",
fontFeatureSettings: "normal",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textDecorationStyle: "solid",
textDecorationColor: "#000",
textTransform: "none",
textOrientation: "mixed",
whiteSpace: "normal",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal",
solidColor: "#000",
solidOpacity: 1,
marker: "none"
},
fontFamily: "sans-serif",
overflow: "visible",
opacity: 0.5
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgAcAdapterSymbolic);
var ac_adapter_symbolic_default = Memo;
export {
ac_adapter_symbolic_default as default
};