Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计通过

anti-purple-ui反紫色用户界面

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

194

周安装

8

GitHub Stars

2

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:anti-purple-ui(反紫色用户界面)
来源仓库:https://github.com/blunotech-dev/agents
仓库路径:skills/anti-purple-ui
安装命令:
npx skills add https://github.com/blunotech-dev/agents --skill anti-purple-ui
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/blunotech-dev/agents --skill anti-purple-ui

简介

用于辅助界面设计、视觉规范与交互体验优化,倡导单色加一强调色的极简配色方案。

  • 强制全灰阶 UI 布局,仅允许一处重点色点缀,杜绝紫色渐变与多色眩光设计。
  • 提供 CSS 变量定义的色彩系统与字体层级指南,确保跨平台视觉一致性。
  • 涉及真实页面改动时需通过截图或浏览器预览检查文本溢出与对齐问题。
  • anti-purple-ui 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Anti-Purple UI

This skill enforces a strict monochrome-plus-one-accent color discipline. It exists to eliminate the default AI/SaaS aesthetic: purple gradients, blue-violet glows, teal-to-indigo sweeps, frosted glass with color tints, and multi-hued palettes masquerading as "minimal."


The Rule

Grayscale everywhere. One accent. No exceptions.

The entire UI is built from a neutral grayscale scale. A single accent color — chosen deliberately and used sparingly — provides all contrast and emphasis. Everything else is black, white, or gray.


Color System

Grayscale Scale (CSS variables — always define these)

:root {
  --color-bg:        #0a0a0a;  /* near-black background */
  --color-surface:   #141414;  /* card / panel surface */
  --color-border:    #2a2a2a;  /* subtle dividers */
  --color-muted:     #555555;  /* disabled, placeholder */
  --color-secondary: #888888;  /* secondary text */
  --color-primary:   #e0e0e0;  /* primary text */
  --color-white:     #f5f5f5;  /* headings, high-emphasis */

  /* For light-mode variants, invert the scale: */
  /* --color-bg: #f5f5f5; --color-white: #0a0a0a; etc. */
}

The Accent

Define one accent color. Pick it based on context and intended mood. Do not pick it arbitrarily — the choice should feel intentional.

:root {
  --color-accent: /* ONE color only */;
  --color-accent-dim: /* same hue, lower saturation/lightness for hover states */;
}

Good accent choices by mood:

Mood / ContextAccent
Brutal / industrial#ff3300 (raw red)
Technical / terminal#00ff41 (phosphor green)
Financial / serious#f0b429 (amber gold)
Editorial / print#e8113a (ink red)
Cold / clinical#00bfff (ice blue)
Luxury / minimal#c9a84c (warm gold)
Warning / urgent#ff6b00 (signal orange)
Scientific#7fff00 (chartreuse)

Forbidden accent choices (these ARE the AI aesthetic):

  • ❌ Purple (#7c3aed, #6366f1, #8b5cf6, any violet)
  • ❌ Blue-violet, indigo, lavender
  • ❌ Teal-to-indigo transitions
  • ❌ "Brand blue" (#3b82f6, #2563eb)
  • ❌ Pastel anything
  • ❌ Multiple accent colors ("just a secondary accent" — no)

Usage Rules

Accent is for emphasis only

The accent appears on:

  • The single most important interactive element (primary CTA button)
  • Active / selected state indicators
  • One key data point or metric that needs to stand out
  • Focused input borders
  • Progress / loading indicators

The accent does not appear on:

  • Backgrounds (other than tiny badges or pills)
  • Large surface areas
  • Decorative elements
  • More than ~10% of total visible UI area

No gradients. Period.

/* ❌ Never */
background: linear-gradient(135deg, #667eea, #764ba2);
background: linear-gradient(to right, var(--color-accent), purple);

/* ✅ Always */
background: var(--color-surface);
border-left: 3px solid var(--color-accent); /* accent as line, not fill */

No color shadows or glows

/* ❌ Never */
box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
text-shadow: 0 0 10px #7c3aed;

/* ✅ If shadows, always neutral */
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);

No frosted glass with tints

/* ❌ Never */
background: rgba(99, 102, 241, 0.1);
backdrop-filter: blur(12px);

/* ✅ If glass effect, neutral only */
background: rgba(255, 255, 255, 0.04);
backdrop-filter: blur(8px);
border: 1px solid var(--color-border);

Contrast & Accessibility

With a monochrome system, contrast must come from value, not hue. Ensure:

  • Body text (--color-primary) hits WCAG AA against --color-bg
  • Accent color on dark background hits WCAG AA (4.5:1 for text, 3:1 for UI components)
  • Don't rely on color alone to communicate state — use icons, labels, or weight changes too

Component Patterns

Buttons

/* Primary — the ONE place accent lives prominently */
.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);  /* or --color-white depending on accent lightness */
  border: none;
}

/* Secondary — monochrome only */
.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
}
.btn-secondary:hover {
  border-color: var(--color-primary);
}

Cards / Surfaces

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  /* Optional: accent left-border for featured/highlighted card */
}
.card--featured {
  border-left: 3px solid var(--color-accent);
}

Data / Stats

/* Accent only on the ONE metric that matters most */
.stat-value--primary { color: var(--color-accent); }
.stat-value--secondary { color: var(--color-white); }
.stat-label { color: var(--color-secondary); }

Light Mode Variant

Invert the scale and keep the same accent discipline:

:root[data-theme="light"] {
  --color-bg:        #f8f8f8;
  --color-surface:   #ffffff;
  --color-border:    #e0e0e0;
  --color-muted:     #b0b0b0;
  --color-secondary: #666666;
  --color-primary:   #1a1a1a;
  --color-white:     #0a0a0a;
  /* --color-accent stays the same */
}

Checklist Before Delivering

Before finalizing any UI built under this skill, verify:

  • Zero purple, violet, indigo, or teal-to-purple gradients anywhere
  • Exactly one accent color defined and used
  • Accent covers ≤10% of total visual area
  • No colored shadows or glows
  • No multi-stop gradients (single-color tints at low opacity are OK on surfaces)
  • All interactive states expressed through value/weight changes, not new colors
  • Background and surface colors are neutral grays/blacks/whites only
  • Frosted glass (if used) has no color tint

Working with frontend-design skill

This skill overrides the color section of frontend-design. Everything else in frontend-design (typography, layout, motion, spatial composition) still applies. When both are active:

  1. Read frontend-design for overall creative direction
  2. Apply this skill's color system as a strict constraint on top
  3. The accent color should be chosen to match the chosen aesthetic tone (e.g., a brutalist layout pairs well with raw red; an editorial layout with ink red or amber)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

31.64%
按下载量换算20

Claude

32.31%
按下载量换算20

Cursor

18.67%
按下载量换算12

Gemini CLI

8.63%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/blunotech-dev/agents --skill anti-purple-ui 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills