adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
69 lines (68 loc) • 2.58 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgApplicationsScienceSymbolic = (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",
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M5.011.1a1 1 0 00-.486 1.873l.49.273V4.93c-.13.204-.248.386-.437.713-.273.47-.608 1.062-.97 1.709a514.615 514.615 0 00-2.202 3.994c-.573 1.047-.55 2.454.3 3.514.674.9 1.739 1.14 2.62 1.14h7.35c.882 0 1.947-.24 2.62-1.142.85-1.06.87-2.465.297-3.512-1.163-2.369-2.474-4.219-3.562-6.397v-2.7l.49-.276A1 1 0 0011.035.1zm2.004 2h2.016v3.107a1 1 0 00.101.44c1.202 2.457 2.574 4.343 3.686 6.617a1 1 0 00.02.04c.24.44.253.884-.1 1.315a1 1 0 00-.035.045c-.145.199-.487.336-1.028.336h-7.35c-.54 0-.882-.137-1.027-.336a1 1 0 00-.035-.045c-.354-.431-.341-.875-.101-1.314a512.447 512.447 0 012.193-3.979 128.3 128.3 0 01.951-1.68c.263-.453.491-.812.518-.849a1 1 0 00.191-.59z",
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",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal"
},
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M6.219 9.002L4 13h8L9.781 9z",
style: {
marker: "none"
},
overflow: "visible",
opacity: 0.25
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgApplicationsScienceSymbolic);
var applications_science_symbolic_default = Memo;
export {
applications_science_symbolic_default as default
};