Skip to content
Design
Skill

/omd-shader-hero

One full-bleed launch hero in two inks from the project's DESIGN.md: the base color and exactly one brand color, as a slowly folding (or, with data-shape="ripple", rippling) ordered-dither (Bayer) field — a print/riso look, not a generic gradient. Two flat inks never blend, so

From plugin
oh-my-design
59644 skills27 agents1 MCP

Claude Code

$ npx -y skills add kwakseongjae/oh-my-design --skill omd-shader-hero --agent claude-code

SKILL.md

omd-shader-hero.SKILL.md
name: omd-shader-hero
description: "One full-bleed launch hero in two inks from the project's DESIGN.md: the base color and exactly one brand color, as a slowly folding (or, with data-shape="ripple", rippling) ordered-dither (Bayer) field — a print/riso look, not a generic gradient. Two flat inks never blend, so there is no mud. The copy sits on a hard-edged base-ink knockout, so headline and sub copy both clear 4.5:1 by construction, and a verify script measures it across the whole timeline. Reads Core v2 tokens (and Google-compatible frontmatter), refuses to invent a palette, ships a CSS halftone poster fallback, respects prefers-reduced-motion, ~7 KiB gzip of library JS. Use for a launch page, product hero, waitlist, event or rebrand first screen that needs motion in brand color. Triggers: '셰이더 히어로', '런칭 히어로', '디더링 배경', '리소 느낌 히어로', '브랜드 컬러 배경 애니메이션', 'dither hero', 'shader hero from DESIGN.md', 'launch hero background', 'riso print hero', 'シェーダーのヒーロー', '著陸頁主視覺 shader'. Whole scroll-native landing → omd-landing / omd-aphrodite. CJK headline ink effect → omd-cjk-type-shader. Brand tokens missing → omd-init first."
argument-hint: "<DESIGN.md path> [--scheme dark|light] — <headline + one line of sub copy>"
user-invocable: true

omd-shader-hero — one scene, two brand inks

A launch hero gets one look from someone who owes you nothing. Mesh gradients are the most generic shader look on the web, and blending two complementary brand hues turns them brown. This skill does the opposite: **two flat inks**, the base color and one brand color, printed as an ordered-dither field that folds slowly like light through a screen print. Every pixel is one ink or the other, so nothing blends and nothing goes muddy. The copy sits on a hard-edged knockout in the base ink, like a cut-out panel on a riso poster.

The script picks both inks, the text color and the contrast from `DESIGN.md`. No color is chosen by taste.

Working example: [`examples/hero.html`](./examples/hero.html), filled from the fictional [`examples/DESIGN.example.md`](./examples/DESIGN.example.md). Scripts: [`scripts/tokens.mjs`](./scripts/tokens.mjs) (inks + contrast), [`scripts/verify.mjs`](./scripts/verify.mjs) (real-render proof).

1. When to use / when not

Use when:

  • a launch, product, waitlist, event or rebrand page needs one first screen with motion;
  • the project has a `DESIGN.md` with a brand color and a dark (or light) base (Core v2 Foundations tokens, Foundations prose pairs, or Google-compatible `colors:` frontmatter);
  • a graphic, printed, confident look fits the brand.

Don't use when:

  • there is no DESIGN.md or no brand color. `tokens.mjs` exits 3 and you stop; run `omd-init` or ask. Never pick "nice" colors to fill the gap (unknown means absent);
  • the brand is soft, photographic or luxury-quiet. A dither field is loud. Use the brief's photography instead (tf-shaders "photo first");
  • the page needs several shader scenes. One scene, plus at most one small accent elsewhere (tf-shaders rule). For a whole scroll story use `omd-landing`.

2. Procedure

1. **Read tokens, don't choose them.**

   node <skill>/scripts/tokens.mjs DESIGN.md                 # prints the decision as JSON
   node <skill>/scripts/tokens.mjs DESIGN.md --scheme light  # light base instead of dark

The script reads three formats, in this order: `- **color.<role>**: \`#hex\`` tokens, `**Name** (\`#hex\`)` pairs inside the Foundations section, then frontmatter `colors:`. Then it:

  • drops state and utility roles (danger, error, warning, success, info, border, divider, focus, disabled, overlay, shadow, hover, pressed, active);
  • takes the darkest token as the **base ink** (the lightest for `light`);
  • takes **one brand ink**: the role named primary/brand if there is one, else the most saturated brand color, skipping any too close to the base.

