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

Design System: Supabase

Hermes Agent — Implementation Notes

The original site uses proprietary fonts. For self-contained HTML output, use these CDN substitutes: - Primary: Inter | Mono: Source Code Pro - Font stack (CSS): font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; - Mono stack (CSS): font-family: 'Source Code Pro', 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=Source+Code+Pro: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

Supabase's website is a dark-mode-native developer platform that channels the aesthetic of a premium code editor — deep black backgrounds (#0f0f0f, #171717) with emerald green accents (#3ecf8e, #00c573) that reference the brand's open-source, PostgreSQL-green identity. The design system feels like it was born in a terminal window and evolved into a sophisticated marketing surface without losing its developer soul.

The typography is built on "Circular" — a geometric sans-serif with rounded terminals that softens the technical edge. At 72px with a 1.00 line-height, the hero text is compressed to its absolute minimum vertical space, creating dense, impactful statements that waste nothing. The monospace companion (Source Code Pro) appears sparingly for uppercase technical labels with 1.2px letter-spacing, creating the "developer console" markers that connect the marketing site to the product experience.

What makes Supabase distinctive is its sophisticated HSL-based color token system. Rather than flat hex values, Supabase uses HSL with alpha channels for nearly every color (--colors-crimson4, --colors-purple5, --colors-slateA12), enabling a nuanced layering system where colors interact through transparency. This creates depth through translucency — borders at rgba(46, 46, 46), surfaces at rgba(41, 41, 41, 0.84), and accents at partial opacity all blend with the dark background to create a rich, dimensional palette from minimal color ingredients.

The green accent (#3ecf8e) appears selectively — in the Supabase logo, in link colors (#00c573), and in border highlights (rgba(62, 207, 142, 0.3)) — always as a signal of "this is Supabase" rather than as a decorative element. Pill-shaped buttons (9999px radius) for primary CTAs contrast with standard 6px radius for secondary elements, creating a clear visual hierarchy of importance.

Key Characteristics: - Dark-mode-native: near-black backgrounds (#0f0f0f, #171717) — never pure black - Emerald green brand accent (#3ecf8e, #00c573) used sparingly as identity marker - Circular font — geometric sans-serif with rounded terminals - Source Code Pro for uppercase technical labels (1.2px letter-spacing) - HSL-based color token system with alpha channels for translucent layering - Pill buttons (9999px) for primary CTAs, 6px radius for secondary - Neutral gray scale from #171717 through #898989 to #fafafa - Border system using dark grays (#2e2e2e, #363636, #393939) - Minimal shadows — depth through border contrast and transparency - Radix color primitives (crimson, purple, violet, indigo, yellow, tomato, orange, slate)

2. Color Palette & Roles

Brand

Neutral Scale (Dark Mode)

Radix Color Tokens (HSL-based)

Surface & Overlay

Shadows

3. Typography Rules

Font Families

Hierarchy

Role Font Size Weight Line Height Letter Spacing Notes
Display Hero Circular 72px (4.50rem) 400 1.00 (tight) normal Maximum density, zero waste
Section Heading Circular 36px (2.25rem) 400 1.25 (tight) normal Feature section titles
Card Title Circular 24px (1.50rem) 400 1.33 -0.16px Slight negative tracking
Sub-heading Circular 18px (1.13rem) 400 1.56 normal Secondary headings
Body Circular 16px (1.00rem) 400 1.50 normal Standard body text
Nav Link Circular 14px (0.88rem) 500 1.00–1.43 normal Navigation items
Button Circular 14px (0.88rem) 500 1.14 (tight) normal Button labels
Caption Circular 14px (0.88rem) 400–500 1.43 normal Metadata, tags
Small Circular 12px (0.75rem) 400 1.33 normal Fine print, footer links
Code Label Source Code Pro 12px (0.75rem) 400 1.33 1.2px text-transform: uppercase

Principles

4. Component Stylings

Buttons

Primary Pill (Dark) - Background: #0f0f0f - Text: #fafafa - Padding: 8px 32px - Radius: 9999px (full pill) - Border: 1px solid #fafafa (white border on dark) - Focus shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px - Use: Primary CTA ("Start your project")

Secondary Pill (Dark, Muted) - Background: #0f0f0f - Text: #fafafa - Padding: 8px 32px - Radius: 9999px - Border: 1px solid #2e2e2e (dark border) - Opacity: 0.8 - Use: Secondary CTA alongside primary

Ghost Button - Background: transparent - Text: #fafafa - Padding: 8px - Radius: 6px - Border: 1px solid transparent - Use: Tertiary actions, icon buttons

Cards & Containers

Tabs

5. Layout Principles

Spacing System

Grid & Container

Breakpoints

Name Width Key Changes
Mobile <600px Single column, stacked layout
Desktop >600px Multi-column grids, expanded layout

Note: Supabase uses a notably minimal breakpoint system — primarily a single 600px breakpoint, suggesting a mobile-first approach with progressive enhancement.

Whitespace Philosophy

Border Radius Scale

6. Depth & Elevation

Level Treatment Use
Flat (Level 0) No shadow, border #2e2e2e Default state, most surfaces
Subtle Border (Level 1) Border #363636 or #393939 Interactive elements, hover
Focus (Level 2) rgba(0, 0, 0, 0.1) 0px 4px 12px Focus states only
Green Accent (Level 3) Border rgba(62, 207, 142, 0.3) Brand-highlighted elements

Shadow Philosophy: Supabase deliberately avoids shadows. In a dark-mode-native design, shadows are nearly invisible and serve no purpose. Instead, depth is communicated through a sophisticated border hierarchy — from #242424 (barely visible) through #2e2e2e (standard) to #393939 (prominent). The green accent border (rgba(62, 207, 142, 0.3)) at 30% opacity is the "elevated" state — the brand color itself becomes the depth signal.

7. Do's and Don'ts

Do

Don't

8. Responsive Behavior

Breakpoints

Name Width Key Changes
Mobile <600px Single column, stacked features, condensed nav
Desktop >600px Multi-column grids, full nav, expanded sections

Collapsing Strategy

9. Agent Prompt Guide

Quick Color Reference

Example Component Prompts

Iteration Guide

  1. Start with #171717 background — everything is dark-mode-native
  2. Green is the brand identity marker — use it for links, logo, and accent borders only
  3. Depth comes from borders (#242424 → #2e2e2e → #363636), not shadows
  4. Weight 400 is the default for everything — 500 only for interactive elements
  5. Hero line-height of 1.00 is the signature typographic move
  6. Pill (9999px) for primary actions, 6px for secondary, 8-16px for cards
  7. HSL with alpha channels creates the sophisticated translucent layering