📄 x.ai.md

← Vault

Design System: xAI

> Hermes Agent — Implementation Notes

>

> The original site uses proprietary fonts. For self-contained HTML output, use these CDN substitutes:

> - Primary: Geist Mono | Mono: Geist Mono

> - Font stack (CSS): font-family: 'Geist Mono', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

> - Mono stack (CSS): font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

> `html

>

> `

> Use write_file to create HTML, serve via generative-widgets skill (cloudflared tunnel).

> Verify visual accuracy with browser_vision after generating.

1. Visual Theme & Atmosphere

xAI's website is a masterclass in dark-first, monospace-driven brutalist minimalism -- a design system that feels like it was built by engineers who understand that restraint is the ultimate form of sophistication. The entire experience is anchored to an almost-black background (#1f2228) with pure white text (#ffffff), creating a high-contrast, terminal-inspired aesthetic that signals deep technical credibility. There are no gradients, no decorative illustrations, no color accents competing for attention. This is a site that communicates through absence.

The typographic system is split between two carefully chosen typefaces. GeistMono (Vercel's monospace font) handles display-level headlines at an extraordinary 320px with weight 300, and also serves as the button typeface in uppercase with tracked-out letter-spacing (1.4px). universalSans handles all body and secondary heading text with a clean, geometric sans-serif voice. The monospace-as-display-font choice is the defining aesthetic decision -- it positions xAI not as a consumer product but as infrastructure, as something built by people who live in terminals.

The spacing system operates on an 8px base grid with values concentrated at the small end (4px, 8px, 24px, 48px), reflecting a dense, information-focused layout philosophy. Border radius is minimal -- the site barely rounds anything, maintaining sharp, architectural edges. There are no decorative shadows, no gradients, no layered elevation. Depth is communicated purely through contrast and whitespace.

Key Characteristics:

Iteration Guide

1. Always start with #1f2228 background -- never use pure black or gray backgrounds

2. GeistMono for display and buttons, universalSans for everything else -- never mix these roles

3. All buttons must be GeistMono uppercase with 1.4px letter-spacing -- this is non-negotiable

4. No shadows, ever -- depth comes from border opacity and background opacity only

5. Borders are always white with low opacity (0.1 default, 0.2 for emphasis)

6. Hover behavior dims to 0.5 opacity rather than brightening -- the reverse of most systems

7. Sharp corners (0px) by default -- only use 4px for specific secondary containers

8. Body text at 16px universalSans with 1.5 line-height for comfortable reading

9. Generous section padding (48px-96px) -- let content breathe in the darkness

10. The monochromatic white-on-dark palette is absolute -- resist adding color unless critical for function