mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 01:48:35 +00:00
Docs: Use one README logo that reads in both themes
The <picture> 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) <noreply@anthropic.com>
This commit is contained in:
14
README.md
14
README.md
@ -1,14 +1,8 @@
|
||||
<p align="center">
|
||||
<picture>
|
||||
<source
|
||||
media="(prefers-color-scheme: light)"
|
||||
srcset="https://github.com/user-attachments/assets/f3738131-d7cb-4b5c-8699-c7010295a159"
|
||||
width="450">
|
||||
<img
|
||||
src="https://github.com/user-attachments/assets/b175bf39-23cb-475d-a6e1-7b5c99a1ed72"
|
||||
width="450"
|
||||
alt="PythonBPF logo">
|
||||
</picture>
|
||||
<img
|
||||
src="https://raw.githubusercontent.com/pythonbpf/Python-BPF/master/docs/_static/pythonbpf-logo.svg"
|
||||
width="450"
|
||||
alt="PythonBPF logo">
|
||||
</p>
|
||||
<!-- Badges -->
|
||||
<p align="center">
|
||||
|
||||
1
docs/_static/pythonbpf-logo.svg
vendored
Normal file
1
docs/_static/pythonbpf-logo.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 408 KiB |
Reference in New Issue
Block a user