跳到正文
TakoAPI
返回技能列表

erebos

由 kleberbaum 提供

Web & Frontend Development
391下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

安装

clawhub install kleberbaum/erebos

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接