mirror of
https://github.com/lukaszraczylo/claude-adam.git
synced 2026-07-13 04:20:11 +00:00
fix(logo): explicit light/dark variants + <picture> for GitHub
The prior logo.svg used currentColor, which resolves to black when the
SVG is loaded via <img> on GitHub — making the logo invisible in dark
mode (the GitHub default for many users).
Fix uses GitHub's supported <picture> + prefers-color-scheme media-
source pattern in README:
- assets/logo-light.svg — explicit GitHub light-theme text color #24292f
- assets/logo-dark.svg — explicit GitHub dark-theme text color #f0f6fc
- assets/logo.svg — kept with embedded @media + currentColor for
standalone use (markmorph notes, anywhere
else the SVG is loaded outside <picture>)
README updates the <img> tag to a <picture> with media-conditioned
source so GitHub's renderer picks the right variant per theme.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<div align="center">
|
||||
|
||||
<img src="./assets/logo.svg" alt="claude-adam logo" width="128" height="128" />
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="./assets/logo-dark.svg">
|
||||
<img src="./assets/logo-light.svg" alt="claude-adam logo" width="128" height="128" />
|
||||
</picture>
|
||||
|
||||
# claude-adam
|
||||
|
||||
|
||||
Reference in New Issue
Block a user