feat(reading): polish typography, externalize CSS
Critique-directed polish of the reading surface (#72 ruling: pipeline calm, surface not-calm) plus the single-user typography rework: - Flow: leading 1.5, paragraph gap tightened; heading ladder rescaled (h1 1.15x / h2 0.85x / h3 body-face semibold) with cling margins, hN+hN suppression, no title dead space - Constructs: confident blockquote (near-ink text, 3px rail, nesting degrades), booktabs tables, tinted code panels, relative inline code - Fonts hardcoded for Alexander's faces: Valkyrie OT B 17 body, Concourse OT Semibold headings, UbuntuMono 14 code; 66ch measure - Stylesheet moved to Museion/Resources/reading.css, read fresh per page build — Debug builds load the repo copy (#filePath), so CSS edits hot-reload on the next reading toggle - Settings Typography/Text Flow sections and all flow-key plumbing deleted (56 insertions, 417 deletions) Refs #72, #78. Detector: 192 findings -> 0. Build + 93 tests green. [Generated by AI]
This commit is contained in:
1 parent
eae86dd2ef
commit
4cb753d17f
9 files changed
+134
-417
No files matched your search
@@ -89,7 +89,7 @@ nonisolated enum ProsePresenter {
|
||||
[.font: ProseTypography.headingFont, .paragraphStyle: paragraph(.heading1)]
|
||||
case .heading2:
|
||||
[
|
||||
.font: ProseTypography.headingFont(size: (ProseTypography.headingFont.pointSize * 0.77).rounded()),
|
||||
.font: NSFont(name: "ConcourseOT6Semibold", size: (ProseTypography.headingFont.pointSize * 0.77).rounded()) ?? ProseTypography.headingFont,
|
||||
.paragraphStyle: paragraph(.heading2),
|
||||
]
|
||||
case .quote, .syntaxOnly, .body: bodyAttributes
|
||||
|
||||
Reference in new issue
Block a user