Improve terminal and install block styling with semantic markup#93
Merged
Conversation
- Replace markdown fenced code block in terminal demo with raw HTML pre/code so it renders correctly inside the HTML div - Add colored $ prompts and comment styling to terminal demo - Restructure install block with separate rows per platform, labels aligned right, and a divider between them https://claude.ai/code/session_01MYdcAYyfMe1y2z764fACwx
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #93 +/- ##
=======================================
Coverage 23.82% 23.82%
=======================================
Files 16 16
Lines 4474 4474
=======================================
Hits 1066 1066
Misses 3408 3408 🚀 New features to boost your workflow:
|
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.
Summary
Enhanced the visual presentation and semantic structure of the installation instructions and terminal example sections on the homepage. This includes improved styling for terminal output with syntax highlighting and a redesigned install block with better layout and labeling.
Key Changes
Terminal styling improvements:
.terminal-commentclass for comment text styling (gray color #6e7681).terminal-promptclass for shell prompts with green color (#22c55e), non-selectable, and proper spacingInstall block redesign:
New install row structure:
.install-rowclass for flex-based layout of installation methods.install-labelclass for platform labels (macOS/Linux, Windows) with uppercase styling, right alignment, and consistent widthCode block styling:
Implementation Details
The changes maintain the dark theme aesthetic while improving readability and visual hierarchy. The terminal example now uses semantic HTML spans for proper syntax highlighting instead of relying on markdown code blocks, allowing for more granular styling control.
https://claude.ai/code/session_01MYdcAYyfMe1y2z764fACwx