Skip to content

Use white transparent icons for documentation tabs - #5

Merged
aitianshi merged 4 commits into
mainfrom
docs/resize-readme-logo
Nov 5, 2026
Merged

aitianshi merged 4 commits into
mainfrom
docs/resize-readme-logo

Conversation

@aitianshi

@aitianshi aitianshi commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #4

What

Use a standalone Nullius mark for the documentation tab: one transparent PNG favicon with a fresh URL, plus a transparent Apple touch icon. Remove the square background from the SVG source and render the PNGs in the original brand white (#e8e8e6). The title stays “Nullius - Docs”.

Touches

Docs and site: favicon assets, MkDocs configuration, the shared page head and the site build guide.

Before and after

The supplied favicon assets, both 32 × 32:

Before After
Opaque favicon Transparent favicon

Before: the favicon has an opaque square background, and the page declares both PNG and SVG tab icons. After: it declares one transparent PNG icon. The touch icon is also transparent; both PNG URLs are versioned to refresh cached images. The Safari pinned-tab mask uses the same white colour.

Verified

  • Eight site tests pass.
  • MkDocs build and generated link, asset, anchor and search checks pass.
  • All 53 generated pages resolve one tab favicon and the touch icon under the documentation prefix with the new cache version.
  • Both PNGs have transparency outside and inside the logo, with the original white colour and circle/slash geometry retained.
  • Focused Chromium checks pass at 1280 pixels in both themes: icon assets load, header centres align and no JavaScript errors occur. Earlier desktop/mobile layout checks passed; icon dimensions and geometry are unchanged.
  • The updated head requests a normal Cloudflare preview build. Squash using the PR title without a preview-skip prefix so the production deployment runs normally.

Risk

Safari can apply its own framing, and saved shortcuts can add a platform background. The requested white mark has low contrast on light browser surfaces. The updated appearance in Safari's tab bar still needs confirmation after deployment. Revert the icon assets and configuration, then rebuild, to restore the previous appearance.

@aitianshi aitianshi changed the title Use a versioned PNG favicon for documentation tabs Use transparent PNG icons for documentation tabs Nov 5, 2026
@aitianshi aitianshi changed the title Use transparent PNG icons for documentation tabs Use white transparent icons for documentation tabs Nov 5, 2026
@aitianshi
aitianshi merged commit 63e4a97 into main Nov 5, 2026
1 check passed
@aitianshi
aitianshi deleted the docs/resize-readme-logo branch November 5, 2026 22:23
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.

Show a standalone Nullius logo in documentation tabs

1 participant