From 873498190d9593eb77f0895c6da5c6c457d0af33 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Fri, 16 Oct 2026 19:23:53 +0530 Subject: [PATCH] Docs: Use one README logo that reads in both themes The picked its source with prefers-color-scheme, which follows the browser or OS, not the theme chosen on GitHub. With GitHub on Light and the system on dark, the dark logo was shown: its white wordmark vanished on the white page and left the emblem alone at the left of a 3:1 box, so the logo looked off-centre. docs/_static/pythonbpf-logo.svg is the light logo with its wordmark in #3776ab, the emblem's own blue: 4.8:1 against GitHub's white and 3.9:1 against its dark background. The README links it by absolute URL so the PyPI page, which renders the same README, shows it too. Co-Authored-By: Claude Opus 5.5 (1M context) --- README.md | 14 ++++---------- docs/_static/pythonbpf-logo.svg | 1 + 2 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 docs/_static/pythonbpf-logo.svg diff --git a/README.md b/README.md index 64f9622..b7b2b33 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,8 @@

- - - PythonBPF logo - + PythonBPF logo

diff --git a/docs/_static/pythonbpf-logo.svg b/docs/_static/pythonbpf-logo.svg new file mode 100644 index 0000000..eb11c6a --- /dev/null +++ b/docs/_static/pythonbpf-logo.svg @@ -0,0 +1 @@ +