Command Palette

Search for a command to run...

Назад к скиллам
скилл № 83921

pan-style-guide

Overdeck dashboard UI style guide — canonical typography, color-signal semantics, badge formula, and color-restraint rules, for both the Ledger (legacy) and…

БесплатноБез исполняемых скриптов
eltmonот eltmon★ 36 звёзд на GitHub

Установить pan-style-guide в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Overdeck Style Guide (dev skill)

Sources of truth — read in this order

  1. The law: design/style-guide/STYLE-GUIDE.md (v2.0) — typography canon for both themes, color system, surfaces, radius/spacing scales, component specs, forbidden patterns. Everything below is a distillation; when in doubt, the guide wins.
  2. Visual reference: design/style-guide/mockups/system-map.html — the PAN-1148 unified-redesign system map; open in a browser. Section 05 · Color discipline is the signal-color table as live swatches; sections 02–03 show the surfaces and shared primitives composed. For the Broadsheet-specific vocabulary (display scale, chips, soft cards, keycap CTAs, dot-metadata lines), see design/style-guide/mockups/style-guide-v2.html — the working prototype the theme-scoped tokens and pattern recipes were ported from.
  3. Written tightening: docs/prds/planned/pan-dashboard-unified-redesign.md §4.5 ("Color & Style Discipline") — the PAN-1148 "Always means / Never used for" table now folded into the guide.
  4. Tokens: src/dashboard/frontend/src/index.css — the unscoped :root/.dark blocks (Ledger's untouched default), @font-face declarations, theme font tokens, the .display-xl/.display-lg/ .eyebrow Broadsheet utilities, and, after .dark closes, the PAN-3706 four-scope region carrying every color/surface/border/shadow/radius/ type/motion token plus the .chip/.soft-card/.large-cta/.keycap/ .dot-metadata component patterns, plus the grouped-list and switch-track classes .list-group-bar/.list-row/.list-meta/.switch-track-on/ .switch-track-locked — and src/dashboard/frontend/ tailwind.config.js (boxShadow, fontFamily.mono-ui, and the safelist entries for classes not yet consumed by any .tsx file). Conformance is exercised by tests/e2e/styleguide-conformance.spec.ts.

Themes: Ledger (legacy) vs. Broadsheet (default)

Overdeck ships two named design languages behind a single ui.theme setting (~/.overdeck/config.yaml, default broadsheet) and a data-theme attribute on <html> (independent of the .dark class, which carries light/dark color-scheme — the two axes never interact). Ledger is the pre-PAN-3410 style — DM Sans, flat font-medium cap, cool blue-gray neutrals, no display tier — now frozen: bug fixes only, never new patterns. Broadsheet is the active theme: Geist/Geist Mono, a tiered weight system, a display scale, and the new component vocabulary below — plus, as of PAN-3706, its own warm neutral color ramp, stepped surfaces, opaque borders, a shadow/elevation scale, a smaller base radius, 13px/1.6 body type, and an ambient-wash background in place of Ledger's noise film. Before PAN-3706 the color/ surface/elevation/radius/texture system was accidentally shared between both themes (a font-only migration); it is not anymore — see "Color, surface, and elevation now differ by theme" below.

The theme rule for new surfaces: author against the Broadsheet vocabulary (.display-xl, .display-lg, .eyebrow, chips, soft cards, keycap CTAs, dot-metadata lines) using the class names as given. Never write if (theme === 'broadsheet') or any other conditional-markup branch. This is not optional — a component that branches on theme is a style-guide violation regardless of which theme it produces correct output for.

Only three of those classes actually have a Ledger-safe fallback — they resolve to a scaled-down value at :root instead of being conditionally rendered, so a surface built from them degrades in scale and texture under Ledger but never breaks:

Broadsheet class Ledger-safe fallback
.display-xl text-xl font-medium
.display-lg text-lg font-medium
.eyebrow text-xs uppercase tracking-wider font-medium

Chips, soft cards, keycap CTAs, and dot-metadata lines have no Ledger fallback — no :root or [data-theme="ledger"] rule exists for them at all. This is authoring discipline, not a CSS or runtime guard: nothing detects or blocks their use under Ledger, they would just render unstyled (bare Tailwind utilities, no theming) if reached while Ledger is active. A component built with them is a Broadsheet-only component by construction; don't reach for them on a surface that must still render under Ledger.

Color, surface, and elevation now differ by theme (PAN-3706)

The color system is no longer identical between themes (it was, pre-PAN-3706 — see guide §2/§4). :root/.dark in index.css stay the untouched Ledger default; Broadsheet's real values live in a later region that overrides them per the four-scope contract below. What's still shared: signal-color semantics (what --destructive/--warning/etc. mean) and the badge tint formula (8%/32%). What now differs: the neutral ramp (warm HSL vs cool gray), --background/--card/--popover step apart under Broadsheet instead of collapsing t

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Read
  2. 02Bash

FAQ

Что делает скилл pan-style-guide?

Overdeck dashboard UI style guide — canonical typography, color-signal semantics, badge formula, and color-restraint rules, for both the Ledger (legacy) and Broadsheet (default) themes. Use whenever writing, reviewing, or mocking up dashboard frontend UI (components, badges, colors, fonts, status indicators, kanban cards, tree rows). Prevents the common violations: Inter as a font, bold/semibold outside its weight tier, pill badges, decorative color, green "running" agents, cyan misuse.

Как установить скилл pan-style-guide?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pan-style-guide запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pan-style-guide с