From a8883aa8b75e198440b5ede78b15eb5829363810 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Wed, 13 May 2026 02:07:11 +0100 Subject: [PATCH] fix(logo): explicit light/dark variants + for GitHub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The prior logo.svg used currentColor, which resolves to black when the SVG is loaded via on GitHub — making the logo invisible in dark mode (the GitHub default for many users). Fix uses GitHub's supported + 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 ) README updates the tag to a with media-conditioned source so GitHub's renderer picks the right variant per theme. --- README.md | 5 ++++- assets/logo-dark.svg | 13 +++++++++++++ assets/logo-light.svg | 13 +++++++++++++ assets/logo.svg | 26 ++++++++++++++++---------- 4 files changed, 46 insertions(+), 11 deletions(-) create mode 100644 assets/logo-dark.svg create mode 100644 assets/logo-light.svg diff --git a/README.md b/README.md index f12a1c5..e43f528 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@
-claude-adam logo + + + claude-adam logo + # claude-adam diff --git a/assets/logo-dark.svg b/assets/logo-dark.svg new file mode 100644 index 0000000..0665599 --- /dev/null +++ b/assets/logo-dark.svg @@ -0,0 +1,13 @@ + + claude-adam + A swaddled baby — rounded A-shape bundle with a face inside and small hands extending from the wrap-band. Dark-background variant. + + + + + + + + + + diff --git a/assets/logo-light.svg b/assets/logo-light.svg new file mode 100644 index 0000000..d92b360 --- /dev/null +++ b/assets/logo-light.svg @@ -0,0 +1,13 @@ + + claude-adam + A swaddled baby — rounded A-shape bundle with a face inside and small hands extending from the wrap-band. Light-background variant. + + + + + + + + + + diff --git a/assets/logo.svg b/assets/logo.svg index 7c043cb..6e5adc5 100644 --- a/assets/logo.svg +++ b/assets/logo.svg @@ -1,13 +1,19 @@ claude-adam - A swaddled baby — rounded A-shape bundle with a face inside and small hands extending from the wrap-band. Named after the author's newborn son. - - - - - - - - - + A swaddled baby — rounded A-shape bundle with a face inside and small hands extending from the wrap-band. Adapts to light/dark via embedded media query + currentColor fallback. + + + + + + + + + +