Skip to content

feat: Night and Super Night theme modes#55

Open
on22s wants to merge 1 commit into
Finrandojin:devfrom
on22s:feature/night-super-night-themes
Open

feat: Night and Super Night theme modes#55
on22s wants to merge 1 commit into
Finrandojin:devfrom
on22s:feature/night-super-night-themes

Conversation

@on22s

@on22s on22s commented Jun 4, 2026

Copy link
Copy Markdown

Summary

  • Adds Night and Super Night dark theme modes alongside the existing light theme, toggled via a new #theme-toggle button in the navbar that cycles through all three modes
  • Cherry-picks 22 commits from origin/main that had diverged from this branch, integrating: batch multi-file text/EPUB → script generation, cancellable single-file script gen, GPU/disk navbar monitor, TTS VRAM benchmark, Auto-Configure TTS batch button, Dataset Preparer tab, ROCm 7.x fixes, and thread+Queue non-blocking subprocess refactor
  • All conflicts from the cherry-pick were manually reviewed and resolved (no blind ours/theirs decisions)

Test plan

  • Server starts cleanly from app/ directory (uvicorn app:app)
  • GET /api/system/stats returns live GPU + disk data
  • Batch script generation (POST /api/generate_script/batch/start) runs a real .txt file through the LLM pipeline end-to-end and saves output to scripts/
  • Double-submit guard returns 400 correctly
  • Empty tasks array returns 400 correctly
  • Missing file in batch skips gracefully (status: failed, no crash)
  • Single-file cancel endpoint returns correct 400 when nothing is running
  • Night and Super Night CSS present in served HTML (45 theme-related matches)
  • Manual browser test: cycle theme button, batch file picker, GPU monitor refresh

🤖 Generated with Claude Code

Adds a three-way theme toggle (Light / Night / Super Night) to the
navbar. The chosen theme is persisted in localStorage and applied
before first paint to eliminate flash-of-unstyled-content.

- CSS custom properties cover all surfaces (cards, inputs, modals,
  tables, alerts, Bootstrap bg utilities) so every existing component
  picks up the theme without per-element edits
- Super Night is a near-black OLED-friendly palette
- Toggle button cycles Light → Night → Super Night → Light
- M4B options panel migrated from `var(--bs-light)` to
  `var(--bg-card-header)` so it stays readable in dark modes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@on22s on22s changed the base branch from main to dev June 5, 2026 12:19
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