Skip to content

Opinion page: typographic lead, Features kickers, hairlines between pieces - #186

Closed
anthonysantiago-eng wants to merge 1 commit into
decemberfrom
claude/project-thread-gy3oob
Closed

anthonysantiago-eng wants to merge 1 commit into
decemberfrom
claude/project-thread-gy3oob

Conversation

@anthonysantiago-eng

Copy link
Copy Markdown
Collaborator

Requested by Anthony · project thread

A light pass on top of 9011c45 so Opinion reads like News and Features. It doesn't touch the layout model, the editor or the schema.

What changes

  • A real lead. Column 1's first slot gets a 30–38px regular-weight headline and its full summary. Its photo shows only when the slot's image is switched on. Before this, every card used the same 28px headline, so the page had no entry point. Most opinion pieces have no photo, so the headline size has to be what marks the lead.
  • Quieter labels. Opinion types ("Staff Editorial", "Column") now use the Features kicker: 12px, semibold, with wide tracking. At 15px medium, the red labels were competing with the headlines. Headlines are regular weight at 23–24px, as on Features, and summaries are clamped to three lines.
  • Hairlines between pieces. On phones and computers, a rule separates consecutive stories in a column, as in the Features rail. Without photos, whitespace alone made a column read as one long block. Tablets keep plain space, because a rule could land at the top of a flowing column.
  • Tablets. The lead spans the page, and the next story sits beside the author carousel.
  • Opinion's Choice. Its label and titles now use the same kicker style and weight as the rest of the page.
  • docs/opinion-section.md is updated to match.

Checks

  • pnpm lint and pnpm typecheck pass.
  • Checked visually against a local seed (db:seed:opinion) at desktop, tablet and phone widths, in light and dark mode.

Generated by Claude Code

…en pieces

- Column 1's first story is the page's lead: 30-38px regular-weight
  headline and full summary, photo only when its slot has one. Most opinion
  pieces run without a photo, so type sets the entry point.
- Opinion types use the Features kicker (12px semibold, wide tracking);
  headlines drop to regular weight at 23-24px, summaries clamp at three lines.
- Hairline rules between consecutive stories in a column (phones and
  computers), so text-only runs read as separate pieces.
- Tablets: the lead spans the page and the next story sits beside the
  author carousel.
- Opinion's Choice label and titles match the new kicker and weight.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TTjZzR3Vyrb5Q2Up7F7J7K
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