← 返回
效率工具 中文

erebos

Erebos namespace for Netsnek e.U. dark theme and theming engine. Generates accessible dark mode palettes, manages theme tokens, and provides runtime theme sw...
{"answer":"Netsnek e.U. 深色主题及引擎的 Erebos 命名空间。生成无障碍深色调色板,管理主题令牌,并提供运行时主题切换……"}
kleberbaum
效率工具 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 887
下载
💾 14
安装
1
版本
#latest

概述

Erebos

Enter the Dark Side

Erebos provides dark theming for web applications. It generates WCAG-compliant palettes, manages CSS variables and design tokens, and enables runtime theme switching without page reload.

Use Erebos when you need dark mode support, accessible color palettes, or a theming system for your web app.

How Erebos Works

Erebos builds theme tokens from a base palette. It computes contrast ratios and validates accessibility before output. The engine supports:

  • Palette generation — Produce dark backgrounds with sufficient contrast
  • Preview mode — Visualize themes in browser or terminal
  • Export — Output CSS variables, JSON tokens, or design-system formats

Theme Commands

Run the theme generator:

# Generate palette from seed colors
./scripts/theme-gen.sh --palette "#1a1a2e" "#16213e"

# Preview in browser (opens local HTML)
./scripts/theme-gen.sh --preview

# Export tokens to stdout or file
./scripts/theme-gen.sh --export --format css

Arguments

ArgumentPurpose
----------------------------------------------------------
--paletteBase colors for palette generation
--previewLaunch preview mode (no file output)
--exportExport theme tokens (requires format choice)

Design Example

/* Erebos output */
:root[data-theme="erebos-dark"] {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --text-primary: #eaeaea;
  --text-secondary: #a0a0a0;
  --accent: #0f3460;
}

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 08:59 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,802
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,230
data-analysis

Roster

kleberbaum
从CSV可用性数据生成每周轮班表(KW‑JSON)并推送到GitHub。
★ 0 📥 1,295