@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
81 lines (78 loc) • 2.14 kB
JavaScript
'use client';
import { TITLE } from "../style.mjs";
import { memo } from "react";
import { jsx, jsxs } from "react/jsx-runtime";
import { useFillIds } from "@lobehub/icons";
//#region src/icons/Casdoor/components/Color.tsx
const Icon = memo(({ size = "1em", style, ...rest }) => {
const [a, b, c] = useFillIds(TITLE, 3);
return /* @__PURE__ */ jsxs("svg", {
height: size,
style: {
flex: "none",
lineHeight: 1,
...style
},
viewBox: "0 0 24 24",
width: size,
xmlns: "http://www.w3.org/2000/svg",
...rest,
children: [
/* @__PURE__ */ jsx("title", { children: TITLE }),
/* @__PURE__ */ jsx("path", {
d: "M11.558 0l10.466 5.378L11.37 11.04 1 5.47 11.558 0z",
fill: a.fill
}),
/* @__PURE__ */ jsx("path", {
d: "M14.154 12.866l7.87-7.488v11.184L14.154 24V12.866z",
fill: b.fill
}),
/* @__PURE__ */ jsx("path", {
d: "M1 16.994l10.466 5.424-.096-11.378L1 5.47v11.524z",
fill: c.fill
}),
/* @__PURE__ */ jsxs("defs", { children: [
/* @__PURE__ */ jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: a.id,
x1: "11.558",
x2: "11.558",
y1: "-.048",
y2: "10.752",
children: [/* @__PURE__ */ jsx("stop", { stopColor: "#522ED5" }), /* @__PURE__ */ jsx("stop", {
offset: "1",
stopColor: "#9A88D5"
})]
}),
/* @__PURE__ */ jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: b.id,
x1: "14.342",
x2: "9.461",
y1: "23.856",
y2: "10.13",
children: [/* @__PURE__ */ jsx("stop", { stopColor: "#522ED5" }), /* @__PURE__ */ jsx("stop", {
offset: "1",
stopColor: "#9A88D5"
})]
}),
/* @__PURE__ */ jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: c.id,
x1: "1.238",
x2: "2.077",
y1: "5.808",
y2: "22.639",
children: [/* @__PURE__ */ jsx("stop", { stopColor: "#522ED5" }), /* @__PURE__ */ jsx("stop", {
offset: "1",
stopColor: "#9A88D5"
})]
})
] })
]
});
});
var Color_default = Icon;
//#endregion
export { Color_default as default };
//# sourceMappingURL=Color.mjs.map