Skip to content

Commit 9df7c86

Browse files
jdxclaude
andauthored
feat: add VT323 retro terminal font and --usage branding (#443)
## Summary - Add VT323 font (retro terminal style) for hero title and navbar - Style title as "--usage" (CLI flag style) for consistent branding - Add green glow text effect to hero title - Update navbar title to use VT323 with green color ## Preview The hero and navbar now display "--usage" in the VT323 retro terminal font with a green glow effect, giving the site a CLI-authentic feel. 🤖 Generated with [Claude Code](https://claude.ai/code) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Introduces a CLI-themed visual refresh across the docs. > > - Rename site and hero titles to `--usage` in `config.mts` and `UsageHero.vue` > - Import VT323 font and style navbar title with VT323 and `--usage` green > - Restyle hero title: VT323 font, larger size, solid green color, glow text-shadow; tweak responsive sizing > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 5756c7c. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6740061 commit 9df7c86

3 files changed

Lines changed: 18 additions & 10 deletions

File tree

docs/.vitepress/config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const commands = getCommands(spec.cmd);
1616

1717
// https://vitepress.dev/reference/site-config
1818
export default defineConfig({
19-
title: "Usage",
19+
title: "--usage",
2020
description: "Schema for CLIs",
2121
appearance: "force-dark",
2222
lastUpdated: true,

docs/.vitepress/theme/UsageHero.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<!-- Left Column: Text -->
1616
<div class="usage-hero-text">
1717
<!-- Title -->
18-
<h1 class="usage-hero-title">Usage</h1>
18+
<h1 class="usage-hero-title">--usage</h1>
1919

2020
<!-- Tagline -->
2121
<p class="usage-hero-tagline">A specification for CLIs</p>

docs/.vitepress/theme/custom.css

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
/* Usage Docs Custom Theme */
2+
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
3+
4+
/* Navbar Title */
5+
.VPNavBarTitle .title {
6+
font-family: 'VT323', monospace;
7+
font-size: 1.5rem;
8+
color: var(--usage-green) !important;
9+
}
210

311
/* Color Palette - based on logo green */
412
:root {
@@ -123,15 +131,15 @@
123131

124132
/* Title */
125133
.usage-hero-title {
126-
font-size: 4rem;
127-
font-weight: 700;
134+
font-family: 'VT323', monospace;
135+
font-size: 5.5rem;
136+
font-weight: 400;
128137
margin: 0 0 0.5rem;
129138
padding: 0.2em 0;
130-
background: linear-gradient(135deg, var(--usage-green-light), var(--usage-green));
131-
-webkit-background-clip: text;
132-
-webkit-text-fill-color: transparent;
133-
background-clip: text;
134-
line-height: 1.2;
139+
color: var(--usage-green);
140+
line-height: 1;
141+
letter-spacing: 0.02em;
142+
text-shadow: 0 0 30px var(--usage-green-glow);
135143
}
136144

137145
/* Tagline */
@@ -317,7 +325,7 @@
317325
}
318326

319327
.usage-hero-title {
320-
font-size: 2.5rem;
328+
font-size: 3.5rem;
321329
}
322330

323331
.usage-hero-tagline {

0 commit comments

Comments
 (0)