2. **Text color is computed.** The script checks the text candidates (ink/neutral tokens at the opposite end of the scheme) against both inks and their midpoint and picks the best one. The copy then sits on an **opaque base-ink knockout**, so the bar it must clear is the text token on the base ink. With the fixture that is 18.8:1. If even that is under 4.5:1, the script warns: pick another text token. 3. **Write the hero.** Copy `examples/hero.html` (or port it, see §6) and fill it:

   node <skill>/scripts/tokens.mjs DESIGN.md --write path/to/hero.html

That rewrites the `#hero-vars` CSS block (`--hero-c0` base, `--hero-c1` brand, `--hero-text`, `--hero-scrim`, `--hero-scrim-a`) and the `#hero-tokens` JSON. 4. **Copy is real.** Headline + one sentence + one CTA. Use the user's actual product line. Never invent metrics, customers or investors (tf-shaders §0). 5. **Verify on a real GPU** (§5) and look at the frames at full size.

3. The scene and its two parameters

Paper's `ditheringFragmentShader`: `type = 4x4` (ordered Bayer), `colorBack` = base ink, `colorFront` = brand ink, and one of two field shapes chosen with `data-shape` on `.hero-scene`:

| `data-shape` | Field | Reads as | |---|---|---| | `warp` (default) | slow diagonal folds of brand light, scale 1 | a riso poster, energy at two corners | | `ripple` | concentric rings centered on the hero, behind the copy, scale 0.5 | a print with a center of gravity: the copy sits in the eye |

The shape is a choice of composition, not a third parameter: each shape's scale is fixed so its cells read at `px` 2–6, and an unknown value falls back to `warp`. Both shapes stay two flat inks (verified by pixel count, §5). Paper's other dithering shapes and its other shaders were left out: most blend the two colors at their edges, which breaks the rule this skill exists for.

| Param | Range | Default | What it does | |---|---|---|---| | `speed` (`data-speed`) | 0–1 | 0.3 | Drift of the folds. Above ~0.6 it reads as a screensaver. 0 freezes the field. | | `px` (`data-px`) | 2–6 CSS px | 3 | Dither cell size. 2 = fin

Read more
@kwakseongjae
Ships withoh-my-design

Give your AI coding agent a design system. One command installs 500+ quality-graded company DESIGN.md references + skills into Claude Code, Codex, Cursor, and OpenCode. Free, MIT, zero AI calls.

59644 skills27 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
596
Star history of kwakseongjae/oh-my-design on GitHub, a chart by star-history.com

Other skills on oh-my-design.

claude-design

claude-design

현재 코드베이스(또는 폴더)를 분석해 "디자인 컨텍스트 브리프"(스택/디자인 토큰/컴포넌트/ 라우트/실제 UI 카피/큐레이션된 에셋/레포 링크)를 합성하고, 그걸 Claude Design (claude.ai/design)에 자동으로…

hangul

hangul

Fixes the Korean (Hangul) that coding agents get wrong, in web UI and in documents of any length. Typography for web UI: line…

omd-add-reference

omd-add-reference

Reference catalog authoring compatibility gate. Core v2 cutover가 끝나기 전에는 신규 legacy DESIGN.md 쓰기를 차단하고 안전한 재개 조건을 설명한다.

omd-aphrodite

omd-aphrodite

Maximum-craft one-page landing — the wow bar. omd:landing 의 구조 위에 마감(서체 조달·그레인·깊이·색보정·스크롤 타임라인)과 최고급 에셋을 얹고, 랜딩 검사 전 항목 통과를 합격선으로…

omd-apply

omd-apply

프로젝트 DESIGN.md를 UI/시각 작업의 brand context로 적용. 컴포넌트·색상·폰트·레이아웃 수정 같은 구체적 요청과 톤·분위기 표현 — KR '좀 더 따뜻하게', EN 'make it warmer/cooler',…

omd-asset-fetch

omd-asset-fetch

사용자 product UI 생성 시 placeholder 자리를 generic SVG가 아닌 **실제 free-license CDN 자산**으로 채운다. 로고·일러스트·아이콘·사진·폰트·패턴 카탈로그를 verified URL만으로…

More skills from other plugins.

impeccable

impeccable

Use to design, redesign, critique, audit, polish or animate a frontend: websites, landing pages, dashboards, app UI, components,…

impeccable13d107k
@pbakaus@pbakausInstall Skill

Questions about omd-shader-hero.

Which coding agents can use omd-shader-hero?
omd-shader-hero installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.