You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(theme): readability pass — light/dark contrast, aligned log, agent avatar
Design pass on the drunk.support theme.
Readability / contrast:
- Consolidate two competing color systems: remap legacy --bg-*/--text-*/--accent
tokens onto the newspaper palette so the search modal, tables, copy button, and
reading bar track light/dark from one source.
- Tune --ink-mute/--ink-faint and add --link (AA-safe orange) for body text; keep
bright --bleed for fills/borders/large display only.
- Fix the .signal promo box (was 1.08:1 in dark), the active nav number, and the
hot-fill post kicker (all dark-on-dark in dark mode). Variable-ize
editor-style.css. Result: 0 WCAG-AA failures in both modes.
Log:
- Drop per-row thumbnails and the fake md5 "commit hash"; add an aligned
author-avatar column + two-line excerpt. One grid, so titles share a left edge.
Author avatar:
- minimalcode_author_avatar()/_url(): AutoJack posts use the agent's Gravatar
(bundled portrait as offline fallback); shown in log rows, bylines, and the
about-author block.
Code blocks:
- Dequeue the theme's duplicate CDN Prism when the Code Syntax Block plugin is
active; frame blocks (acid top-edge + rule border + padding).
A11y: visible :focus-visible rings, prefers-reduced-motion respected.
Verification: php -l clean; programmatic WCAG-AA contrast audit in light + dark
across all components — 0 failures. Visual checks via a static CSS harness (Local
site was returning a 502).
Risk: avatars now load from secure.gravatar.com (standard WP behavior). Code
syntax highlighting still requires per-block language tags.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* fix(theme): align remaining log templates + resolve AutoJack avatar from agent identity
Addresses Codex review on PR #12.
- search.php, 404.php, page-dev-pulse.php still rendered the old .entry markup
(entry-hash / entry-thumb) after index/archive moved to the new grid, so those
rows would misalign. Update all three to the date · author · title+excerpt ·
tags structure; drop the fake md5 hash; switch 404/dev-pulse AutoJack detection
from the bare meta flag to minimalcode_is_autojack() (also catches category /
author-2 posts).
- minimalcode_author_avatar_url() derived the AutoJack Gravatar from the post
author, but the Authorship checkbox (inc/post-types.php) flags a post without
changing post_author — a human-saved flagged post would show the human's
avatar. Resolve from the agent account via new filterable
minimalcode_autojack_user_id() instead.
- Update tests/theme-design-static.php markers (entry-hash → entry-author /
entry-excerpt) to match the new markup.
php -l clean; tests/theme-design-static.php passes; no entry-hash/entry-thumb
markup remains.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* fix(theme): keep copied code button legible in dark mode (Codex P3)
The copy button's `.copied` state used color:var(--ink) on background:var(--hot),
which in dark mode is cream-on-acid (~1.2:1) for the two-second confirmation. Add
it to the existing dark hot-fill override set so the text uses --paper (11.3:1),
matching the other hot-filled controls.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments