← Knowledge
standardsstandards/visual-identity

Visual Identity Standards

Scope

  • Applies when designing, styling, or unifying visual interfaces across web applications (Vue/SSG), PDF/Typst documents, technical diagrams, and static visual assets (favicons, OpenGraph cards).

Rules

Visual Philosophy & Dependency Discipline

  • Signal-to-Noise Discipline: Maintain a high signal-to-noise ratio using dark-first technical minimalism and crisp geometric framing.
  • Zero Heavy UI Frameworks: Never introduce heavy UI component frameworks (e.g., Vuetify, PrimeVue, Material UI, Bootstrap) without explicit user approval; prefer lightweight CSS tokens and semantic primitives.

Surface & Elevation Hierarchy

  • Three-Tier Dark Surface Ladder: Separate elevation levels using --bg-base (#0b0f19) -> --bg-surface (#111827 / translucent panel) -> --bg-elevated (#0f172a / interactive #1e293b).
  • Hairline Borders Over Heavy Shadows: Separate surfaces and containers with 1px hairline borders (rgba(255, 255, 255, 0.08) default, rgba(255, 255, 255, 0.16) hover) rather than heavy drop shadows.

Color & Contrast Discipline

  • Zero Ad-Hoc Colors: Never invent ad-hoc HEX or RGB values outside the brand-identity skill's tokens.json and its 1:1 CSS mapping in tokens.css.
  • Restrained Primary Accent: Use --accent-primary (#38bdf8 on dark, #0369a1 on light/print) sparingly for primary focus, active indicators, and key calls to action.
  • Strict Semantic States: Reserve --status-positive (#10b981), --status-warning (#fb923c), and --status-danger (#f43f5e) strictly for semantic status indicators.
  • WCAG AA Contrast: Enforce WCAG 2.1 AA contrast (>= 4.5:1 for body text, >= 3:1 for large text and UI controls) across both dark UI and light/print adaptations.

Typography

  • Font Pairing: Use sans-serif (Inter with system sans fallback) for prose, headings, and controls; use monospace (JetBrains Mono with system mono fallback) for code, identifiers, and CLI output.
  • Tabular Numerals: Enforce font-variant-numeric: tabular-nums on all numeric metrics, tables, and timestamps.

Layout, Framing & Motion

  • Geometric Grid & Radii: Use crisp geometry (4px–12px radii) aligned to a 4px spacing grid with 1px structural dividers.
  • Subtle Motion & Reduced Motion Support: Keep state transitions subtle (150ms–200ms) and always include @media (prefers-reduced-motion: reduce) handling to disable animations and transitions.

Brand Marks, Logos & Banners

  • Optical Wave & Interference Motif: Derive project marks, favicons, and repository hero banners from mathematical/optical wave line-art (concentric rings, dual-source wave interference arcs, flowing harmonic wave ribbons, hairline horizontal axes) on --bg-base (#0b0f19)—never cliché clipart (gears, rockets, shields, chunky 3D icons).
  • Core Motif Keywords: waves, interference, constructive interference, concentric wavefronts, harmonic ribbons.
  • UI Accent vs. Brand Artwork Separation: Reserve Sky Blue (#38bdf8 / #0284c7) for interactive UI focus, links, and buttons; use the luminous violet spectrum (semantic.brandMark: #c4b5fd → #8b5cf6 → #4c1d95) for dark logos, favicons, and hero banners, switching to #0f172a + #0369a1 (or solid monochrome #0f172a) for light/print outputs.
  • Wordmark Typography: Pair marks with understated, wide-tracked monospace (JetBrains Mono) or clean geometric sans (Inter, weight 600) in #f8fafc on dark (#0f172a in print), keeping text clear of busy overlapping lines.

Canonical Source of Truth

  • Treat the brand-identity skill (SKILL.md, tokens.json, and tokens.css) as the mandatory machine-readable source of truth for all visual values.