Skip to content

docs: transparent mascot in the avatar demo - #41

Merged
zyx1121 merged 1 commit into
mainfrom
docs/avatar-mascot-transparent
Oct 7, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
docs/avatar-mascot-transparent

Conversation

@zyx1121

@zyx1121 zyx1121 commented Oct 7, 2026

Copy link
Copy Markdown
Member

The avatar demo used the black-background site icon, which blended into the dark page and looked small.

  • New public/mascot.svg: transparent background, lines in the foreground color (#0a0a0a light, #fafafa dark via prefers-color-scheme, since page CSS variables do not reach inside <img>), inset 15% so the round avatar does not clip the arm or antenna
  • The avatar demo points at it

Verified on the sandbox: build passes; screenshots of /avatar in dark and light both look right.

🤖 Generated with Claude Code

The black icon blended into the dark page. public/mascot.svg draws the
lines in the foreground color for the system scheme, inset so the round
avatar does not clip the arm or the antenna.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 14f4c01 into main Oct 7, 2026
2 checks passed
@zyx1121
zyx1121 deleted the docs/avatar-mascot-transparent branch October 7, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant