# Yandex DESIGN.md

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

The dzen.ru portal served at yandex.ru — a clean personalized news and media feed built on translucent-ink neutrals, the signature Yandex yellow CTA, Stella Sans type, and generously rounded 12–20px cards.

- Website: https://yandex.ru
- Primary color: Yellow `#FFCC00`
- Fonts: Stella Sans
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/yandex

## Palette preview

- `error`: `#e64646`
- `outline`: `#e1e3e6`
- `primary`: `#ffcc00`
- `surface`: `#ffffff`
- `tertiary`: `#006be7`
- `secondary`: `#eff0f2`
- `on-primary`: `#06060f`
- `on-surface`: `#06060f`

## Typography preview

- `body-lg`: Stella Sans
- `body-md`: Stella Sans

---

## Overview

yandex.ru now opens directly into **Дзен (Dzen)** — Yandex's personalized news-and-entertainment feed — and the design is correspondingly calmer than a classic portal. A single icon sidebar, one pill search bar, and a soft gray canvas carry endless white cards: headlines with source avatars, currency tickers, video thumbnails, and ad units that share the same card language.

The personality is friendly and consumer-grade: generous 12–20px radii, no visible borders, ink-on-gray translucency instead of hard grays, and a single confident yellow action color. Imagery is photographic thumbnails inside rounded cards — never chrome, never decoration for its own sake.

## Colors

- **Yandex Yellow / Primary (#FFCC00):** Used exactly once per view — the "Найти" search button — so it reads instantly in a monochrome field. Always with near-black text.
- **Ink Gray / Secondary (#EFF0F2):** The system's workhorse fill (≈6% black ink `#000b21 @0.06`): the Войти button, search input, active tabs, sidebar selection pill, and chips.
- **Link Blue / Tertiary (#006BE7):** Inline links and "Подробнее"-style ad CTAs (stylesheet palette also carries the lighter VK blue `#2688EB`).
- **Loss Red / Error (#E64646):** Down-ticks in the currency strip and alert states only.
- **Ink (#06060F):** Primary text — deployed at 87% opacity for body and 60% (`on-surface-variant`) for secondary/meta, a signature translucent-ink pattern.
- **Surfaces:** White `#FFFFFF` cards on a `#F2F3F5` page tint; `#29292B` dark surfaces for video overlays, tooltips, and the AI assistant bubble.
- **Outline (#E1E3E6):** Rare hairlines — most grouping is tonal, not stroked.

## Typography

A single variable family, **Stella Sans**, carries the whole UI (system sans fallbacks). The scale is unusual: 16px is the base for both headlines and body, and weight — a fine-grained 590 "demi" — does most of the hierarchical work.

- **Headlines:** `headline-lg` 20px/700 for lead cards; `headline-md` 17px/600 for feed story titles.
- **Titles & tabs:** `title-md` 16px/590 — the signature semibold for section labels and the "Найти" button.
- **Body:** 16px/400 at two leading values (`body-md` 1.25 for lists, `body-lg` 1.375 for readable copy), tracked +0.003em.
- **Labels:** `label-lg` 15px/590 for buttons; `label-md` 13px/590 with −0.003em tracking for tabs and chips; `label-sm` 13px/400 for meta.
- **Caption:** 12px for timestamps and source names in 60% ink.

## Layout

Three-zone shell inside `container-max` 1440px: a slim icon+label sidebar, a fluid center feed (cards ≈460px wide in a multi-column masonry-ish flow), and a right rail for ads/promos. The header is a single centered pill search bar. Base unit 4px; card padding 12–16px; column gutters 16px; the news "Главное" block splits into a lead card + text-only headline column.

## Elevation & Depth

Essentially flat: no box-shadows were observed on cards. Hierarchy comes from the gray canvas vs. white cards and from translucent overlays (black at 48–70%) on media. Hover feedback is a tonal darkening of the ink-gray fills rather than lift.

## Shapes

Soft and consistent: cards at `xxl` 20px, buttons and inputs at `lg`/`md` (12px/10px), chips and the search bar fully `full`-pill, avatars always `50%` circles, and tiny 4px (`xs`) badges. The radius ladder is tight — avoid inventing intermediate values.

## Motion & Micro-interaction

Short, synchronized eases: 150ms `ease-in` for general state changes (`state-change`), 200ms `ease` for link color swaps (`color-change`), 150ms `ease-in-out` opacity+transform for popovers and feed reveals (`surface-enter`), and a fast 100ms accelerating exit (`surface-exit`). Nothing bounces; nothing exceeds ~300ms except rare 400–500ms drawer transforms.

## Voice & Content Strategy

- **Language:** All-Russian UI; terse single-word nav items (Главная, Подписки, Найти, Новости, Видео).
- **Buttons:** Infinitive verbs — "Найти", "Войти", "Подробнее"; sentence case.
- **Meta:** Source name + relative time ("РИА Новости · 3 часа назад"), tiny circular publisher icons.
- **Numbers:** Currency ticker `$ 81,93 € 89,86 ₽ 91,92` with red/green delta arrows; compact engagement counts (♥ 40 · 9 · 9487 views).
- **Ads:** Always labeled "Реклама" with a disclosure chip — never disguised as editorial cards.

## Components

- **`button-primary`:** Yellow 40px "Найти" — the page's only saturated element; 10px radius, 18px semibold label, sits attached inside the pill search field.
- **`button-secondary`:** 36px ink-gray Войти button, 12px radius, 15px/590 label, ~20px side padding.
- **`button-tertiary`:** White/light chip with blue 15px/590 text for ad CTAs like "Подробнее".
- **`input-search`:** Full-pill gray field, ~48px tall, magnifier + keyboard icons, yellow submit attached at right.
- **`nav-item`/`nav-item-active`:** Sidebar rows — 24px icon + 16px label; active state is a full-width gray pill (`secondary` fill, 12px radius).
- **`chip-tab`/`chip-tab-active`:** Topic tabs (Главное, США, Свежее…) — pill shape, 13px/590; selected fills with ink gray.
- **`card` / `card-media`:** 20px-radius white story cards (thumbnail + headline + source row) and dark `#29292B` video/tooltip surfaces.
- **`card-meta`:** 60%-ink 12–13px timestamps, sources, and view counts — the translucent signature.
- **`metric-down`:** Red semibold ticker deltas for falling currency values.

## Do's and Don'ts

- Do use Yandex Yellow `#FFCC00` for exactly one primary action per view — saturation is rationed by design.
- Do express hierarchy through ink opacity (87% / 60%), not through extra gray hexes.
- Do keep cards borderless on the gray canvas; add `#E1E3E6` hairlines only inside dense lists.
- Do keep publisher avatars circular and meta rows at 60% ink.
- Don't use heavy weights below 590 or above 700 — the voice lives in the 400/590/700 triad.
- Don't introduce shadows, gradients, or outlined buttons; the system is tonal.
- Don't let ad units deviate from the card language — same radius, same padding, explicit "Реклама" label.
