← Về thư mục
📄 / / root / .hermes / profiles / glv-director / skills / creative / popular-web-designs / templates / raycast.md

Design System: Raycast

Hermes Agent — Implementation Notes

The original site uses proprietary fonts. For self-contained HTML output, use these CDN substitutes: - Primary: Inter | Mono: Geist Mono - Font stack (CSS): font-family: 'Inter', 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 <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet"> 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

Raycast's marketing site feels like the dark interior of a precision instrument — a Swiss watch case carved from obsidian. The background isn't just dark, it's an almost-black blue-tint (#07080a) that creates a sense of being inside a macOS native application rather than a website. Every surface, every border, every shadow is calibrated to evoke the feeling of a high-performance desktop utility: fast, minimal, trustworthy.

The signature move is the layered shadow system borrowed from macOS window chrome: multi-layer box-shadows with inset highlights that simulate physical depth, as if cards and buttons are actual pressed or raised glass elements on a dark desk. Combined with Raycast Red (#FF6363) — deployed almost exclusively in the hero's iconic diagonal stripe pattern — the palette creates a brand that reads as "powerful tool with personality." The red doesn't dominate; it punctuates.

Inter is used everywhere — headings, body, buttons, captions — with extensive OpenType features (calt, kern, liga, ss03) creating a consistent, readable typographic voice. The positive letter-spacing (0.2px–0.4px on body text) is unusual for a dark UI and gives the text an airy, breathable quality that counterbalances the dense, dark surfaces. GeistMono appears for code elements, reinforcing the developer-tool identity.

Key Characteristics: - Near-black blue-tinted background (#07080a) — not pure black, subtly blue-shifted - macOS-native shadow system with multi-layer inset highlights simulating physical depth - Raycast Red (#FF6363) as a punctuation color — hero stripes, not pervasive - Inter with positive letter-spacing (0.2px) for an airy, readable dark-mode experience - Radix UI component primitives powering the interaction layer - Subtle rgba white borders (0.06–0.1 opacity) for containment on dark surfaces - Keyboard shortcut styling with gradient key caps and heavy shadows

2. Color Palette & Roles

Primary

Secondary & Accent

Surface & Background

Neutrals & Text

Semantic & Accent

Gradient System

3. Typography Rules

Font Family

Hierarchy

Role Size Weight Line Height Letter Spacing Notes
Display Hero 64px 600 1.10 0px OpenType: liga 0, ss02, ss08
Section Display 56px 400 1.17 0.2px OpenType: calt, kern, liga, ss03
Section Heading 24px 500 normal 0.2px OpenType: calt, kern, liga, ss03
Card Heading 22px 400 1.15 0px OpenType: calt, kern, liga, ss03
Sub-heading 20px 500 1.60 0.2px Relaxed line-height for readability
Body Large 18px 400 1.15 0.2px OpenType: calt, kern, liga, ss03
Body 16px 500 1.60 0.2px Primary body text, relaxed rhythm
Body Tight 16px 400 1.15 0.1px UI labels, compact contexts
Button 16px 600 1.15 0.3px Semibold, slightly wider tracking
Nav Link 16px 500 1.40 0.3px Links in navigation
Caption 14px 500 1.14 0.2px Small labels, metadata
Caption Bold 14px 600 1.40 0px Emphasized captions
Small 12px 600 1.33 0px Badges, tags, micro-labels
Small Link 12px 400 1.50 0.4px Footer links, fine print
Code 14px (GeistMono) 500 1.60 0.3px Code blocks, technical content
Code Small 12px (GeistMono) 400 1.60 0.2px Inline code, terminal output

Principles

4. Component Stylings

Buttons

Cards & Containers

Inputs & Forms

Image Treatment

Keyboard Shortcut Keys

Badges & Tags

5. Layout Principles

Spacing System

Grid & Container

Whitespace Philosophy

Border Radius Scale

6. Depth & Elevation

Level Treatment Use
Level 0 (Void) No shadow, #07080a surface Page background
Level 1 (Subtle) rgba(0, 0, 0, 0.28) 0px 1.189px 2.377px Minimal lift, inline elements
Level 2 (Ring) rgb(27, 28, 30) 0px 0px 0px 1px outer + rgb(7, 8, 10) 0px 0px 0px 1px inset inner Card containment, double-ring technique
Level 3 (Button) rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset + rgba(255, 255, 255, 0.25) 0px 0px 0px 1px + rgba(0, 0, 0, 0.2) 0px -1px 0px 0px inset macOS-native button press — white highlight top, dark inset bottom
Level 4 (Key) 5-layer shadow stack with inset press effects Keyboard shortcut key caps — physical 3D appearance
Level 5 (Floating) rgba(0, 0, 0, 0.5) 0px 0px 0px 2px + rgba(255, 255, 255, 0.19) 0px 0px 14px + insets Command palette, floating panels — heavy depth with glow

Shadow Philosophy

Raycast's shadow system is the most macOS-native on the web. Multi-layer shadows combine: - Outer rings for containment (replacing traditional borders) - Inset top highlights (rgba(255, 255, 255, 0.05–0.25)) simulating light source from above - Inset bottom darks (rgba(0, 0, 0, 0.2)) simulating shadow underneath - The effect is physical: elements feel like glass or brushed metal, not flat rectangles

Decorative Depth

7. Do's and Don'ts

Do

Don't

8. Responsive Behavior

Breakpoints

Name Width Key Changes
Mobile <600px Single column, stacked cards, hamburger nav, hero text reduces to ~40px
Small Tablet 600px–768px 2-column grid begins, nav partially visible
Tablet 768px–1024px 2–3 column features, nav expanding, screenshots scale
Desktop 1024px–1200px Full layout, all nav links visible, 64px hero display
Large Desktop >1200px Max-width container centered, generous side margins

Touch Targets

Collapsing Strategy

Image Behavior

9. Agent Prompt Guide

Quick Color Reference

Example Component Prompts

Iteration Guide

When refining existing screens generated with this design system: 1. Check the background is #07080a not pure black — the blue tint is critical 2. Verify letter-spacing is positive (+0.2px) on body text — negative spacing breaks the Raycast aesthetic 3. Ensure shadows have both outer and inset layers — single-layer shadows look flat and wrong 4. Confirm Inter has OpenType features calt, kern, liga, ss03 enabled 5. Test that hover states use opacity transitions (0.6) not color swaps — this is a core interaction pattern