Skip to content

docs: add project logo to README - #16

Merged
lperezmo merged 1 commit into
mainfrom
docs/add-project-logo
Aug 5, 2026
Merged

docs: add project logo to README#16
lperezmo merged 1 commit into
mainfrom
docs/add-project-logo

Conversation

@lperezmo

@lperezmo lperezmo commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Adds a project logo and shows it at the top of the README.

  • New asset at assets/logo.svg (2:1 landscape mark, transparent background, no white plate).
  • Embedded centered at 380px wide inside the existing centered header block, directly above the st-rsuite title and badges.
  • Referenced by absolute raw.githubusercontent.com URL on main rather than a relative path, because this README is also the PyPI long description and relative paths break there. The image will 404 in this PR preview until the branch merges, which is expected.

One note on the SVG: the generated file had width and height but no viewBox, so browsers clip it instead of scaling it when it is rendered smaller inside an image tag. A viewBox of 0 0 1280 640 was added to the root element. The paths and colours are untouched.

Docs only. Prefixed docs: so semantic-release does not cut a version.

Adds assets/logo.svg and shows it centered at the top of the README,
above the project title and badges.

The source SVG carried width and height but no viewBox, which makes
browsers clip it when it is scaled down inside an img tag. A viewBox
of 0 0 1280 640 was added so it scales cleanly. The artwork itself is
unchanged.

The mark has a transparent background and no white plate, so it reads
on both the light and dark GitHub themes.
@lperezmo
lperezmo merged commit 8a6aebc into main Aug 5, 2026
24 checks passed
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