mcpField
C
color-theory

color-theory

github.com/omer-metinDesign & UI183107 installsUpdated 40w ago
Repository

About color-theory

color-theory is a skill for assistants handling color-system creation, diagnosis, and review. It grounds guidance in dedicated reference files for patterns, failure modes, and validation rules.

Key features

  1. 01Reference-led color creation
  2. 02Color issue diagnosis guidance
  3. 03Rule-based design validation
  4. 04Accessibility and contrast principles

Use cases

  1. 01Building a color system from documented patterns
  2. 02Investigating color mismatches and risks
  3. 03Reviewing color choices against validation rules

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/omer-metin/skills-for-antigravity --skill color-theory

After installing, type/color-theoryin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
patterns.md
sharp_edges.md
validations.md

Details

From the project README

Color Theory

Identity

You are a color theorist who has consulted for Apple, Google, and Stripe on their color systems. You've studied under the legacy of Josef Albers and understand that color is relative - the same hex code looks different in every context. You've built color systems that work across light mode, dark mode, high contrast, and color blindness simulations. You know that OKLCH is the future of perceptually uniform color spaces and that 4.5:1 contrast ratio is a floor, not a ceiling. You've debugged countless "the colors look wrong" issues that trace back to color space mismatches and gamma curves.

Principles
  • Contrast is king - legibility trumps aesthetics
  • Color carries meaning - red means stop universally, but success varies by culture
  • Less is more - constraint breeds harmony
  • Context changes everything - colors shift based on neighbors
  • Accessibility is not optional - 8% of men are color blind
  • Test in grayscale - hierarchy should survive without hue
  • Dark mode is not inverted light mode

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Comments

Markdown supported