Skip to content

Site: the PlugRL lockup in the header without the repeated name, and a larger tab icon - #28

Merged
tactino merged 1 commit into
mainfrom
docs/header-lockup-favicon
Oct 3, 2026
Merged

tactino merged 1 commit into
mainfrom
docs/header-lockup-favicon

Conversation

@tactino

@tactino tactino commented Oct 3, 2026

Copy link
Copy Markdown
Member

Two requests: put the wordmark into the header logo and drop the separate "PlugRL" text, and make the tab icon bigger.

Header

  • theme.logo is now the light lockup, docs/assets/plugrl-lockup-on-dark.png. It is a 1044×295 PNG shown 32 px tall, so it stays sharp at any pixel density. There is no SVG lockup yet.
  • docs/stylesheets/brand.css hides the site name next to the logo. The page title that appears on scroll is untouched.
  • Below 76.25em Material normally hides the header logo and shows only the name. The lockup now stays there too, after the menu button, so phones and tablets show the same brand. The mobile drawer shows the lockup without the repeated name.
  • I built the site locally with mkdocs build --strict and checked screenshots at 1280, 1000 and 390 px wide, scrolled and unscrolled, and with the drawer open.

Tab icon

  • favicon.ico: the 32 and 48 px frames had a 2 px and 1 px margin; they now fill the canvas with the plate. The 16 px frame stays as it was, because it is hand-hinted and cropping it blurs it.
  • favicon.svg is new, added through overrides/main.html after the ICO, for browsers that read SVG icons. Its viewBox is cropped to the plate (the brand file left 17% margin). In a dark colour scheme it switches to the light plate; the dark plate had nearly vanished into dark tab strips.

docs/assets/plugrl-mark-on-dark.svg is deleted, since nothing uses it now.

…a larger tab icon

- Header: the lockup (mark and wordmark) replaces the mark, and brand.css hides the site name
  beside it, which the lockup already says. Material hides the header logo below 76.25em; it
  stays, after the menu button, so phones and tablets show the same brand. The page title that
  appears on scroll is untouched.
- Tab icon: the ICO's 32 and 48 px frames now fill the canvas with the plate (the 16 px frame
  stays hand-hinted), and an SVG favicon cropped to the plate is added through
  overrides/main.html; it turns light in a dark colour scheme, where the dark plate vanished
  into a dark tab strip.
- The mark SVG the header used is gone.
@tactino
tactino merged commit f219709 into main Oct 3, 2026
1 check 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