Skip to content

Demo page: show the 2.0 patterns it was missing - #55

Merged
evangress merged 1 commit into
mainfrom
demo-page-update
Nov 14, 2026
Merged

evangress merged 1 commit into
mainfrom
demo-page-update

Conversation

@evangress

Copy link
Copy Markdown
Collaborator

The demo page (the GitHub Pages site) now shows the TagBrush.css 2.0 patterns, each in the section it belongs to:

  • Top of page: skip link; the page nav in <header data-layout="sticky"> with a <details> Guides dropdown.
  • Typography: label above a heading, pull quote with avatar, new-tab/PDF/download links. Lists: steps. Navigation: user menu (popover), pagination.
  • Media: picture beside text, logo row. Buttons: icon in a button with a popover="hint" + interestfor tooltip. Forms: choice cards.
  • Disclosure: chevron, easing, printing; the phone bottom sheet and scroll lock in the dialog text.
  • Article grids: plans with prices and a featured card, icon feature cards, testimonials, post cards. App patterns: tabs, status badges. Tables: selectable rows, right-aligned <data> numbers.
  • New part, Chat and AI output: compact density, a reasoning <details>, citations.
  • Stale text fixed: size is about 12 KB gzipped (it said 8.5), --color-surface is near-neutral.

Left out: patterns that only work at page level (this page sits in a container): reading width, phone menu, hero, full-width bands, sidebar layout, footer columns and similar. Also chat messages (scoped build), video embeds, Markdown alerts.

Tests: two <details> tests now scope to #showcase ~ details, since the header dropdown is the page's first <details>; the two demo screenshot baselines are regenerated. 520 passed locally in Chromium and WebKit. TagCheck --browser: 0 errors. The 23 --strict warnings are the page's own layout classes and theme builder, unchanged by this PR.

🤖 Generated with Claude Code

Sticky top bar with a details dropdown and a skip link; label above a
heading, pull quote with avatar, new-tab/PDF/download links; steps; user
menu and pagination; picture beside text and logos; icon button with a
popover=hint tooltip; choice cards; plans with prices and a featured card,
feature icons, testimonials, post list; tabs and status badges; selectable
rows with right-aligned data; chat output (compact density, reasoning,
citations). Size stated as about 12 KB. Details tests now scope to the
showcase, since the top bar has a details first; demo baselines updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@evangress
evangress merged commit 2eaa5cb into main Nov 14, 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