8000 The page: Literata, a reading measure and the Status line · Issue #63 · kiran-brahma/writing-tool · GitHub
[go: up one dir, main page]

Skip to content
< 8000 link rel="modulepreload" href="https://github.githubassets.com/assets/15084-7dabdb8fc3bcd274.js" crossorigin="anonymous" />

The page: Literata, a reading measure and the Status line #63

Closed

Description

@kiran-brahma

Parent

#57 — Spec: Obelus v1.3, the page and the mark

What to build

The page. The Writer's prose is set in Literata — bundled into the build and served from Obelus's own origin, Georgia as fallback — at about 18px, held to a measure of about 68 characters and centred. The Document title moves into the column in the same family. The toolbar aligns with the column and drops Undo and Redo; Markdown shortcuts keep working. A Status line beneath the prose shows the word count at every width. Everything that is the tool's rather than the Writer's stays in the system sans.

Stories 192–200.

Ac 8000 ceptance criteria

  • No request leaves the browser for a font (network panel), and the CSP is unchanged.
  • Prose lines stay near 68 characters at 1440px and wider.
  • With the font blocked, prose renders in Georgia.
  • The title edits in place in the column, commits on blur or Enter, as today.
  • Toolbar has headings, bold, italic, inline code, lists and quote; no Undo/Redo; ⌘Z still works.
  • The Status line shows the word count and updates as the Writer types.
  • Checked by eye in both schemes at 1024 and 1440px.

Blocked by

Activity

  1. kiran-brahma commented on Sep 26, 2026

    @kiran-brahma
    OwnerAuthor

    Done in #83 (merged into v1.3). Literata (OFL, @fontsource-variable/literata) bundled by Vite and served from Obelus's origin — no off-origin request, CSP unchanged; prose at 18px/1.6 on a ~68-character measure (measured 61–71, mean 66.9 at 1440–2560px); title in the column; toolbar without Undo/Redo (Ctrl+Z works); a sticky Status line with the word count, which has left the Document menu (Import and Export only). "Status line" added to CONTEXT.md.

    Not verified here: Georgia as the fallback (not installed in the container; fallback went to the system serif), ⌘Z on a Mac, and 375px. The Status line updates after the existing one-second typing pause, not per keystroke.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentSpec is ready for an agent to implement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0