feat(docs): port terminal/editor chrome from marketing site#34
Merged
Conversation
Style code blocks in the CLI docs to match the archgate.dev marketing site aesthetic — dark title bars (#1a1a1a), macOS-style dots, #0f0f0f code backgrounds, flat design with no shadows, and matching scrollbar and selection colors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Port the three-panel visual showcase from archgate.dev into the docs landing page: ADR file + Rules file side-by-side, with terminal output below showing `archgate check` results. Replaces the plain directory tree with an interactive visual that demonstrates the full ADR-to-check flow. Includes pt-br translation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Astro scopes <style> selectors with a unique class, but spans injected via set:html don't receive it. Wrap hl-* selectors with :global() so they match the unscoped spans inside code panels. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use CSS custom properties with [data-theme] selectors for light/dark - Add not-content class to opt out of Starlight's prose styles that broke panel alignment - Set panel background so dark bg fills the entire window frame - Light palette: #f8f9fa bg, #eef0f2 chrome, darker syntax colors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Merged
rhuanbarreto
added a commit
that referenced
this pull request
Mar 3, 2026
* feat(docs): port terminal/editor window chrome from marketing site Style code blocks in the CLI docs to match the archgate.dev marketing site aesthetic — dark title bars (#1a1a1a), macOS-style dots, #0f0f0f code backgrounds, flat design with no shadows, and matching scrollbar and selection colors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat(docs): add "ADRs that enforce themselves" showcase section Port the three-panel visual showcase from archgate.dev into the docs landing page: ADR file + Rules file side-by-side, with terminal output below showing `archgate check` results. Replaces the plain directory tree with an interactive visual that demonstrates the full ADR-to-check flow. Includes pt-br translation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(docs): use :global() for set:html syntax highlight spans Astro scopes <style> selectors with a unique class, but spans injected via set:html don't receive it. Wrap hl-* selectors with :global() so they match the unscoped spans inside code panels. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(docs): add light mode support and fix panel alignment - Use CSS custom properties with [data-theme] selectors for light/dark - Add not-content class to opt out of Starlight's prose styles that broke panel alignment - Set panel background so dark bg fills the entire window frame - Light palette: #f8f9fa bg, #eef0f2 chrome, darker syntax colors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
rhuanbarreto
added a commit
that referenced
this pull request
Mar 4, 2026
* feat(docs): port terminal/editor window chrome from marketing site Style code blocks in the CLI docs to match the archgate.dev marketing site aesthetic — dark title bars (#1a1a1a), macOS-style dots, #0f0f0f code backgrounds, flat design with no shadows, and matching scrollbar and selection colors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat(docs): add "ADRs that enforce themselves" showcase section Port the three-panel visual showcase from archgate.dev into the docs landing page: ADR file + Rules file side-by-side, with terminal output below showing `archgate check` results. Replaces the plain directory tree with an interactive visual that demonstrates the full ADR-to-check flow. Includes pt-br translation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(docs): use :global() for set:html syntax highlight spans Astro scopes <style> selectors with a unique class, but spans injected via set:html don't receive it. Wrap hl-* selectors with :global() so they match the unscoped spans inside code panels. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(docs): add light mode support and fix panel alignment - Use CSS custom properties with [data-theme] selectors for light/dark - Add not-content class to opt out of Starlight's prose styles that broke panel alignment - Set panel background so dark bg fills the entire window frame - Light palette: #f8f9fa bg, #eef0f2 chrome, darker syntax colors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <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.
Summary
CodeShowcase.astrocomponent with scoped CSS matching the marketing site aesthetic (dark chrome, macOS dots, hand-crafted syntax highlighting)styleOverridesso all code blocks site-wide match the same visual languagecustom.cssfor accent colors, selection theming, and scrollbar stylingTest plan
cd docs && bun run build— verified locally, builds clean🤖 Generated with Claude Code