customise organisation issue types

This commit is contained in:
2026-01-25 00:51:49 +00:00
parent d5a0829bad
commit f11c9fa826
17 changed files with 629 additions and 15 deletions

View File

@@ -181,17 +181,20 @@ export default function Icon({
return null;
}
let fill = "transparent";
// lucide fills sillily
if (color && resolvedStyle !== "lucide") {
fill = color;
} else if (resolvedStyle === "pixel" && ["bug", "moon", "hash"].includes(icon)) {
fill = "var(--foreground)";
} else if (resolvedStyle === "phosphor") {
fill = "var(--foreground)";
}
return (
<IconComponent
size={size}
fill={
color
? color
: (resolvedStyle === "pixel" && ["bug", "moon", "hash"].includes(icon)) ||
resolvedStyle === "phosphor"
? "var(--foreground)"
: "transparent"
}
fill={fill}
style={{ color: color ? color : "var(--foreground)" }}
{...props}
/>