Skip to content

Redesign with a modern terminal theme#6

Merged
bennuttall merged 3 commits into
mainfrom
draft
Jun 8, 2026
Merged

Redesign with a modern terminal theme#6
bennuttall merged 3 commits into
mainfrom
draft

Conversation

@bennuttall

Copy link
Copy Markdown
Member

Replaces the HTML5UP/jQuery template with a custom terminal theme tailored to the existing content.

Highlights

  • Dark + light, monospace, honey/amber accent ("light editor" variant for light mode)
  • Hero shows the rotating joke in a terminal-style window (keeps js/pyjokes.js)
  • Header light/dark toggle that overrides the OS preference and persists in localStorage; toggling back to the system setting drops the override so it follows the OS again
  • Prose styles for the usage/API/story/society pages: Pygments code blocks, tables, images
  • Inline-SVG social icons; smooth-scroll via CSS

Cleanup

  • Drop FontAwesome, jQuery and the HTML5UP scripts; remove the now-unused webfonts/SASS/JS (keeps pyjokes.js)

Verification

  • beemo build succeeds with no errors; favicon, OG/Twitter meta and sitemap intact; joke generator works

🤖 Generated with Claude Code

bennuttall and others added 3 commits June 7, 2026 21:36
Replace the HTML5UP/jQuery template with a custom dark, monospace "terminal"
theme (honey/amber accent) tailored to the existing content.

- New layout/home/page templates and stylesheet
- Hero shows the rotating joke in a terminal-style window (keeps pyjokes.js)
- Prose styles for usage/API/story/society: Pygments code blocks, tables, images
- Inline-SVG social icons; smooth-scroll via CSS
- Drop FontAwesome, jQuery and the HTML5UP scripts; remove unused webfonts/SASS/JS

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add a header icon button to switch between light and dark themes, overriding
the OS preference and persisting the choice in localStorage.

- Restructure the palette: light is now the default, dark applied via
  data-theme or prefers-color-scheme (terminal styling adapts to both)
- Inline head script applies the saved theme before paint (no flash)
- Sun/moon icon reflects the current theme; nav background is theme-aware

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
When toggling to the mode that matches the OS setting, drop the override
(remove data-theme and the stored preference) so the site follows the system
again. An explicit choice is only kept while it differs from the OS.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bennuttall bennuttall merged commit 04096a2 into main Jun 8, 2026
1 check passed
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