Skip to content

Commit b8f9341

Browse files
tianzhouclaude
andcommitted
Add org + product banners; split logo into dark/light sets
- Add landscape org banner (public/banner.svg/.png) showing all four products under the pgplex umbrella, mirroring the site's framed card + neon-backlight language. - Add per-product banners that spotlight one product (own neon hue, hero mark, tagline, description, tags, CTA) while keeping the other three in a right-hand rail: banner-pgconsole / pgschema / pgtui / pgparser. - Split every logo asset into a symmetric dark/light pair with matching names: logo, logo-full, wordmark, and the logo raster each get -dark (silver/gray ramps for the near-black site) and -light (graphite->black / near-black ramps for light backgrounds). - Point the favicon (layout.tsx) and <Logo> (logo.tsx) at the -dark assets; update DESIGN.md to document the dark/light pairing. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 1aae223 commit b8f9341

21 files changed

Lines changed: 638 additions & 33 deletions

DESIGN.md

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ by `spacing.frame`: a wide bloom (`blur(60px)`) and a tight tube
151151
descriptions, badges, footer. Line-height 1.6. The mono texture is the
152152
"developer tool" voice of the site.
153153
- **Wordmark — Space Grotesk 600**: exists only as outlined paths inside
154-
`public/wordmark.svg` and `public/logo-full.svg`. No wordmark webfont is
155-
loaded at runtime; never re-typeset "pgplex" as live text.
154+
`public/wordmark-dark.svg` and `public/logo-full-dark.svg`. No wordmark
155+
webfont is loaded at runtime; never re-typeset "pgplex" as live text.
156156

157157
## Layout
158158

@@ -190,25 +190,32 @@ box-shadows.
190190

191191
### Logo & lockup
192192

193-
- `public/logo.svg` — the mark: four grayscale triangles converging on a
194-
hollow center — four products multiplexed into one hub; the negative space
195-
between the shards forms the ✕ of "plex". Each shard is a quadrant triangle
196-
of the square shrunk about its own incenter, so all three edges retreat
197-
equally and the diagonal channels are a uniform 8 units. Gradient:
198-
`umbrella-gray` on the standard diagonal.
199-
- `public/wordmark.svg` — "pgplex" as Space Grotesk 600 outlines
200-
(HarfBuzz-shaped, tracking −0.025em), filled with a **vertical**
201-
`silver-hi → silver-lo` gradient — vertical so every letter shades the same
202-
and none goes dark.
203-
- `public/logo-full.svg` — the lockup with alignment baked in: at font-size
204-
80 (in 120-unit icon space) the word's ascender-to-descender band spans
205-
24..96, centered on the mark's 21..99 silhouette with the x-height midline
206-
on the mark's center; the word's ink starts 32 units right of the mark's
207-
edge. Always use this asset for mark + name; never rebuild the lockup in
208-
CSS or nudge it with transforms.
209-
- `public/logo.png` (512px) is the favicon raster of the mark. Regenerate
210-
after any change: `rsvg-convert -w 512 -h 512 public/logo.svg -o
211-
public/logo.png`.
193+
Every logo asset ships as a **dark/light pair** with matching names: the
194+
`*-dark.svg` set uses the light silver/gray ramps tuned for the near-black site
195+
surface, and the `*-light.svg` set swaps in dark graphite→black / near-black
196+
ramps for white and light backgrounds. Use the dark set on the site; reach for
197+
the light set only on light surfaces.
198+
199+
- `public/logo-dark.svg` / `public/logo-light.svg` — the mark: four grayscale
200+
triangles converging on a hollow center — four products multiplexed into one
201+
hub; the negative space between the shards forms the ✕ of "plex". Each shard
202+
is a quadrant triangle of the square shrunk about its own incenter, so all
203+
three edges retreat equally and the diagonal channels are a uniform 8 units.
204+
Dark uses `umbrella-gray` on the standard diagonal; light uses
205+
`#5c5c5c → #333 → #0d0d0d`.
206+
- `public/wordmark-dark.svg` / `public/wordmark-light.svg` — "pgplex" as Space
207+
Grotesk 600 outlines (HarfBuzz-shaped, tracking −0.025em), filled with a
208+
**vertical** gradient (dark: `silver-hi → silver-lo`; light:
209+
`#2b2e34 → #0e1013`) — vertical so every letter shades the same.
210+
- `public/logo-full-dark.svg` / `public/logo-full-light.svg` — the lockup with
211+
alignment baked in: at font-size 80 (in 120-unit icon space) the word's
212+
ascender-to-descender band spans 24..96, centered on the mark's 21..99
213+
silhouette with the x-height midline on the mark's center; the word's ink
214+
starts 32 units right of the mark's edge. Always use this asset for mark +
215+
name; never rebuild the lockup in CSS or nudge it with transforms.
216+
- `public/logo-dark.png` / `public/logo-light.png` (512px) are the mark
217+
rasters (dark is the site favicon). Regenerate after any change, e.g.
218+
`rsvg-convert -w 512 -h 512 public/logo-dark.svg -o public/logo-dark.png`.
212219

213220
### Product icons
214221

@@ -251,4 +258,4 @@ GitHub octicon + tabular-nums count, brightens to `ink` on hover.
251258
- **Don't** use product colors for chrome, body text, or other products'
252259
surfaces; the neon backlight is the only place all four blend.
253260
- **Don't** re-align or re-space the logo lockup with CSS — alignment lives
254-
in `logo-full.svg`.
261+
in `logo-full-{dark,light}.svg`.

public/banner-pgconsole.png

130 KB
Loading

public/banner-pgconsole.svg

Lines changed: 120 additions & 0 deletions
Loading

public/banner-pgparser.png

125 KB
Loading

0 commit comments

Comments
 (0)