0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/docs/static
Max Katz 9ee332c1fd
feat(ui): rounded squircle favicon for Studio, Factory and docs (#30040)
The tab icon gets rounded corners, matching the rounded style used
everywhere else in the UI. Today's tile has a 5% corner radius, which
reads as a plain square at 16px. The new tile is a squircle
(superellipse, n=7), the smooth corner shape app icons use. The logo is
at 80% of the tile width and centered, so it has a little room from the
corners.

## Before / After

| Before | After |
| --- | --- |
| <img
src="https://github.com/user-attachments/assets/de26b6ac-83db-4212-9a46-a73b36daa714"
width="400" alt="Before"> | <img
src="https://github.com/user-attachments/assets/d1f885ba-c647-4fa6-9a7d-58e7b72dcf02"
width="400" alt="After"> |

## What changed

- Studio (`mastra-dark-tile.svg`, green dev variant), Factory
(`mastra.svg`, `mastra-dev.svg` and the four session status icons) and
the docs `favicon.ico` all come from the same source, so they stay
identical.
- Factory's status dot still sits on the logo's bottom-left dot.
- `mastra studio` now serves `/mastra-dark-tile.svg` as a file. It still
checked for the old `/mastra.svg` name, so the tab got the page HTML
instead of the icon.

## Scope

- Factory's PWA and apple-touch PNGs stay as they are: the OS masks
those itself, so a rounded tile inside them would look double-rounded.
- Platform and mastra.ai get the same icon in their own PRs.

## Testing

1. Run Studio or Factory: the tab shows the rounded tile (green logo in
dev).
2. Factory: open a session, and the colored status dot shows on the same
rounded tile.
3. Docs: the tab shows the rounded tile from `favicon.ico`.
4. Run `mastra studio`: the tab shows the rounded tile.



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## ELI5

This PR makes the Mastra favicon more rounded across Studio, Factory,
and the docs. It also makes Studio serve the correct icon file so
browsers display it.

## Changes

- Updated Studio, Factory, and Factory session-status SVGs with the
rounded tile design.
- Replaced the docs `favicon.ico`.
- Updated Studio asset handling to serve `/mastra-dark-tile.svg`,
including nested paths.
- Added a test for serving the Studio favicon instead of the SPA HTML.
- Added patch changesets for `mastra` and `@mastra/factory`.

## Validation

- Test results: not available.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
History 2026-11-11 14:20:52 +04:00
..
fonts chore(docs): remove unused licensed Greed font (#17662) 2026-06-08 09:39:11 +02:00
img feat(ui): rounded squircle favicon for Studio, Factory and docs (#30040) 2026-11-11 14:20:52 +04:00
robots.txt Kenny/grwth 952 migrate old nextra docs to docusarurus (#9391) 2025-10-29 14:46:15 +01:00