Skip to content

Commit b46f7cf

Browse files
committed
docs: center the README logo and fix its size
The logo SVG has an intrinsic size of 103x15, so embedding it without a size constraint renders it at ~15px tall (about one line of body text) and left-aligned. Mirror the vitejs/vite README treatment: center the logo in a paragraph, link it to the homepage, and pin height=60.
1 parent a0ed270 commit b46f7cf

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
<picture>
2-
<source media="(prefers-color-scheme: dark)" srcset="/logo-dark.svg">
3-
<source media="(prefers-color-scheme: light)" srcset="/logo.svg">
4-
<img alt="Vite+" src="/logo.svg">
5-
</picture>
1+
<p align="center">
2+
<a href="https://viteplus.dev" target="_blank" rel="noopener noreferrer">
3+
<picture>
4+
<source media="(prefers-color-scheme: dark)" srcset="/logo-dark.svg">
5+
<source media="(prefers-color-scheme: light)" srcset="/logo.svg">
6+
<img alt="Vite+" src="/logo.svg" height="60">
7+
</picture>
8+
</a>
9+
</p>
610

711
**The Unified Toolchain for the Web**
812
_runtime and package management, create, dev, check, test, build, pack, and monorepo task caching in a single dependency_

0 commit comments

Comments
 (0)