Skip to content

Commit a15b170

Browse files
committed
docs(web): sync social preview design tokens
1 parent 2bb4c7f commit a15b170

1 file changed

Lines changed: 21 additions & 16 deletions

File tree

‎packages/web/DESIGN.md‎

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
# LazyCodex Design System
22

33
## 1. Core Philosophy
4-
- **Codex-tone Luminous Backdrop**: The page uses a dark navy canvas (`#14154d`) with a centered, glowing card.
5-
- **Card-in-Canvas Architecture**: The main content lives inside a 1200x630px card with a complex radial gradient, mimicking the OpenGraph image.
4+
- **Codex-tone Luminous Backdrop**: The page uses a near-black canvas (`#0a0a0a`) with a centered, glowing teal card.
5+
- **Card-in-Canvas Architecture**: The main content lives inside a 1200x630px card with a complex radial gradient, and the OpenGraph image mirrors that HTML card instead of using a separate visual language.
66
- **Typography**: Clean, geometric sans-serif (Geist Sans) for the wordmark and tagline, with monospace (Geist Mono) for eyebrows and footers.
77

88
## 2. Color Palette
9-
- `--surface-base`: `#14154d` (Dark navy canvas)
10-
- `--card-base`: `#2a2dbf` (Card base color)
11-
- `--brand-core`: `#5a5fef` (Gradient core)
12-
- `--brand-mid`: `#3236c4` (Gradient mid)
13-
- `--brand-outer`: `#232897` (Gradient outer)
9+
- `--surface-base`: `#0a0a0a` (Near-black canvas)
10+
- `--card-base`: `#0E1115` (Panel and hero card base)
11+
- `--brand-core`: `#008385` (Teal gradient core)
12+
- `--brand-mid`: `#006668` (Gradient mid)
13+
- `--brand-outer`: `#004d4e` (Gradient outer)
1414
- `--text-primary`: `#ffffff` (White)
15-
- `--text-secondary`: `#dcdcf8` (Light lavender)
16-
- `--text-tertiary`: `#b9bce6` (Muted lavender)
15+
- `--text-secondary`: `#99A1AF` (Muted gray)
16+
- `--text-tertiary`: `#8A93A2` (Soft gray)
1717
- `--text-muted`: `rgba(255, 255, 255, 0.72)` (Translucent white)
18-
- `--text-soft`: `#e8e8ff` (Soft white)
18+
- `--text-soft`: `#E4FFFF` (Soft cyan-white)
19+
- `--accent-cyan`: `#87F0F2` (Primary accent)
20+
- `--accent-teal`: `#008385` (Secondary accent)
21+
- `--accent-mint`: `#B3FEFF` (Highlight accent)
22+
- `--accent-glow`: `#ABF5F7` (Glow accent)
1923

2024
## 3. Typography Scale
2125
- **Wordmark**: `clamp(64px, 12vw, 168px)`, medium weight, tight tracking (`-0.03em`).
@@ -29,15 +33,15 @@
2933
- **Outer Elements**: The canvas may carry small co-brand labels outside the card when needed, but the current public landing page leads with installable Codex setup instead of launch timing.
3034

3135
## 5. Gradients & Effects
32-
- **Base Gradient**: Radial gradient from `#5a5fef` to `#232897`.
36+
- **Base Gradient**: Radial gradient from `#008385` through `#006668` and `#004d4e` into `#0a0a0a`.
3337
- **Beam**: Screen blend mode, soft white light pouring from top-left.
3438
- **Sheen**: Screen blend mode, diagonal linear gradients with blur.
35-
- **Pools**: Screen blend mode, subtle violet pools at bottom-left and top-right.
39+
- **Pools**: Screen blend mode, subtle teal/cyan pools at bottom-left and top-right.
3640
- **Grain**: Overlay blend mode, SVG fractal noise.
3741

3842
## 6. Co-brand layer (Sisyphus Labs)
3943

40-
Sisyphus Labs colors are used as accents across the landing page while the navy Codex card stays the hero centerpiece.
44+
Sisyphus Labs colors are used as accents across the landing page while the black/teal Codex card stays the hero centerpiece.
4145

4246
- **Cyan**: `#87F0F2`
4347
- **Teal**: `#008385`
@@ -63,8 +67,8 @@ The landing page is a single scrollable document with the following sections, to
6367
- "Docs" link
6468
- "by Sisyphus Labs" co-brand
6569

66-
2. **Hero navy card**
67-
- Eyebrow: "LAZYCODEX AI"
70+
2. **Hero luminous card**
71+
- Eyebrow: "CODEX FOR NO-BRAINERS"
6872
- H1 wordmark
6973
- Tagline: "You don't need to ultrathink. / Just prompt {your prompt} ultrawork."
7074
- The `{your prompt}` placeholder uses Geist Mono and pulses subtly
@@ -112,7 +116,8 @@ The landing page is a single scrollable document with the following sections, to
112116

113117
## 9. Image pipeline
114118

115-
- **Boulder art**: Generated via `imagegen` on a chroma background, keyed to alpha so it composites cleanly on the navy canvas without a visible bounding box
119+
- **OpenGraph / Twitter card**: `app/opengraph-image.tsx` and `app/twitter-image.tsx` use `next/og` and inline the same black/teal tokens, gradient layers, wordmark, tagline, `{your prompt}` pill, URL, and install command seen in the HTML hero.
120+
- **Boulder art**: Generated via `imagegen` on a chroma background, keyed to alpha so it composites cleanly on the dark canvas without a visible bounding box
116121
- **Delivery format**: Served as AVIF / WebP / PNG via a `<picture>` element using the `BrandImage` component
117122
- **Dimensions**: Explicit `width` and `height` attributes on every image to prevent CLS
118123
- **Favicon / app-icon**: The simplified boulder mark from the sticky header is the canonical site icon so browser chrome, pinned tabs, and the in-page wordmark read as one identity:

0 commit comments

Comments
 (0)