Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

MUL-8687 feat(brand): star icon and G2 wordmark with the star on the i (#10051)

Jiayuan Zhang994d6977aa03
diff --git a/apps/desktop/build/icon.icns b/apps/desktop/build/icon.icns
index b83c5c874a..da76128b42 100644
Binary files a/apps/desktop/build/icon.icns and b/apps/desktop/build/icon.icns differ
diff --git a/apps/desktop/build/icon.ico b/apps/desktop/build/icon.ico
index 687df47ebe..e7be176a6c 100644
Binary files a/apps/desktop/build/icon.ico and b/apps/desktop/build/icon.ico differ
diff --git a/apps/desktop/build/icon.png b/apps/desktop/build/icon.png
index 51c4409c08..45712bafca 100644
Binary files a/apps/desktop/build/icon.png and b/apps/desktop/build/icon.png differ
diff --git a/apps/desktop/build/icons/128x128.png b/apps/desktop/build/icons/128x128.png
index 74d0b3fa69..d9e9dd56d7 100644
Binary files a/apps/desktop/build/icons/128x128.png and b/apps/desktop/build/icons/128x128.png differ
diff --git a/apps/desktop/build/icons/16x16.png b/apps/desktop/build/icons/16x16.png
index 0d44d90c20..6d1f01c7da 100644
Binary files a/apps/desktop/build/icons/16x16.png and b/apps/desktop/build/icons/16x16.png differ
diff --git a/apps/desktop/build/icons/24x24.png b/apps/desktop/build/icons/24x24.png
index 39bb4001aa..f2b9744223 100644
Binary files a/apps/desktop/build/icons/24x24.png and b/apps/desktop/build/icons/24x24.png differ
diff --git a/apps/desktop/build/icons/256x256.png b/apps/desktop/build/icons/256x256.png
index cc7719190a..ed4811f2be 100644
Binary files a/apps/desktop/build/icons/256x256.png and b/apps/desktop/build/icons/256x256.png differ
diff --git a/apps/desktop/build/icons/32x32.png b/apps/desktop/build/icons/32x32.png
index de0cdd7253..a9a5421ea3 100644
Binary files a/apps/desktop/build/icons/32x32.png and b/apps/desktop/build/icons/32x32.png differ
diff --git a/apps/desktop/build/icons/48x48.png b/apps/desktop/build/icons/48x48.png
index a745daefde..0e0df8593c 100644
Binary files a/apps/desktop/build/icons/48x48.png and b/apps/desktop/build/icons/48x48.png differ
diff --git a/apps/desktop/build/icons/512x512.png b/apps/desktop/build/icons/512x512.png
index 5af48def68..fb102418d5 100644
Binary files a/apps/desktop/build/icons/512x512.png and b/apps/desktop/build/icons/512x512.png differ
diff --git a/apps/desktop/build/icons/64x64.png b/apps/desktop/build/icons/64x64.png
index 3945caed17..f82e127d37 100644
Binary files a/apps/desktop/build/icons/64x64.png and b/apps/desktop/build/icons/64x64.png differ
diff --git a/apps/desktop/resources/icon.png b/apps/desktop/resources/icon.png
index 7770012f81..1996e21e05 100644
Binary files a/apps/desktop/resources/icon.png and b/apps/desktop/resources/icon.png differ
diff --git a/apps/docs/app/icon.svg b/apps/docs/app/icon.svg
index 1334868d26..cdd6f1240b 100644
--- a/apps/docs/app/icon.svg
+++ b/apps/docs/app/icon.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" role="img" aria-label="Multica"><style>.t{fill:#0b0b0c}.m{fill:#ffffff}@media (prefers-color-scheme:dark){.t{fill:#ffffff}.m{fill:#0b0b0c}}</style><defs><clipPath id="c"><rect x="4.166666666666667" y="4.166666666666667" width="91.66666666666667" height="91.66666666666667" rx="18.333333333333332"/></clipPath></defs><rect class="t" width="100" height="100" rx="22.5"/><g clip-path="url(#c)"><path class="m" transform="translate(-4.72 22) scale(0.96)" d="M0 85.25V34A34 34 0 0 1 68 34V85.25H46V34A12 12 0 0 0 22 34V85.25ZM46 85.25V34A34 34 0 0 1 114 34V85.25H92V34A12 12 0 0 0 68 34V85.25Z"/></g></svg>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" role="img" aria-label="Multica"><style>.t{fill:#0b0b0c}.m{fill:#ffffff}@media (prefers-color-scheme:dark){.t{fill:#ffffff}.m{fill:#0b0b0c}}</style><rect class="t" width="100" height="100" rx="22.5"/><path class="m" transform="translate(15 15) scale(0.7)" d="M42 50L42 0.644A50 50 0 0 1 58 0.644L58 50ZM44.343 44.343L79.243 9.443A50 50 0 0 1 90.557 20.757L55.657 55.657ZM50 42L99.356 42A50 50 0 0 1 99.356 58L50 58ZM55.657 44.343L90.557 79.243A50 50 0 0 1 79.243 90.557L44.343 55.657ZM58 50L58 99.356A50 50 0 0 1 42 99.356L42 50ZM55.657 55.657L20.757 90.557A50 50 0 0 1 9.443 79.243L44.343 44.343ZM50 58L0.644 58A50 50 0 0 1 0.644 42L50 42ZM44.343 55.657L9.443 20.757A50 50 0 0 1 20.757 9.443L55.657 44.343Z"/></svg>
diff --git a/apps/docs/app/layout.config.tsx b/apps/docs/app/layout.config.tsx
index 17724cca49..e8c9ea1616 100644
--- a/apps/docs/app/layout.config.tsx
+++ b/apps/docs/app/layout.config.tsx
@@ -34,7 +34,7 @@ export const baseOptions: BaseLayoutProps = {
nav: {
title: (
<span className="inline-flex items-center gap-2 font-semibold text-base">
- <MulticaWordmark className="h-[15px]" />
+ <MulticaWordmark className="h-4" />
Docs
</span>
),
diff --git a/apps/mobile/app/(auth)/login.tsx b/apps/mobile/app/(auth)/login.tsx
index 7e9317d53e..b413369d9d 100644
--- a/apps/mobile/app/(auth)/login.tsx
+++ b/apps/mobile/app/(auth)/login.tsx
@@ -43,7 +43,7 @@ export default function Login() {
>
<View className="flex-1 justify-center px-6 gap-6">
<View className="items-center gap-3">
- <MulticaLogo size={28} />
+ <MulticaLogo size={30} />
<View className="gap-1 items-center">
<Text className="text-2xl font-semibold text-foreground">
{t("login.title")}
diff --git a/apps/mobile/app/(auth)/verify.tsx b/apps/mobile/app/(auth)/verify.tsx
index aa7a5347db..30e4861dba 100644
--- a/apps/mobile/app/(auth)/verify.tsx
+++ b/apps/mobile/app/(auth)/verify.tsx
@@ -78,7 +78,7 @@ export default function Verify() {
>
<View className="flex-1 justify-center px-6 gap-6">
<View className="items-center gap-3">
- <MulticaLogo size={28} />
+ <MulticaLogo size={30} />
<View className="gap-1 items-center">
<Text className="text-2xl font-semibold text-foreground">
{t("verify.enter_title")}
diff --git a/apps/mobile/assets/icon.png b/apps/mobile/assets/icon.png
index 56062559cd..65d37ce90d 100644
Binary files a/apps/mobile/assets/icon.png and b/apps/mobile/assets/icon.png differ
diff --git a/apps/mobile/components/brand/multica-logo.tsx b/apps/mobile/components/brand/multica-logo.tsx
index 30db1aa261..5e742cc87c 100644
--- a/apps/mobile/components/brand/multica-logo.tsx
+++ b/apps/mobile/components/brand/multica-logo.tsx
@@ -6,11 +6,11 @@
* `color` explicitly. For theme-aware usage, pair with `useColorScheme` +
* `THEME` token from `@/lib/theme`.
*/
-import Svg, { Circle, G, Path } from "react-native-svg";
+import Svg, { G, Path } from "react-native-svg";
import { THEME } from "@/lib/theme";
import { useColorScheme } from "@/lib/use-color-scheme";
-const VIEW_BOX = { x: 0, y: -30.5, w: 421.36, h: 106.5 };
+const VIEW_BOX = { x: 0, y: -39.5, w: 421.36, h: 115.5 };
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",
@@ -20,6 +20,9 @@ const LETTERS = [
"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";
interface MulticaLogoProps {
/** Rendered height in points; width follows the wordmark's aspect ratio. */
@@ -44,7 +47,7 @@ export function MulticaLogo({ size = 24, color }: MulticaLogoProps) {
<Path key={d} d={d} />
))}
</G>
- <Circle cx={277.8} cy={-18.6} r={8.96} fill={resolvedColor} />
+ <Path d={STAR} fill={resolvedColor} />
</Svg>
);
}
diff --git a/apps/web/app/opengraph-image.png b/apps/web/app/opengraph-image.png
index 574a822eee..87e60eef35 100644
Binary files a/apps/web/app/opengraph-image.png and b/apps/web/app/opengraph-image.png differ
diff --git a/apps/web/features/landing/components/landing-footer.tsx b/apps/web/features/landing/components/landing-footer.tsx
index 4ee4042818..b5551d0d50 100644
--- a/apps/web/features/landing/components/landing-footer.tsx
+++ b/apps/web/features/landing/components/landing-footer.tsx
@@ -29,7 +29,7 @@ export function LandingFooter() {
{/* Left — newsletter / CTA */}
<div className="lg:w-[340px] lg:shrink-0">
<Link href="#product" className="flex items-center">
- <MulticaWordmark className="h-[22px] text-white" />
+ <MulticaWordmark className="h-6 text-white" />
</Link>
<p className="mt-4 max-w-[300px] text-body leading-[1.7] text-white/50 sm:text-body-lg">
{t.footer.tagline}
diff --git a/apps/web/features/landing/components/landing-header.tsx b/apps/web/features/landing/components/landing-header.tsx
index 11bb2dbab8..c1845cef6a 100644
--- a/apps/web/features/landing/components/landing-header.tsx
+++ b/apps/web/features/landing/components/landing-header.tsx
@@ -45,7 +45,7 @@ export function LandingHeader({
<MulticaWordmark
hop
className={cn(
- "h-[22px] sm:h-6",
+ "h-6 sm:h-[26px]",
variant === "dark" ? "text-white" : "text-[#0a0d12]",
)}
/>
diff --git a/apps/web/public/favicon.svg b/apps/web/public/favicon.svg
index 1334868d26..cdd6f1240b 100644
--- a/apps/web/public/favicon.svg
+++ b/apps/web/public/favicon.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" role="img" aria-label="Multica"><style>.t{fill:#0b0b0c}.m{fill:#ffffff}@media (prefers-color-scheme:dark){.t{fill:#ffffff}.m{fill:#0b0b0c}}</style><defs><clipPath id="c"><rect x="4.166666666666667" y="4.166666666666667" width="91.66666666666667" height="91.66666666666667" rx="18.333333333333332"/></clipPath></defs><rect class="t" width="100" height="100" rx="22.5"/><g clip-path="url(#c)"><path class="m" transform="translate(-4.72 22) scale(0.96)" d="M0 85.25V34A34 34 0 0 1 68 34V85.25H46V34A12 12 0 0 0 22 34V85.25ZM46 85.25V34A34 34 0 0 1 114 34V85.25H92V34A12 12 0 0 0 68 34V85.25Z"/></g></svg>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" role="img" aria-label="Multica"><style>.t{fill:#0b0b0c}.m{fill:#ffffff}@media (prefers-color-scheme:dark){.t{fill:#ffffff}.m{fill:#0b0b0c}}</style><rect class="t" width="100" height="100" rx="22.5"/><path class="m" transform="translate(15 15) scale(0.7)" d="M42 50L42 0.644A50 50 0 0 1 58 0.644L58 50ZM44.343 44.343L79.243 9.443A50 50 0 0 1 90.557 20.757L55.657 55.657ZM50 42L99.356 42A50 50 0 0 1 99.356 58L50 58ZM55.657 44.343L90.557 79.243A50 50 0 0 1 79.243 90.557L44.343 55.657ZM58 50L58 99.356A50 50 0 0 1 42 99.356L42 50ZM55.657 55.657L20.757 90.557A50 50 0 0 1 9.443 79.243L44.343 44.343ZM50 58L0.644 58A50 50 0 0 1 0.644 42L50 42ZM44.343 55.657L9.443 20.757A50 50 0 0 1 20.757 9.443L55.657 44.343Z"/></svg>
diff --git a/apps/web/public/icons/apple-touch-icon.png b/apps/web/public/icons/apple-touch-icon.png
index c425ef534b..2480abe69e 100644
Binary files a/apps/web/public/icons/apple-touch-icon.png and b/apps/web/public/icons/apple-touch-icon.png differ
diff --git a/apps/web/public/icons/icon-192.png b/apps/web/public/icons/icon-192.png
index addaa376da..f59a87b65d 100644
Binary files a/apps/web/public/icons/icon-192.png and b/apps/web/public/icons/icon-192.png differ
diff --git a/apps/web/public/icons/icon-512.png b/apps/web/public/icons/icon-512.png
index 5af48def68..fb102418d5 100644
Binary files a/apps/web/public/icons/icon-512.png and b/apps/web/public/icons/icon-512.png differ
diff --git a/apps/web/public/icons/icon-maskable-512.png b/apps/web/public/icons/icon-maskable-512.png
index c1f3621f70..ed77a5c7bc 100644
Binary files a/apps/web/public/icons/icon-maskable-512.png and b/apps/web/public/icons/icon-maskable-512.png differ
diff --git a/apps/web/public/icons/icon.svg b/apps/web/public/icons/icon.svg
index 752e7a48e0..97047352cc 100644
--- a/apps/web/public/icons/icon.svg
+++ b/apps/web/public/icons/icon.svg
@@ -3,5 +3,5 @@
Full-bleed source for the generated home-screen icons (apple-touch-icon.png,
icon-maskable-512.png). Full-bleed because both surfaces mask the artwork
themselves: iOS rounds the corners, Android crops to the launcher shape.
- Geometry is packages/ui/lib/multica-brand.ts (ICON_M_PATH, iconMTransform).
- --><defs><clipPath id="c"><rect width="100" height="100"/></clipPath></defs><rect width="100" height="100" fill="#0b0b0c"/><g clip-path="url(#c)"><path fill="#ffffff" transform="translate(-4.72 22) scale(0.96)" d="M0 85.25V34A34 34 0 0 1 68 34V85.25H46V34A12 12 0 0 0 22 34V85.25ZM46 85.25V34A34 34 0 0 1 114 34V85.25H92V34A12 12 0 0 0 68 34V85.25Z"/></g></svg>
+ Geometry is packages/ui/lib/multica-brand.ts (starPath, iconStar).
+ --><rect width="100" height="100" fill="#0b0b0c"/><path fill="#ffffff" transform="translate(20 20) scale(0.6)" d="M44 50L44 0.361A50 50 0 0 1 56 0.361L56 50ZM45.757 45.757L80.857 10.658A50 50 0 0 1 89.342 19.143L54.243 54.243ZM50 44L99.639 44A50 50 0 0 1 99.639 56L50 56ZM54.243 45.757L89.342 80.857A50 50 0 0 1 80.857 89.342L45.757 54.243ZM56 50L56 99.639A50 50 0 0 1 44 99.639L44 50ZM54.243 54.243L19.143 89.342A50 50 0 0 1 10.658 80.857L45.757 45.757ZM50 56L0.361 56A50 50 0 0 1 0.361 44L50 44ZM45.757 54.243L10.658 19.143A50 50 0 0 1 19.143 10.658L54.243 45.757Z"/></svg>
diff --git a/docs/assets/logo-dark.gif b/docs/assets/logo-dark.gif
index f7c9d8815b..a340256853 100644
Binary files a/docs/assets/logo-dark.gif and b/docs/assets/logo-dark.gif differ
diff --git a/docs/assets/logo-dark.svg b/docs/assets/logo-dark.svg
index b0688b5f8e..d79ad40c53 100644
--- a/docs/assets/logo-dark.svg
+++ b/docs/assets/logo-dark.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -30.5 421.36 106.5" role="img" aria-label="Multica"><g fill="none" stroke="#ffffff" stroke-width="16"><path d="M8 76V31A23 23 0 0 1 54 31V76M54 31A23 23 0 0 1 100 31V76"/><path d="M128 0V45A23 23 0 0 0 174 45M174 0V76"/><path d="M202 -30V76"/><path d="M239.6 -19.8V76M219.6 8H259.6"/><path d="M277.8 0V76"/><circle cx="277.8" cy="-18.6" r="8.96" fill="#ffffff" stroke="none"/><path d="M344.103 14.737A23 23 0 0 0 304.84 31V45A23 23 0 0 0 344.103 61.263"/><path d="M367.36 31A23 23 0 0 1 413.36 31V45A23 23 0 0 1 367.36 45ZM413.36 0V76"/></g></svg>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -39.5 421.36 115.5" role="img" aria-label="Multica"><g fill="none" stroke="#ffffff" stroke-width="16"><path d="M8 76V31A23 23 0 0 1 54 31V76M54 31A23 23 0 0 1 100 31V76"/><path d="M128 0V45A23 23 0 0 0 174 45M174 0V76"/><path d="M202 -30V76"/><path d="M239.6 -19.8V76M219.6 8H259.6"/><path d="M277.8 0V76"/><path d="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" fill="#ffffff" stroke="none"/><path d="M344.103 14.737A23 23 0 0 0 304.84 31V45A23 23 0 0 0 344.103 61.263"/><path d="M367.36 31A23 23 0 0 1 413.36 31V45A23 23 0 0 1 367.36 45ZM413.36 0V76"/></g></svg>
diff --git a/docs/assets/logo-light.gif b/docs/assets/logo-light.gif
index fa1ba9b8ee..e064f9ffe6 100644
Binary files a/docs/assets/logo-light.gif and b/docs/assets/logo-light.gif differ
diff --git a/docs/assets/logo-light.svg b/docs/assets/logo-light.svg
index c9d38cb348..9b53fc5367 100644
--- a/docs/assets/logo-light.svg
+++ b/docs/assets/logo-light.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -30.5 421.36 106.5" role="img" aria-label="Multica"><g fill="none" stroke="#0b0b0c" stroke-width="16"><path d="M8 76V31A23 23 0 0 1 54 31V76M54 31A23 23 0 0 1 100 31V76"/><path d="M128 0V45A23 23 0 0 0 174 45M174 0V76"/><path d="M202 -30V76"/><path d="M239.6 -19.8V76M219.6 8H259.6"/><path d="M277.8 0V76"/><circle cx="277.8" cy="-18.6" r="8.96" fill="#0b0b0c" stroke="none"/><path d="M344.103 14.737A23 23 0 0 0 304.84 31V45A23 23 0 0 0 344.103 61.263"/><path d="M367.36 31A23 23 0 0 1 413.36 31V45A23 23 0 0 1 367.36 45ZM413.36 0V76"/></g></svg>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -39.5 421.36 115.5" role="img" aria-label="Multica"><g fill="none" stroke="#0b0b0c" stroke-width="16"><path d="M8 76V31A23 23 0 0 1 54 31V76M54 31A23 23 0 0 1 100 31V76"/><path d="M128 0V45A23 23 0 0 0 174 45M174 0V76"/><path d="M202 -30V76"/><path d="M239.6 -19.8V76M219.6 8H259.6"/><path d="M277.8 0V76"/><path d="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" fill="#0b0b0c" stroke="none"/><path d="M344.103 14.737A23 23 0 0 0 304.84 31V45A23 23 0 0 0 344.103 61.263"/><path d="M367.36 31A23 23 0 0 1 413.36 31V45A23 23 0 0 1 367.36 45ZM413.36 0V76"/></g></svg>
diff --git a/packages/ui/components/common/actor-avatar.tsx b/packages/ui/components/common/actor-avatar.tsx
index 4743f89d0e..d779ddcdba 100644
--- a/packages/ui/components/common/actor-avatar.tsx
+++ b/packages/ui/components/common/actor-avatar.tsx
@@ -78,7 +78,7 @@ function ActorAvatar({
onError={() => setImgError(true)}
/>
) : isSystem ? (
- // `size` only sets the edge thickness; the slot decides the rendered size.
+ // `size` only picks the optical size; the slot decides the rendered size.
<MulticaIcon shape="circle" size={AVATAR_SIZE_PX[size]} style={{ width: "100%", height: "100%" }} />
) : isAgent ? (
<Bot style={{ width: scaled(0.55), height: scaled(0.55) }} />
diff --git a/packages/ui/components/common/multica-graphics.tsx b/packages/ui/components/common/multica-graphics.tsx
index 95d4cfb6cd..e7e991acb5 100644
--- a/packages/ui/components/common/multica-graphics.tsx
+++ b/packages/ui/components/common/multica-graphics.tsx
@@ -1,98 +1,85 @@
import { cn } from "../../lib/utils";
-import { ICON_ARCH, ICON_STROKE, archPath } from "../../lib/multica-brand";
+import { STAR_GRAPHIC_STROKE, starPath } from "../../lib/multica-brand";
-const ARCH_STAGGER_S = 0.11;
-const BLEED_HEIGHT = 140;
-const M_WIDTH = 2 * ICON_ARCH - ICON_STROKE;
+const STAR_STAGGER_S = 0.11;
+/** Space between stars in a row, as a share of one star's width. */
+const ROW_GAP = 0.4;
+const THIN_STAR = starPath(STAR_GRAPHIC_STROKE);
-interface MulticaArcadeProps extends React.ComponentProps<"svg"> {
- /** Number of arches; each one stands for a teammate. */
+interface MulticaStarRowProps extends React.ComponentProps<"svg"> {
+ /** Number of stars; each one stands for a teammate. */
count: number;
- /** Leg length in arch units (an arch is 68 wide). */
- legs?: number;
/**
- * `center`: arches rise from the middle outwards (backgrounds).
- * `join`: arches rise left to right, and the last one rises after a beat
- * (someone just joined). Omit for a static row.
+ * `center`: stars turn into place from the middle outwards (backgrounds).
+ * `join`: left to right, and the last one arrives after a beat (someone just
+ * joined). Omit for a static row.
*/
- rise?: "center" | "join";
- /** Seconds before the first arch moves. */
+ enter?: "center" | "join";
+ /** Seconds before the first star moves. */
delay?: number;
- /** Classes for the last arch, e.g. to highlight the newest teammate. */
+ /** Classes for the last star, e.g. to light up the newest teammate. */
lastClassName?: string;
}
/**
- * A row of arches built from the icon's module — the graphic extension of the
- * m. Decorative and low-contrast; fill follows `currentColor`.
+ * A row of thin stars, one per teammate — the star-field graphic from the
+ * brand guidelines. Decorative and low-contrast; fill follows `currentColor`.
*/
-export function MulticaArcade({
+export function MulticaStarRow({
count,
- legs = 76,
- rise,
+ enter,
delay = 0,
lastClassName,
className,
...props
-}: MulticaArcadeProps) {
- const step = ICON_ARCH - ICON_STROKE;
- const width = step * (count - 1) + ICON_ARCH;
+}: MulticaStarRowProps) {
+ const step = 100 * (1 + ROW_GAP);
+ const width = step * (count - 1) + 100;
const mid = (count - 1) / 2;
const delayOf = (i: number) => {
- if (rise === "center") return delay + Math.abs(i - mid) * ARCH_STAGGER_S;
- if (i === count - 1) return delay + i * ARCH_STAGGER_S + 0.3;
- return delay + i * ARCH_STAGGER_S;
+ if (enter === "center") return delay + Math.abs(i - mid) * STAR_STAGGER_S;
+ if (i === count - 1) return delay + i * STAR_STAGGER_S + 0.3;
+ return delay + i * STAR_STAGGER_S;
};
return (
<svg
- viewBox={`0 0 ${width} ${legs}`}
+ viewBox={`0 0 ${width} 100`}
fill="currentColor"
aria-hidden="true"
className={cn("block", className)}
{...props}
>
{Array.from({ length: count }, (_, i) => (
- <path
- key={i}
- d={archPath(step * i, 0, legs, ICON_ARCH, ICON_STROKE)}
- className={cn(rise && "multica-arch-rise", i === count - 1 && lastClassName)}
- style={rise ? { animationDelay: `${delayOf(i)}s` } : undefined}
- />
+ <g key={i} transform={`translate(${step * i} 0)`}>
+ <path
+ d={THIN_STAR}
+ className={cn(enter && "multica-star-enter", i === count - 1 && lastClassName)}
+ style={enter ? { animationDelay: `${delayOf(i)}s` } : undefined}
+ />
+ </g>
))}
</svg>
);
}
interface MulticaBleedMarkProps extends React.ComponentProps<"svg"> {
- /** Rise into place once, after this many seconds. Omit for static. */
- riseDelay?: number;
+ /** Turn into place once, after this many seconds. Omit for static. */
+ enterDelay?: number;
}
/**
- * A large m meant to bleed off the bottom and right of its container — the
- * icon's "too big to fit" idea as a surface graphic. Position it with
- * `className`; fill follows `currentColor`.
+ * A large thin star meant to bleed off the edges of its container — the big
+ * graphic from the brand guidelines. Position it with `className`; fill
+ * follows `currentColor`.
*/
-export function MulticaBleedMark({ riseDelay, className, ...props }: MulticaBleedMarkProps) {
+export function MulticaBleedMark({ enterDelay, className, ...props }: MulticaBleedMarkProps) {
return (
- <svg
- viewBox={`0 0 ${M_WIDTH} ${BLEED_HEIGHT}`}
- fill="currentColor"
- aria-hidden="true"
- className={cn("block", className)}
- {...props}
- >
- <g
- className={riseDelay != null ? "multica-arch-rise" : undefined}
- style={riseDelay != null ? { animationDelay: `${riseDelay}s` } : undefined}
- >
- <path
- d={
- archPath(0, 0, BLEED_HEIGHT, ICON_ARCH, ICON_STROKE) +
- archPath(ICON_ARCH - ICON_STROKE, 0, BLEED_HEIGHT, ICON_ARCH, ICON_STROKE)
- }
- />
- </g>
+ <svg viewBox="0 0 100 100" fill="currentColor" aria-hidden="true" className={cn("block", className)} {...props}>
+ <path
+ d={THIN_STAR}
+ className={enterDelay != null ? "multica-star-enter" : undefined}
+ style={enterDelay != null ? { animationDelay: `${enterDelay}s` } : undefined}
+ />
</svg>
);
}
diff --git a/packages/ui/components/common/multica-icon.tsx b/packages/ui/components/common/multica-icon.tsx
index 616473cabf..55f8739cde 100644
--- a/packages/ui/components/common/multica-icon.tsx
+++ b/packages/ui/components/common/multica-icon.tsx
@@ -1,43 +1,49 @@
-import { useId, type CSSProperties } from "react";
+import type { CSSProperties } from "react";
import { cn } from "../../lib/utils";
import {
- ICON_M_CENTRE_LINE,
- ICON_M_PATH,
- ICON_STROKE,
ICON_TILE_RADIUS,
- iconEdge,
- iconMTransform,
+ STAR_ARM_ANGLES,
+ iconStar,
+ iconStarTransform,
+ starArmPath,
} from "../../lib/multica-brand";
export type MulticaIconMode =
/** The mark at rest. */
| "static"
- /** A highlight runs along the m: an agent at work, loading, waiting. */
+ /** The centre opens and the arms light up in turn: an agent at work, loading, waiting. */
| "think"
- /** Tile pops in and the m rises from below — app launch, sign-in. */
+ /** Tile pops in, arms grow out of the centre as the star turns into place — app launch, sign-in. */
| "intro"
/** `intro`, then `think` until whatever is loading unmounts it. */
| "launch";
interface MulticaIconProps extends Omit<React.ComponentProps<"svg">, "mode"> {
mode?: MulticaIconMode;
- /** `circle` is the avatar form; the m sits the same way inside it. */
+ /** `circle` is the avatar form. */
shape?: "square" | "circle";
/**
- * Rendered size in px. Sets width/height and the edge thickness, which the
- * spec pins to at least 1px. Omit to size with `className` (1em default).
+ * Rendered size in px. Sets width/height and picks the optical size (24px and
+ * below draws a bigger, heavier star). Omit to size with `className` (1em
+ * default); the small optical size is used then.
*/
size?: number;
/** Accessible name. Without one the mark is decorative. */
title?: string;
}
-/** When the launch sequence hands over from the risen m to the think loop. */
+/** When the launch sequence hands over from the settled star to the think loop. */
const LAUNCH_THINK_AT = "1.5s";
+const INTRO_AT_S = 0.15;
+const ARM_STAGGER_MS = 55;
+/** Think: one lap of the eight arms. */
+const THINK_LAP_MS = 800;
+/** Think: the open centre, in the star's grid. */
+const THINK_HOLE = 15;
/**
- * The Multica icon (F1): the wordmark's m, too big for its tile and cropped
- * by it. Black tile with a white m in light mode, inverted in dark mode.
+ * The Multica icon: the star from the wordmark's i on a rounded tile. Black
+ * tile with a white star in light mode, inverted in dark mode.
*/
export function MulticaIcon({
mode = "static",
@@ -48,27 +54,39 @@ export function MulticaIcon({
style,
...props
}: MulticaIconProps) {
- const clipId = `multica-icon-${useId().replace(/[^a-zA-Z0-9_-]/g, "")}`;
- const edge = iconEdge(size ?? 24);
+ const { scale, stroke } = iconStar(size, shape);
const intro = mode === "intro" || mode === "launch";
const tileClass = "fill-multica-ink dark:fill-multica-paper";
- const mFill = "fill-multica-paper dark:fill-multica-ink";
- const mStroke = "stroke-multica-paper dark:stroke-multica-ink";
+ const starClass = "fill-multica-paper dark:fill-multica-ink";
+ const delay = (ms: number | string): CSSProperties => ({
+ animationDelay: typeof ms === "number" ? `${ms}ms` : ms,
+ });
- const filled = <path d={ICON_M_PATH} className={mFill} />;
- const thinking = (
- <>
- <path d={ICON_M_CENTRE_LINE} fill="none" strokeWidth={ICON_STROKE} opacity={0.22} className={mStroke} />
- <path
- d={ICON_M_CENTRE_LINE}
- fill="none"
- strokeWidth={ICON_STROKE}
- pathLength={1}
- className={cn("multica-think", mStroke)}
- />
- </>
+ const arms = (variant: "static" | "grow" | "think") =>
+ STAR_ARM_ANGLES.map((angle, k) => (
+ <g key={angle} transform={`rotate(${angle} 50 50)`}>
+ <path
+ d={starArmPath(stroke, variant === "think" ? THINK_HOLE : 0)}
+ className={cn(
+ starClass,
+ variant === "grow" && "multica-arm-grow",
+ variant === "think" && "multica-arm-fade",
+ )}
+ style={
+ variant === "grow"
+ ? delay(INTRO_AT_S * 1000 + k * ARM_STAGGER_MS)
+ : variant === "think"
+ ? delay(k * (THINK_LAP_MS / STAR_ARM_ANGLES.length) - THINK_LAP_MS)
+ : undefined
+ }
+ />
+ </g>
+ ));
+ const settled = (
+ <g className="multica-settle" style={delay(INTRO_AT_S * 1000)}>
+ {arms("grow")}
+ </g>
);
- const delay = (s: string): CSSProperties => ({ animationDelay: s });
return (
<svg
@@ -80,39 +98,21 @@ export function MulticaIcon({
style={{ ...(size != null && { width: size, height: size }), ...(intro && delay("0.1s")), ...style }}
{...props}
>
- <defs>
- <clipPath id={clipId}>
- {shape === "circle" ? (
- <circle cx={50} cy={50} r={50 - edge} />
- ) : (
- <rect
- x={edge}
- y={edge}
- width={100 - 2 * edge}
- height={100 - 2 * edge}
- rx={Math.max(ICON_TILE_RADIUS - edge, 1)}
- />
- )}
- </clipPath>
- </defs>
{shape === "circle" ? (
<circle cx={50} cy={50} r={50} className={tileClass} />
) : (
<rect width={100} height={100} rx={ICON_TILE_RADIUS} className={tileClass} />
)}
- <g clipPath={`url(#${clipId})`}>
- <g className={intro ? "multica-rise" : undefined} style={intro ? delay("0.35s") : undefined}>
- <g transform={iconMTransform(shape)}>
- {mode === "think" ? thinking : null}
- {mode === "static" || mode === "intro" ? filled : null}
- {mode === "launch" ? (
- <>
- <g className="multica-fade-out" style={delay(LAUNCH_THINK_AT)}>{filled}</g>
- <g className="multica-fade-in" style={delay(LAUNCH_THINK_AT)}>{thinking}</g>
- </>
- ) : null}
- </g>
- </g>
+ <g transform={iconStarTransform(scale)}>
+ {mode === "static" ? arms("static") : null}
+ {mode === "think" ? arms("think") : null}
+ {mode === "intro" ? settled : null}
+ {mode === "launch" ? (
+ <>
+ <g className="multica-fade-out" style={delay(LAUNCH_THINK_AT)}>{settled}</g>
+ <g className="multica-fade-in" style={delay(LAUNCH_THINK_AT)}>{arms("think")}</g>
+ </>
+ ) : null}
</g>
</svg>
);
diff --git a/packages/ui/components/common/multica-wordmark.tsx b/packages/ui/components/common/multica-wordmark.tsx
index cf505daea3..7cd81eb99b 100644
--- a/packages/ui/components/common/multica-wordmark.tsx
+++ b/packages/ui/components/common/multica-wordmark.tsx
@@ -3,24 +3,24 @@ import { WORDMARK, WORDMARK_STROKE } from "../../lib/multica-brand";
interface MulticaWordmarkProps extends React.ComponentProps<"svg"> {
/**
- * Write the letters along their centre lines (M1, ~1.5s), starting after
- * this many ms. Omit for the static mark.
+ * Write the letters along their centre lines and spin the star onto the i
+ * (M1, ~2s), starting after this many ms. Omit for the static mark.
*/
writeDelayMs?: number;
- /** Letters hop one after another on hover. Website nav only. */
+ /** Letters hop one after another and the star turns 45° on hover. Website nav only. */
hop?: boolean;
/** Accessible name; the drawn letters carry no text. */
title?: string;
}
const LETTER_MS = 150;
-const DOT_AFTER_MS = 4 * LETTER_MS + 480;
+const STAR_AFTER_MS = 6 * LETTER_MS + 420;
const HOP_STAGGER_MS = 40;
/**
- * The Multica wordmark (G2). Drawn, not typed — never substitute a font.
- * Colour follows `currentColor`; height follows `className` (1em default),
- * measured from the top of the l to the baseline.
+ * The Multica wordmark (G2 with the star on the i). Drawn, not typed — never
+ * substitute a font. Colour follows `currentColor`; height follows `className`
+ * (1em default), measured from the top of the star to the baseline.
*/
export function MulticaWordmark({
writeDelayMs,
@@ -49,15 +49,13 @@ export function MulticaWordmark({
className={write ? "multica-write" : undefined}
style={write ? { animationDelay: `${writeDelayMs + i * LETTER_MS}ms` } : undefined}
/>
- {letter.dot ? (
- <circle
- cx={letter.dot.cx}
- cy={letter.dot.cy}
- r={letter.dot.r}
+ {letter.star ? (
+ <path
+ d={letter.star}
fill="currentColor"
stroke="none"
- className={write ? "multica-dot" : undefined}
- style={write ? { animationDelay: `${writeDelayMs + DOT_AFTER_MS}ms` } : undefined}
+ className={cn("multica-star", write && "multica-star-in")}
+ style={write ? { animationDelay: `${writeDelayMs + STAR_AFTER_MS}ms` } : undefined}
/>
) : null}
</g>
diff --git a/packages/ui/lib/multica-brand.ts b/packages/ui/lib/multica-brand.ts
index 7a85bf8562..d34c9d6d4e 100644
--- a/packages/ui/lib/multica-brand.ts
+++ b/packages/ui/lib/multica-brand.ts
@@ -1,67 +1,92 @@
/**
- * Multica brand geometry — brand guidelines v3.1 (MUL-8444).
+ * Multica brand geometry — brand guidelines v5 (MUL-8687).
*
- * Every mark is built from one arch: straight lines and true circles with a
- * constant stroke. The icon is the wordmark's first letter, scaled up until it
- * no longer fits its tile and gets cropped. Units are the 100×100 icon grid
- * unless stated otherwise; do not tweak these numbers by eye, they are the
- * spec.
+ * Two shapes. The star: four straight strokes through one centre, 45° apart,
+ * eight equal arms with flat ends cut on one circle. The wordmark (G2): drawn
+ * centre-lines with a constant stroke, and the star as the dot on its i. Lifted
+ * out on its own, that star is the icon. Units are the 100×100 star grid unless
+ * stated otherwise; do not tweak these numbers by eye, they are the spec.
*/
const r3 = (n: number) => Math.round(n * 1000) / 1000;
-/** Filled outline of one arch: outer width `w`, stroke `t`, legs down to `y1`. */
-export function archPath(x0: number, y0: number, y1: number, w: number, t: number): string {
- const R = w / 2;
- const cy = y0 + R;
- const ri = R - t;
- return (
- `M${r3(x0)} ${r3(y1)}V${r3(cy)}A${r3(R)} ${r3(R)} 0 0 1 ${r3(x0 + w)} ${r3(cy)}V${r3(y1)}` +
- `H${r3(x0 + w - t)}V${r3(cy)}A${r3(ri)} ${r3(ri)} 0 0 0 ${r3(x0 + t)} ${r3(cy)}V${r3(y1)}Z`
- );
-}
+// ---------- star: arms on the R 50 circle, centre (50, 50) ----------
+/** Standalone stroke: lighter than the wordmark's 16, because eight arms pile ink at the centre. */
+export const STAR_STROKE = 11;
+/** Large surface graphics (bleed, rows) use a thinner stroke. */
+export const STAR_GRAPHIC_STROKE = 9;
+/** Arm angles in degrees, clockwise from 12 o'clock. */
+export const STAR_ARM_ANGLES = [-90, -45, 0, 45, 90, 135, 180, 225] as const;
-// ---------- icon (F1): stroke 22, arch 68, scaled 0.96, top at 22% ----------
-export const ICON_STROKE = 22;
-export const ICON_ARCH = 68;
-const ICON_SCALE = 0.96;
-const ICON_TOP = 22;
-const ICON_M_WIDTH = (2 * ICON_ARCH - ICON_STROKE) * ICON_SCALE;
-const ICON_LEG = (100 - ICON_TOP) / ICON_SCALE + 4;
+/**
+ * One arm pointing right, from `r0` out to the circle, stroke `t`. Rotate it by
+ * an entry of STAR_ARM_ANGLES about (50, 50). Its bounding box starts at the
+ * centre, so `transform-origin: 0% 50%` with `transform-box: fill-box` grows it
+ * out of the centre.
+ */
+export function starArmPath(t: number, r0 = 0): string {
+ const h = t / 2;
+ const x1 = 50 + Math.sqrt(50 * 50 - h * h);
+ return `M${r3(50 + r0)} ${r3(50 - h)}H${r3(x1)}A50 50 0 0 1 ${r3(x1)} ${r3(50 + h)}H${r3(50 + r0)}Z`;
+}
/**
- * Places the m on the tile; the m's own paths are in unscaled arch units. The
- * circle (avatar) form sits the m 2 units lower so the arches clear the curve.
+ * The whole star as one filled path, stroke `t` in grid units. `cx`/`cy`/`R`
+ * place it elsewhere at radius R; the stroke scales with it.
*/
-export function iconMTransform(shape: "square" | "circle" = "square"): string {
- const top = shape === "circle" ? ICON_TOP + 2 : ICON_TOP;
- return `translate(${r3(50 - ICON_M_WIDTH / 2)} ${top}) scale(${ICON_SCALE})`;
+export function starPath(t = STAR_STROKE, cx = 50, cy = 50, R = 50): string {
+ const k = R / 50;
+ const h = (t / 2) * k;
+ const along = Math.sqrt(R * R - h * h);
+ const pt = (a: number, x: number, y: number) => {
+ const c = Math.cos((a * Math.PI) / 180);
+ const s = Math.sin((a * Math.PI) / 180);
+ return `${r3(cx + x * c - y * s)} ${r3(cy + x * s + y * c)}`;
+ };
+ return STAR_ARM_ANGLES.map(
+ (a) => `M${pt(a, 0, -h)}L${pt(a, along, -h)}A${r3(R)} ${r3(R)} 0 0 1 ${pt(a, along, h)}L${pt(a, 0, h)}Z`,
+ ).join("");
}
+
+// ---------- icon: the star on a rounded tile ----------
export const ICON_TILE_RADIUS = 22.5;
+/** At 24px and below the star grows and thickens so every arm keeps two pixels. */
+export const ICON_SMALL_MAX_PX = 24;
-/** The m as two filled arches sharing the middle stem. */
-export const ICON_M_PATH =
- archPath(0, 0, ICON_LEG, ICON_ARCH, ICON_STROKE) +
- archPath(ICON_ARCH - ICON_STROKE, 0, ICON_LEG, ICON_ARCH, ICON_STROKE);
+export interface IconStar {
+ /** The star's share of the tile width. */
+ scale: number;
+ /** Stroke in the star's own grid. */
+ stroke: number;
+}
-/** Centre line of the m, stroked at ICON_STROKE. Drives the "think" highlight. */
-export const ICON_M_CENTRE_LINE =
- `M11 ${r3(ICON_LEG)}V34A23 23 0 0 1 57 34V${r3(ICON_LEG)}V34A23 23 0 0 1 103 34V${r3(ICON_LEG)}`;
+/** The star inside a tile (`square`) or avatar disc (`circle`) at a rendered size. */
+export function iconStar(sizePx: number | undefined, shape: "square" | "circle" = "square"): IconStar {
+ const small = sizePx == null || sizePx <= ICON_SMALL_MAX_PX;
+ if (shape === "circle") return small ? { scale: 0.64, stroke: 16 } : { scale: 0.56, stroke: 12 };
+ return small ? { scale: 0.7, stroke: 16 } : { scale: 0.6, stroke: 12 };
+}
-/**
- * The thin edge in the tile colour that keeps the tile outline intact on any
- * background: 2.6% of the width, never thinner than 1px.
- */
-export function iconEdge(sizePx: number): number {
- return Math.max(2.6, 100 / sizePx);
+/** Centres a star of the given scale on the 100×100 tile. */
+export function iconStarTransform(scale: number): string {
+ const off = r3(50 - 50 * scale);
+ return `translate(${off} ${off}) scale(${scale})`;
}
// ---------- wordmark (G2): stroke 16, arch 62, x-height 76, ascender 30 ----------
export const WORDMARK_STROKE = 16;
+/**
+ * The star on the i: radius 16, centre 23 above the x-height, so its top clears
+ * the l by 9 and its bottom clears the stem by 7. Stroke 18 in its own grid
+ * (0.36× the letters) — the standalone 11 would vanish at this size.
+ */
+export const WORDMARK_STAR = { r: 16, cy: -23, stroke: 18 } as const;
export interface WordmarkLetter {
+ /** Centre-line, stroked at WORDMARK_STROKE. */
d: string;
- dot?: { cx: number; cy: number; r: number };
+ /** Filled star path (the i only). */
+ star?: string;
}
function buildWordmark() {
@@ -77,12 +102,12 @@ function buildWordmark() {
const c45 = Math.SQRT1_2;
const A = (x1: number, y1: number) => `A${r3(r)} ${r3(r)} 0 0 1 ${r3(x1)} ${r3(y1)}`;
const Ar = (x1: number, y1: number) => `A${r3(r)} ${r3(r)} 0 0 0 ${r3(x1)} ${r3(y1)}`;
- const glyphs: Record<string, [number, (x: number) => string, ((x: number) => WordmarkLetter["dot"])?]> = {
+ const glyphs: Record<string, [number, (x: number) => string, ((x: number) => string)?]> = {
m: [4 * r + t, (x) => `M${r3(x + a)} ${X}V${r3(cy1)}${A(x + a + 2 * r, cy1)}V${X}M${r3(x + a + 2 * r)} ${r3(cy1)}${A(x + a + 4 * r, cy1)}V${X}`],
u: [2 * r + t, (x) => `M${r3(x + a)} 0V${r3(cy2)}${Ar(x + a + 2 * r, cy2)}M${r3(x + a + 2 * r)} 0V${X}`],
l: [t, (x) => `M${r3(x + a)} ${-asc}V${X}`],
t: [2.5 * t, (x) => `M${r3(x + 0.75 * t + a)} ${r3(-asc * 0.66)}V${X}M${r3(x)} ${r3(a)}H${r3(x + 2.5 * t)}`],
- i: [t, (x) => `M${r3(x + a)} 0V${X}`, (x) => ({ cx: r3(x + a), cy: r3(-asc * 0.62), r: r3(t * 0.56) })],
+ i: [t, (x) => `M${r3(x + a)} 0V${X}`, (x) => starPath(WORDMARK_STAR.stroke, x + a, WORDMARK_STAR.cy, WORDMARK_STAR.r)],
c: [(W / 2) * (1 + c45), (x) => {
const cx = x + W / 2;
return `M${r3(cx + r * c45)} ${r3(cy1 - r * c45)}${Ar(cx - r, cy1)}V${r3(cy2)}${Ar(cx + r * c45, cy2 + r * c45)}`;
@@ -95,12 +120,12 @@ function buildWordmark() {
const letters: WordmarkLetter[] = [];
let x = 0;
for (let k = 0; k < word.length; k++) {
- const [w, d, dot] = glyphs[word[k]!]!;
- letters.push({ d: d(x), dot: dot?.(x) });
+ const [w, d, star] = glyphs[word[k]!]!;
+ letters.push({ d: d(x), star: star?.(x) });
x += w;
if (k < word.length - 1) x += gap * (kern[word[k]! + word[k + 1]!] ?? 1);
}
- const top = -asc - 0.5;
+ const top = Math.min(-asc, WORDMARK_STAR.cy - WORDMARK_STAR.r) - 0.5;
return { letters, viewBox: `0 ${r3(top)} ${r3(x)} ${r3(X - top)}` };
}
diff --git a/packages/ui/styles/base.css b/packages/ui/styles/base.css
index 59dff749dc..06322dfab3 100644
--- a/packages/ui/styles/base.css
+++ b/packages/ui/styles/base.css
@@ -48,15 +48,17 @@
color: var(--shiki-dark) !important;
}
-/* Multica brand motion — brand guidelines v3.1 §08. The word writes, the m
- * rises; every brand animation is one of those two actions. Only the tile and
- * the i dot overshoot (pop); nothing else does. Delays are set inline by the
- * components so a sequence stays readable in one place. */
+/* Multica brand motion — brand guidelines v5 §08. One move: a 45° turn, which
+ * lands the eight-armed star back on itself. Only the tile and the star
+ * overshoot (pop); nothing else does. Delays are set inline by the components
+ * so a sequence stays readable in one place. */
@keyframes multica-pop { from { transform: scale(0.4); opacity: 0; } }
-@keyframes multica-rise { from { transform: translateY(82px); } }
-@keyframes multica-arch-rise { from { transform: translateY(102%); } }
@keyframes multica-write { from { stroke-dashoffset: 1; } }
-@keyframes multica-think { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
+@keyframes multica-settle { from { transform: rotate(-45deg); } }
+@keyframes multica-arm-grow { from { transform: scaleX(0); } }
+@keyframes multica-arm-fade { from { opacity: 1; } to { opacity: 0.16; } }
+@keyframes multica-star-in { from { transform: scale(0) rotate(-135deg); } }
+@keyframes multica-star-enter { from { transform: rotate(-45deg) scale(0.6); opacity: 0; } }
@keyframes multica-fade-in { from { opacity: 0; } }
@keyframes multica-fade-out { to { opacity: 0; } }
@keyframes multica-hop { 40% { transform: translateY(-14%); } }
@@ -66,25 +68,33 @@
transform-origin: 50% 50%;
animation: multica-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
-.multica-rise {
- animation: multica-rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
-}
-.multica-arch-rise {
- transform-box: fill-box;
- animation: multica-arch-rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
-}
.multica-write {
stroke-dasharray: 1 1;
animation: multica-write 0.5s cubic-bezier(0.65, 0, 0.35, 1) both;
}
-.multica-dot {
+/* The group's own box shrinks while its arms grow, so turn about the star's
+ grid centre instead. */
+.multica-settle {
+ transform-box: view-box;
+ transform-origin: 50% 50%;
+ animation: multica-settle 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
+}
+.multica-arm-grow {
+ transform-box: fill-box;
+ transform-origin: 0% 50%;
+ animation: multica-arm-grow 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
+}
+.multica-arm-fade { animation: multica-arm-fade 0.8s linear infinite; }
+.multica-star {
transform-box: fill-box;
transform-origin: 50% 50%;
- animation: multica-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
-.multica-think {
- stroke-dasharray: 0.24 0.76;
- animation: multica-think 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
+/* `backwards`, not `both`: a held end state would block the hover turn. */
+.multica-star-in { animation: multica-star-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }
+.multica-star-enter {
+ transform-box: fill-box;
+ transform-origin: 50% 50%;
+ animation: multica-star-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.multica-fade-in { animation: multica-fade-in 0.24s ease both; }
.multica-fade-out { animation: multica-fade-out 0.24s ease both; }
@@ -93,6 +103,8 @@
.multica-hop-on-hover:hover > g {
animation: multica-hop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
+.multica-hop-on-hover .multica-star { transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
+.multica-hop-on-hover:hover .multica-star { transform: rotate(45deg); }
/* Onboarding: step / phase entry — 400ms fade.
* Applied on mount so every new step (and intra-step phase switch, via
@@ -371,14 +383,16 @@ html[data-sidebar-resizing="true"] {
}
@media (prefers-reduced-motion: reduce) {
- /* Brand motion settles on its final frame. The think highlight stops and
- its 22% track stays, so "working" still reads without movement. */
+ /* Brand motion settles on its final frame. The think arms stop at full
+ strength around the open centre, so "working" still reads without
+ movement. */
.multica-pop,
- .multica-rise,
- .multica-arch-rise,
.multica-write,
- .multica-dot,
- .multica-think,
+ .multica-settle,
+ .multica-arm-grow,
+ .multica-arm-fade,
+ .multica-star-in,
+ .multica-star-enter,
.multica-fade-in,
.multica-fade-out,
.multica-hop-on-hover:hover > g,
@@ -390,6 +404,10 @@ html[data-sidebar-resizing="true"] {
animation: none;
}
+ .multica-hop-on-hover:hover .multica-star {
+ transform: none;
+ }
+
.animate-skeleton {
animation: skeleton-hold 200ms step-end;
}
diff --git a/packages/views/agents/create/agent-created-page.tsx b/packages/views/agents/create/agent-created-page.tsx
index 35fa87a471..c0ad7070d5 100644
--- a/packages/views/agents/create/agent-created-page.tsx
+++ b/packages/views/agents/create/agent-created-page.tsx
@@ -13,7 +13,7 @@ import {
agentListOptions,
squadListOptions,
} from "@multica/core/workspace/queries";
-import { MulticaArcade } from "@multica/ui/components/common/multica-graphics";
+import { MulticaStarRow } from "@multica/ui/components/common/multica-graphics";
import { Button } from "@multica/ui/components/ui/button";
import { Skeleton } from "@multica/ui/components/ui/skeleton";
import { cn } from "@multica/ui/lib/utils";
@@ -41,9 +41,9 @@ export function AgentCreatedPage({ agentId }: { agentId: string }) {
const squad = squadId ? squads.find((item) => item.id === squadId) ?? null : null;
const name = agent?.name ?? "";
const { data: agents } = useQuery(agentListOptions(wsId));
- // One arch per active agent, the newest last. Clamped so a tiny workspace
+ // One star per active agent, the newest last. Clamped so a tiny workspace
// still reads as a row and a huge one still fits the banner.
- const arches = agents
+ const stars = agents
? Math.min(Math.max(agents.filter((item) => !item.archived_at).length, 3), 11)
: null;
@@ -57,13 +57,12 @@ export function AgentCreatedPage({ agentId }: { agentId: string }) {
<main className="flex min-h-0 flex-1 flex-col overflow-y-auto px-5 py-12">
<div className="m-auto w-full max-w-xl">
<div aria-hidden="true" className="relative mb-10 h-36 overflow-hidden rounded-xl bg-multica-ink">
- {arches && agent ? (
- <MulticaArcade
- count={arches}
- legs={100}
- rise="join"
+ {stars && agent ? (
+ <MulticaStarRow
+ count={stars}
+ enter="join"
delay={0.2}
- className="absolute bottom-0 left-1/2 h-24 w-auto -translate-x-1/2 text-multica-paper/15"
+ className="absolute top-1/2 left-1/2 h-8 w-auto -translate-x-1/2 -translate-y-1/2 text-multica-paper/15"
lastClassName="fill-multica-paper"
/>
) : null}
diff --git a/packages/views/inbox/components/inbox-page.tsx b/packages/views/inbox/components/inbox-page.tsx
index b2305b5372..44fd8ef0eb 100644
--- a/packages/views/inbox/components/inbox-page.tsx
+++ b/packages/views/inbox/components/inbox-page.tsx
@@ -1080,8 +1080,8 @@ export function InboxPage() {
{inboxZeroCount === 0 ? (
<MulticaBleedMark
key={inboxZeroRises ? "rise" : "rest"}
- riseDelay={inboxZeroRises ? 0.2 : undefined}
- className="pointer-events-none absolute -right-[8%] -bottom-[32%] w-[min(560px,58%)] text-muted"
+ enterDelay={inboxZeroRises ? 0.2 : undefined}
+ className="pointer-events-none absolute -right-[14%] -bottom-[26%] w-[min(560px,58%)] text-muted"
/>
) : (
<Inbox className="mb-3 h-10 w-10 text-faint-foreground" />
diff --git a/packages/views/onboarding/components/step-sidebar.tsx b/packages/views/onboarding/components/step-sidebar.tsx
index 0a92133232..2996c4c970 100644
--- a/packages/views/onboarding/components/step-sidebar.tsx
+++ b/packages/views/onboarding/components/step-sidebar.tsx
@@ -166,7 +166,7 @@ export function StepSidebar({
<header className="flex min-h-9 shrink-0 items-center justify-between gap-3">
<MulticaWordmark
title={t(($) => $.step_nav.wordmark)}
- className="h-4 text-foreground"
+ className="h-[17px] text-foreground"
/>
{onBack ? (
<IconButton
diff --git a/packages/views/onboarding/steps/step-welcome.tsx b/packages/views/onboarding/steps/step-welcome.tsx
index ec8298d42f..bd41bac364 100644
--- a/packages/views/onboarding/steps/step-welcome.tsx
+++ b/packages/views/onboarding/steps/step-welcome.tsx
@@ -5,7 +5,7 @@ import { useState } from "react";
import { ArrowRight, Download, Loader2 } from "@multica/ui/icons";
import { Button, buttonVariants } from "@multica/ui/components/ui/button";
import { MulticaWordmark } from "@multica/ui/components/common/multica-wordmark";
-import { MulticaArcade } from "@multica/ui/components/common/multica-graphics";
+import { MulticaStarRow } from "@multica/ui/components/common/multica-graphics";
import { cn } from "@multica/ui/lib/utils";
import { DragStrip } from "@multica/views/platform";
import { STATUS_CONFIG } from "@multica/core/issues/config";
@@ -82,7 +82,7 @@ export function StepWelcome({
<MulticaWordmark
writeDelayMs={200}
title={t(($) => $.welcome.wordmark)}
- className="h-8 self-start text-foreground"
+ className="h-[35px] self-start text-foreground"
/>
<h1 className="text-balance font-serif text-5xl font-medium leading-[1.04] tracking-tight sm:text-6xl">
@@ -173,12 +173,11 @@ export function StepWelcome({
centers the mock cards vertically, mirroring the left
column's copy-center layout. */}
<div className="relative hidden border-l bg-muted/40 lg:flex lg:flex-1 lg:flex-col lg:overflow-hidden">
- <MulticaArcade
+ <MulticaStarRow
count={9}
- legs={120}
- rise="center"
+ enter="center"
delay={0.5}
- className="pointer-events-none absolute -bottom-6 left-1/2 w-[130%] -translate-x-1/2 text-muted"
+ className="pointer-events-none absolute -bottom-10 left-1/2 w-[130%] -translate-x-1/2 text-muted"
/>
<DragStrip />
<div className="relative flex flex-1 flex-col items-center justify-center gap-7 px-8 py-8">
diff --git a/server/cmd/multica/cmd_auth.go b/server/cmd/multica/cmd_auth.go
index 7ad45efdf6..b284234357 100644
--- a/server/cmd/multica/cmd_auth.go
+++ b/server/cmd/multica/cmd_auth.go
@@ -559,7 +559,7 @@ const callbackSuccessHTML = `<!DOCTYPE html>
<div class="icon-wrap">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/></svg>
</div>
- <div class="brand"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -30.5 421.36 106.5" height="18" width="71" role="img" aria-label="Multica"><g fill="none" stroke="currentColor" stroke-width="16"><path d="M8 76V31A23 23 0 0 1 54 31V76M54 31A23 23 0 0 1 100 31V76"/><path d="M128 0V45A23 23 0 0 0 174 45M174 0V76"/><path d="M202 -30V76"/><path d="M239.6 -19.8V76M219.6 8H259.6"/><path d="M277.8 0V76"/><circle cx="277.8" cy="-18.6" r="8.96" fill="currentColor" stroke="none"/><path d="M344.103 14.737A23 23 0 0 0 304.84 31V45A23 23 0 0 0 344.103 61.263"/><path d="M367.36 31A23 23 0 0 1 413.36 31V45A23 23 0 0 1 367.36 45ZM413.36 0V76"/></g></svg></div>
+ <div class="brand"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -39.5 421.36 115.5" role="img" aria-label="Multica" height="19.5" width="71"><g fill="none" stroke="currentColor" stroke-width="16"><path d="M8 76V31A23 23 0 0 1 54 31V76M54 31A23 23 0 0 1 100 31V76"/><path d="M128 0V45A23 23 0 0 0 174 45M174 0V76"/><path d="M202 -30V76"/><path d="M239.6 -19.8V76M219.6 8H259.6"/><path d="M277.8 0V76"/><path d="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" fill="currentColor" stroke="none"/><path d="M344.103 14.737A23 23 0 0 0 304.84 31V45A23 23 0 0 0 344.103 61.263"/><path d="M367.36 31A23 23 0 0 1 413.36 31V45A23 23 0 0 1 367.36 45ZM413.36 0V76"/></g></svg></div>
<h1>Authentication successful</h1>
<p>You can close this tab and return to the terminal.</p>
<p class="hint">Your CLI session is now authenticated.</p>