Redesign with a modern terminal theme#6
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the HTML5UP/jQuery template with a custom terminal theme tailored to the existing content.
Highlights
js/pyjokes.js)localStorage; toggling back to the system setting drops the override so it follows the OS againCleanup
pyjokes.js)Verification
beemo buildsucceeds with no errors; favicon, OG/Twitter meta and sitemap intact; joke generator works🤖 Generated with Claude Code