# Cosmos DESIGN.md

> Public preview. The complete DESIGN.md source (all 90 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

A warm, image-first design system for a visual-inspiration platform. Near-black pill CTAs, a chalky warm-gray canvas, oversized grotesque headlines with tight tracking, and fully rounded shapes let user-saved imagery carry all the color.

- Website: https://cosmos.so
- Primary color: Black `#0D0D0D`
- Fonts: cosmosOracle
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/cosmos

## Palette preview

- `error`: `#bd3c1f`
- `paper`: `#f7f5f3`
- `outline`: `#000000`
- `primary`: `#0d0d0d`
- `surface`: `#ffffff`
- `secondary`: `#0700ff`
- `on-primary`: `#ffffff`
- `on-surface`: `#0d0d0d`

## Typography preview

- `body-lg`: cosmosOracle
- `body-md`: cosmosOracle

---

## Overview

Cosmos is a visual-discovery platform — "your space for inspiration" — aimed at designers, stylists, and creative teams who save fashion, interior, art, and branding references into collections. The interface is a quiet gallery wall: a warm, chalky off-white canvas scattered with rounded image tiles, interrupted only by near-black pill CTAs and one confident grotesque headline.

The personality is calm, curated, and fashion-adjacent. The chrome is monochrome on purpose — every drop of color in the product comes from user-saved imagery. Shapes are maximally soft (pill buttons, pill search, 16px-radius cards), which against the warm paper background reads friendly and tactile rather than technical. Density is low: wide gutters, generous card padding, and a single focal element per view.

## Colors

- **Primary — Ink (#0D0D0D):** A near-black warm charcoal used for all primary buttons ("Sign up", "Join Cosmos for free", "Follow"), headlines, and high-emphasis text. Cosmos almost never uses pure `#000`.
- **Secondary — Electric Blue (#0700FF):** A saturated ultramarine reserved for verified badges, accent buttons, and small interactive markers — used sparingly so it reads as a signature.
- **Surface (#FFFFFF) / Surface Container (#F2F1F0) / Surface Container Low (#FCFBFA) / Paper (#F7F5F3):** A warm-gray ladder. Marketing pages float white cards over the chalky `#F2F1F0` canvas; app surfaces invert the order (white grid background, `#F7F5F3`-family tiles behind unloaded images).
- **On Surface (#0D0D0D) / Variant (#6E6A69) / Tertiary (#9A9796):** Warm-gray text ramp — charcoal for titles, mid warm-gray for handles/metadata, light warm-gray for inactive tabs and placeholders.
- **Outline (#0000001F):** A 12%-black hairline on pills, search bars, and floating controls — never a hard gray line.
- **Error (#BD3C1F / #EF7759):** A burnt orange-red (Cosmos's "critical" orange) for destructive and flagged content. **Success (#007A3B)** and **Warning (#956400)** appear only in system feedback.

## Typography

Everything is set in **cosmosOracle**, Cosmos's bespoke grotesque (400/500/700 loaded; 300/350 exist in the token table). The voice is editorial: big, tightly tracked headlines over quiet, slightly negative-tracked body text.

- **Display (72px/700, -0.04em, lh 1.0):** Landing hero only — "Find your next go-to outfit". Massive, black, centered.
- **Headline LG (48px/500, -0.04em):** Section headers ("Build your world, your way", "Discover what's next"), often in medium rather than bold weight for a calmer register.
- **Headline MD / Title (26px & 20px/500, -0.04em):** Card groups and feature titles.
- **Body (20px/16px/14px, -0.02em):** 20px for feature descriptions and search text, 16px for nav and metadata, 14px for secondary copy.
- **Labels (15px/14px/12px, 500):** Button and chip text — medium weight, slight negative tracking, sentence case.

## Layout

- **Canvas:** Fluid full-bleed with 32px horizontal padding (`--layout-padding-horizontal`); the header bar is 56px inside a 92px padded band.
- **Hero:** Centered composition — display headline, pill search (~640px max), single CTA — floating over a scattered field of rotated image tiles that extends to the viewport edges.
- **Grids:** Masonry/column layouts of image "elements" with ~4px gaps; collection covers are 3-up image strips inside a rounded container.
- **Section rhythm:** ~80px vertical separation; feature cards run in a horizontal scroll row.
- **Filter rail:** A single-line horizontal tab list (Featured / Fashion / Interiors / …) — text items with a pill highlight on the active one.

## Elevation & Depth

Depth is restrained: hairline `rgba(0,0,0,0.12)` outlines do most of the separating. Cards and floating controls carry a very soft `0 1px 8px rgba(0,0,0,0.05)`; popovers and the app-download card step up to `0 2px 12px rgba(0,0,0,0.02) + 0 4px 16px rgba(0,0,0,0.1)`. An inset white top-highlight (`inset 0 1px 1.5px rgba(255,255,255,0.7)`) gives pill controls a subtle pressed-glass finish. Never use hard drop shadows on image tiles.

## Shapes

- **Pills are the default:** every button, the search bar, filter chips, icon buttons, and toggles are fully rounded (`full` = 999px+, rendered as an effectively infinite radius).
- **Image tiles & cards:** `lg` 16px radius on element thumbnails and marketing cards; `md` 12px on collection containers and smaller surfaces.
- **Squircles in miniature:** `xs` 3px for the smallest chips/tags.
- The overall effect is "soft pebble" — nothing on the page ends in a sharp corner except full-bleed sections.

## Motion & Micro-interaction

Motion follows Material-style standard easing with two registers: fast state changes (`all 150ms cubic-bezier(0.4, 0, 0.2, 1)` — color/opacity/hover), and emphasized movement for transforms (`400ms cubic-bezier(0, 0, 0.2, 1)` — the decelerate curve used on tile hover, translate, and scale). Slower 500–700ms variants animate filter/grid-reflow and hero entrances. Keyframed loops exist but are ambient: the hero tile field drifts, brand-name marquees scroll (`marquee-left`/`marquee-right`), and loading indicators pulse. Tiles lift with a slight scale on hover — keep it under 1.05×. Honor `prefers-reduced-motion` for all marquees and the drifting hero field.

## Voice & Content Strategy

- **Tone of voice:** Warm, encouraging, and brief — a curator whispering, not a salesperson shouting. Sentences are short and benefit-led ("Find inspiration in the exact shade you have in mind.").
- **Capitalization:** Sentence case everywhere — headlines ("Build your world, your way"), buttons ("Join Cosmos for free"), nav items.
- **Terminology:** "Elements" for saved items, "collections" for groups of elements, "clusters" for collaborative spaces, "Cosmos" never "the Cosmos". Feature names are plain verbs: "Search by color", "Find similar elements", "Hide AI".
- **Button labels:** Verb-first outcome phrases ("Join Cosmos for free", "Explore Cosmos", "Save", "Follow", "Get the app"). Sign-up uses "Sign up"; login is "Log in".
- **Prompts & placeholders:** Search placeholders suggest queries conversationally ("Try 'monochromatic digital art'", "Search for outfits").
- **Restraint:** No exclamation marks, no emoji, no feature jargon — product capabilities are stated as what you can do, not how it works.

## Components

- **Primary button** (`button-primary`): ink `#0D0D0D` pill, white 15px medium label, 48–56px tall, 24px horizontal padding; hover lightens to `#232323`. One per view.
- **Secondary button** (`button-secondary`): `#F2F1F0` pill, dark label, same geometry; hover deepens to `#E8E6E4`. Outlined floating variant swaps the fill for white + hairline.
- **Accent button** (`button-accent`): electric-blue `#0700FF` pill for the rare promoted action.
- **Search bar** (`search-bar`): a 64px white pill with a `rgba(0,0,0,0.12)` outline, leading magnifier, 20px placeholder text, and trailing camera + rainbow color-wheel actions inside the same capsule.
- **Element card** (`card-element`): a 16px-radius image tile, white backing; overlay actions (Save pill, like) appear on hover over a scrim.
- **Collection card** (`card-collection`): 3-image strip cover in a rounded container, title in 16px below, `@handle` + element count in warm gray.
- **Filter chip** (`chip-filter`): plain 16px text in a horizontal rail; the active item gets a `#F2F1F0` pill backdrop — no borders.
- **Header nav** (`nav-header`): transparent bar, logomark (nine-dot asterisk) + text links left, "Log in" text + black "Sign up" pill right.
- **Profile card:** circular avatar, name + `@handle` stacked, black "Follow" pill below.
- **Badges:** small filled-circle glyphs — blue check for verified accounts, "AI" and "Suggestive" chips as gray pills over imagery.

## Do's and Don'ts

- Do keep every interactive element a full pill; if it has corners, it's an image tile, not a control.
- Don't introduce additional accent colors — the palette is warm neutrals + ink + the one electric blue.
- Do let imagery supply the color; keep chrome monochrome (warm grays, white, ink).
- Don't use pure black `#000` for text or buttons — the system's ink is `#0D0D0D`.
- Do track headlines tightly (-0.04em) and keep body tracking slightly negative (-0.02em); never letter-space labels positively.
- Don't place more than one ink pill-CTA per view — secondary actions use the gray pill or text links.
- Do use the 12%-black hairline (never a solid gray line) when a pill or floating surface needs definition.
- Don't add heavy shadows — depth comes from soft 4–16px blurs at ≤10% opacity plus hairlines.
- Do keep marketing copy to one short line per feature; the product speaks through imagery.
- Don't square off avatars, chips, or the search capsule — roundness is the brand's signature.
