Skip to content

💄✨:redraw the drawer in the site's own ink - #1858

Merged
openinf-commit-queue[bot] merged 1 commit into
livefrom
feat/drawer-redesign
Aug 25, 2026
Merged

openinf-commit-queue[bot] merged 1 commit into
livefrom
feat/drawer-redesign

Conversation

@DerekNonGeneric

Copy link
Copy Markdown
Member

The drawer looked plain, and the pale slab under the navbar looked
wrong. Both had the same cause.

Why the background read wrong

$secondary (#dae5e7) is the one cool grey in a warm palette of
parchment, ink and taupe, and the drawer was the only surface using it.
It met the ink navbar at 13.59:1 — very nearly the most contrast
this palette can produce — which is the hard white-on-black seam sitting
74px down the screen.

The site already had the answer written down. _about.scss:

Ink, so it carries on from the navbar rather than leaving a pale band
between the two.

The masthead does the same. The drawer was the one surface that didn't.
It is ink now.

What carries it instead

Four links cannot hold a panel on their own, so the type does the work:

  • a mono NAVIGATE kicker above the list
  • 01–04 index numbers, in the voice .area-num speaks on the home
    page; aria-hidden, so they never reach a link's accessible name
  • the mark and wordmark signed at the foot, pinned with margin-top: auto
  • a teal-tinted current row — the border and aria-current still carry
    the marker, the color is additive and never stands alone

The panel also says where its own edge is, with a hairline and a
shadow: ink on a dimmed ink page reads as one mass without it. The
shadow is symmetric on purpose — an offset one is physical and would
fall on the wrong side in a page that reads right to left.

No background art. Two drafts had some, and both were dropped: the
flower of life is the about page's mark and a drawer wearing it too
would read as that page's twin, and a version using the unused prism
was dropped on the same instinct — the panel is better plain.

Contrast, measured from rendered colors

Pair Ratio Needs
link text 13.97:1 4.5:1 AAA
index digits 6.19:1 4.5:1 AA
NAVIGATE kicker 6.19:1 4.5:1 AA
current-row text 5.99:1 4.5:1 AA
sign-off 5.77:1 4.5:1 AA
current-row border 4.14:1 3:1 AA, non-text

The current row is measured on its own tinted surface rather than on
plain ink, since the tint paints over the panel and the text sits on
the blend.

Verified

Driven in WebKit on an iPhone profile:

  • accessible names are Home, not 01 Home; aria-current="page"
    intact
  • Escape and the backdrop both close it, focus moves in and comes back
  • prefers-reduced-motion zeroes every transition
  • tap targets 50x48 (toggle) and 319x56 (links)
  • opens on all seven page types, no console errors, no horizontal
    overflow
  • desktop unchanged: the toggle stays hidden, the inline nav does the
    work, the panel stays inert
  • right-to-left is a clean mirror — the panel and its slide both flip
  • nps test passes

Worth a look before merging

The panel is min(20rem, 82vw) — 320 of 390px on a phone, leaving 70px
of page. It was widened to fit the numbers and the larger type. If that
is too much screen, ~72vw tightens it, or the list could sit at the
panel's vertical center rather than the top; either is a couple of
lines.

@netlify

netlify Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for gh-pages-openinf ready!

Name Link
🔨 Latest commit 0c78314
🔍 Latest deploy log https://app.netlify.com/projects/gh-pages-openinf/deploys/6a8df5efc380b7000835a610
😎 Deploy Preview https://deploy-preview-1858--gh-pages-openinf.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

The drawer was the one surface that met the fixed navbar and did not
carry on from it. `$secondary` is the single cool grey in a warm
palette, so it clashed on temperature, and it left exactly the pale
band under the navbar that `.about-head` and the masthead are written
to avoid. It is ink now, and the seam is gone.

Four links cannot hold a panel on their own, so the type does the work
the color used to be asked to do: a mono kicker above the list, index
numbers in the voice `.area-num` speaks on the home page, and the mark
and wordmark signed at the foot. The current page keeps its border and
`aria-current`; the tint behind it is additive and never stands alone.

The panel also says where its own edge is. Ink on a dimmed ink page
reads as one mass, so it carries a hairline and a shadow. The shadow
is symmetric on purpose: an offset one is physical, and would fall on
the wrong side of the panel in a page that reads right to left.

Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Assisted-by: Claude-Code:claude-opus-5
Assisted-by: Claude-Code:claude-fable-5
@OpenINFbot OpenINFbot added the 🚀 Status: Commit Queue Land this pull request when its checks pass label Aug 25, 2026
@openinf-commit-queue
openinf-commit-queue Bot merged commit 9af2d7e into live Aug 25, 2026
15 checks passed
@openinf-commit-queue openinf-commit-queue Bot removed the 🚀 Status: Commit Queue Land this pull request when its checks pass label Aug 25, 2026
@DerekNonGeneric
DerekNonGeneric deleted the feat/drawer-redesign branch September 6, 2026 21:15
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.

2 participants