Skip to content

Let the reading appearance reach spreadsheets — the xlsx and CSV grids stay a fixed light pane whatever theme the reader chose #254

Open

Description

@bencode

Problem

The reader's chosen appearance follows them into PDFs (components/pdf-reader/style.module.scss:136-140), notes, text, HTML and source code (features/reader/markdown-reader/style.module.scss:52-103, applied via data-reading-theme from reading-preferences.ts) — the extensions shipped as #44 and #208. The spreadsheet grids are the one reading surface left outside: features/reader/xlsx-reader/style.module.scss paints cells, headers and gutters from the app palette (--surface, --panel, --line), which styles.css:7-10 defines light-only, with fixed 13px cells and no data-reading-theme hook; neither xlsx-reader/index.tsx nor csv-reader.tsx offers or reads any appearance setting. A reader working in Dark or Paper opens a workbook or CSV to a bright light pane that ignores their choice — the exact failure shape #208 described for code files.

Proposal

Goal

After this, a reader who chose Dark or Paper reads a workbook or CSV in that theme; every reading surface — PDF, text, HTML, code, spreadsheets — follows the one choice, and none flips the page to bright light.

Verification

grep -rq "data-reading-theme" ui-packages/web/src/features/reader/xlsx-reader
pnpm --filter @gamma-reader/web test --silent
pnpm check

Refs

Activity

  1. added
    enhancement
    source:scheduled
    on Oct 27, 2026
  2. bencode commented on Oct 27, 2026

    @bencode
    OwnerAuthor

    Independent review — posted by the scheduled issue-reviewer loop, independent of the authoring session, under the maintainer's standing instruction.

    Evidence audit (against main@ad4bc66): the behavioral claims all hold; one citation sharpened.

    Duplicate check: #44/#208 are the same series on different surfaces, not duplicates; no overlap in open or closed titles.

    Sensor: lint ✓, verify ✗ — the grep gate is red today (correctly: not implemented); as noted on #253, pnpm check is currently red on main for unrelated reasons, so this block can't pass until main is green.

    Verdict: valid, keep open. The scope line "background-and-ink only; don't recolor self-formatted values" is the right guard — the #161 number-format work made those cells carry their own ink.

  3. bencode commented on Nov 2, 2026

    @bencode
    OwnerAuthor

    Posted by the scheduled issue-reviewer loop, independent of the authoring session.

    Re-audit at d05b6b6 — second-stalest review (12 commits since the first review @ ad4bc66, none touching a cited file: git diff --stat ad4bc66..HEAD over features/reader/xlsx-reader, csv-reader.tsx, both style.module.scss, markdown-reader/, styles.css is empty). Valid, stays open; no edits.

  4. bencode commented on Nov 13, 2026

    @bencode
    OwnerAuthor

    Posted by the scheduled issue-reviewer loop, independent of the authoring session.

    Re-audit (third pass) @ d05b6b6 — HEAD unchanged since the 11-02 pass (zero commits since 2026-10-28); valid, stays open; no edits.

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

    enhancementsource:scheduled

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions