Skip to content

feat(theme): restore the original palette as the Classic theme#82

Open
tridha643 wants to merge 3 commits into
mainfrom
restore-graphite-theme
Open

feat(theme): restore the original palette as the Classic theme#82
tridha643 wants to merge 3 commits into
mainfrom
restore-graphite-theme

Conversation

@tridha643

@tridha643 tridha643 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Restores the original sideshow palette (warm paper / ink) as a selectable theme named Classic — the look that existed before the theme picker landed (commit 746b7e0).
  • Reconstructed exactly from the pre-picker sources: chrome vars from viewer/src/styles.css and the agent-facing --color-* tokens from server/surfacePage.ts at 746b7e0^. Syntax highlighting uses github-light / github-dark, matching the original markdown/diff rendering.

How it looks

Classic selected in the picker (dark): warm #1f1e1b chrome, ink-on-paper text, the original blue/green/amber/red accents.

Note on the data model

The pre-picker styles defined three border levels; the current Palette collapses them to two (border + border2), so the html-part --color-border-primary resolves to the old border-secondary value rather than the old 0.4 primary. Every visible chrome color matches the original exactly.

Test plan

  • npm run typecheck (node + workers + viewer)
  • npm test (theme suite + full run pass)
  • npm run lint / npm run format:check
  • Visually confirmed in the running viewer: picker shows Classic, chrome + mermaid + markdown + comments all re-theme to the warm palette

🤖 Generated with Claude Code

tridha643 and others added 2 commits June 19, 2026 17:07
A neutral cool-grey theme joins the board picker, with light and dark
palettes derived from one Palette each like the other presets.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replace the placeholder Graphite preset with the exact pre-theme-picker
palette (warm paper / ink), reconstructed from styles.css + surfacePage
tokens at commit 746b7e0^. shiki github-light/github-dark, matching the
original markdown/diff highlighting.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@tridha643 tridha643 changed the title feat(theme): add Graphite theme preset feat(theme): restore the original palette as the Classic theme Jun 19, 2026
@tridha643 tridha643 requested a review from benvinegar June 19, 2026 21:12
First-time loads (no stored setting) now resolve to Classic; an explicit
pick is still persisted per board and takes precedence. themeById falls
back to the configured default instead of the first registry entry.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@benvinegar

Copy link
Copy Markdown
Member

So my issue is the classic theme doesn't have a good matching shiki code syntax theme - and without both, if you render diffs and code blocks on the same page it looks bad.

Find a better fit than github-dark, show some screenshots of everything on one page, then can evaluate properly.

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