Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

erebos

bởi kleberbaum

Web & Frontend Development
391Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Erebos namespace for Netsnek e.U. dark theme and theming engine.

Mô tả

Kỹ năng này làm gì

Erebos is a dark theming engine for web applications. It generates WCAG-compliant color palettes, manages CSS variables and design tokens, and switches themes at runtime without reloading the page.

Erebos automates contrast validation and token export in one step, replacing manual palette work and separate accessibility checks.

Khi nào nên dùng

  • Adding dark mode to an existing web app
  • Generating accessible color palettes from seed colors
  • Exporting CSS variables for a design system
  • Previewing theme changes in the browser before committing
  • Validating contrast ratios against WCAG requirements

Quy trình ví dụ

ĐẦU VÀO

User asks: Generate a dark theme from my brand colors #1a1a2e and #16213e and export as CSS

AGENT
  1. 1

    Run theme-gen.sh with --palette flag and the two seed colors

  2. 2

    Compute contrast ratios and validate WCAG compliance for generated colors

  3. 3

    Launch --preview mode to display the palette in a local browser HTML page

  4. 4

    Run --export --format css to output the final CSS variable definitions

ĐẦU RA

A CSS file with :root[data-theme] variables for backgrounds, text, and accent colors, validated for accessibility

Cài đặt

clawhub install kleberbaum/erebos

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết