Skip to content

docs: add DESIGN.md — Lazy Scholar, Refined design system#9

Merged
vikranthreddimasu merged 1 commit into
mainfrom
claude/priceless-chandrasekhar-6263dc
Apr 17, 2026
Merged

docs: add DESIGN.md — Lazy Scholar, Refined design system#9
vikranthreddimasu merged 1 commit into
mainfrom
claude/priceless-chandrasekhar-6263dc

Conversation

@vikranthreddimasu

Copy link
Copy Markdown
Owner

Summary

Establishes DESIGN.md as the documented source of truth for Offline Notebook LM's visual language. Evolves the existing apps/desktop/src/design-system/tokens.css direction ("Lazy Scholar") rather than starting over.

Generated via the /design-consultation skill after research across NotebookLM, Obsidian, Granola, Reflect, Mem, Raycast, Cursor, and Linear, plus an outside design-voice subagent.

What changed

  • New DESIGN.md at repo root — full design system spec with rationale, decisions log, and implementation notes
  • Updated CLAUDE.md — appended a "Design System" section pointing future visual/UI work at DESIGN.md and flagging off-palette code in QA

The three design risks this documents

  1. Instrument Serif italic display face — used at 36–80px for welcome hero, document titles, and empty states. Every other RAG tool uses a grotesque for everything; we don't. This is the single biggest visual differentiator.

  2. Dual-accent color system — sage #7c9a82 stays as primary action, new warm amber #d9925a becomes the citation/grounding color. A third semantic, dusty slate #6b7a8f, signals low-confidence retrievals. Rationale: users should see at a glance which parts of an answer are grounded vs synthesized.

  3. Hierarchical radius — retires the blanket 999px pill for inputs, cards, and modals. Pills stay for buttons, tags, and status. Fixes a real visual problem where everything in the UI currently reads as the same shape family.

What's NOT in this PR

  • tokens.css is untouched. The spec lands first, the code changes follow in a separate implementation pass. Reviewers don't need to re-test the running app for this PR.
  • No new dependencies. Fonts load via Bunny Fonts (or self-host later).

Test plan

  • Read DESIGN.md end-to-end for clarity and coherence
  • Confirm the rationale in the Decisions Log matches what reviewers expect
  • Sanity-check the color hex values in the palette section render as described
  • Verify CLAUDE.md "Design System" section reads as expected
  • Preview HTML (generated locally at /tmp/notebook-lm-design-preview-*.html) visually confirms the system — not checked in, regenerate with /design-consultation if needed

Follow-ups (separate PRs)

  • Implement token changes in apps/desktop/src/design-system/tokens.css (new amber + slate vars, hierarchical radius, display text scale)
  • Add font loading in apps/desktop/index.html (Instrument Serif + Plus Jakarta Sans + Geist Mono via Bunny Fonts)
  • Build the .cited component in chat rendering so the typographic citation treatment actually ships

🤖 Generated with Claude Code

Establishes the documented source of truth for Offline Notebook LM's design
language, evolving the existing tokens.css direction without breaking it.

Key additions:
- Dual-accent system: sage (your action) + amber (citation/grounding) +
  slate (uncertainty) — three distinct signals, no overlap
- Instrument Serif italic for display (welcome hero, document titles,
  empty states) — the editorial signature that sets this apart from every
  other RAG tool using a grotesque for everything
- Hierarchical radius scale, retiring the blanket 999px pill for inputs,
  cards, and modals. Pill stays for buttons, tags, and status
- Typographic citation pattern: cited sentences render with a thin amber
  left-rule + small mono '[N]' marker, instead of footnote chips
- CLAUDE.md pointer so future visual/UI work reads DESIGN.md first

Tokens file (apps/desktop/src/design-system/tokens.css) is untouched by
this commit — the spec lands first, the code changes follow in a separate
implementation pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vikranthreddimasu vikranthreddimasu merged commit be54d10 into main Apr 17, 2026
0 of 2 checks passed
@vikranthreddimasu vikranthreddimasu deleted the claude/priceless-chandrasekhar-6263dc branch April 17, 2026 22:56
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