Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
/**
* Multica wordmark. Vector copy of WORDMARK in packages/ui/lib/multica-brand.ts
* (mobile does not depend on @multica/ui), written by `node scripts/brand/sync.mjs`;
* CI fails when the two drift.
*
* react-native-svg does not resolve CSS `currentColor`, so callers must pass
* `color` explicitly. For theme-aware usage, pair with `useColorScheme` +
* `THEME` token from `@/lib/theme`.
*/
import Svg, { G, Path } from "react-native-svg";
import { THEME } from "@/lib/theme";
import { useColorScheme } from "@/lib/use-color-scheme";
// BEGIN GENERATED by scripts/brand/sync.mjs from WORDMARK in packages/ui/lib/multica-brand.ts
const VIEW_BOX = { x: 0, y: -39.5, w: 421.36, h: 115.5 };
const STROKE = 16;
const LETTERS = [
"M8 76V31A23 23 0 0 1 54 31V76M54 31A23 23 0 0 1 100 31V76",
"M128 0V45A23 23 0 0 0 174 45M174 0V76",
"M202 -30V76",
"M239.6 -19.8V76M219.6 8H259.6",
"M277.8 0V76",
"M344.103 14.737A23 23 0 0 0 304.84 31V45A23 23 0 0 0 344.103 61.263",
"M367.36 31A23 23 0 0 1 413.36 31V45A23 23 0 0 1 367.36 45ZM413.36 0V76",
];
/** The star on the i, filled. */
const STAR =
"M274.92 -23L274.92 -38.739A16 16 0 0 1 280.68 -38.739L280.68 -23ZM275.764 -25.036L286.892 -36.165A16 16 0 0 1 290.965 -32.092L279.836 -20.964ZM277.8 -25.88L293.539 -25.88A16 16 0 0 1 293.539 -20.12L277.8 -20.12ZM279.836 -25.036L290.965 -13.908A16 16 0 0 1 286.892 -9.835L275.764 -20.964ZM280.68 -23L280.68 -7.261A16 16 0 0 1 274.92 -7.261L274.92 -23ZM279.836 -20.964L268.708 -9.835A16 16 0 0 1 264.635 -13.908L275.764 -25.036ZM277.8 -20.12L262.061 -20.12A16 16 0 0 1 262.061 -25.88L277.8 -25.88ZM275.764 -20.964L264.635 -32.092A16 16 0 0 1 268.708 -36.165L279.836 -25.036Z";
// END GENERATED
interface MulticaLogoProps {
/** Rendered height in points; width follows the wordmark's aspect ratio. */
size?: number;
color?: string;
}
export function MulticaLogo({ size = 24, color }: MulticaLogoProps) {
const { isDarkColorScheme } = useColorScheme();
const resolvedColor =
color ?? (isDarkColorScheme ? THEME.dark.foreground : THEME.light.foreground);
return (
<Svg
width={(size * VIEW_BOX.w) / VIEW_BOX.h}
height={size}
viewBox={`${VIEW_BOX.x} ${VIEW_BOX.y} ${VIEW_BOX.w} ${VIEW_BOX.h}`}
// eslint-disable-next-line no-restricted-syntax -- brand proper noun
accessibilityLabel="Multica"
>
<G fill="none" stroke={resolvedColor} strokeWidth={STROKE}>
{LETTERS.map((d) => (
<Path key={d} d={d} />
))}
</G>
<Path d={STAR} fill={resolvedColor} />
</Svg>
);
}