# UI Color Palette for Claude

**UI Color Palette for Claude** is a [Claude Code](https://code.claude.com) plugin that brings the full color system workflow into your AI-assisted development environment — from generating source colors to pushing tokens to Figma, Penpot, Framer, or Sketch.

## The 4-phase workflow

```
Source → Palette → Deploy → Manage
```

| Phase           | What it does                                                                          | Skills                                                     |
| --------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| **1 · Source**  | Generate source colors from an image, a prompt, a harmony, or a design tool selection | `generate-source-colors`                                   |
| **2 · Palette** | Build a shade scale, define a semantic token system, audit contrast                   | `scale-palette`, `build-color-system`, `audit-palette`     |
| **3 · Deploy**  | Push to design tools or export as code                                                | `generate-code`, `generate-semantic-code`, platform skills |
| **4 · Manage**  | Browse, publish, share, update, and delete community palettes                         | `manage-palettes`                                          |

## Installation

```bash
claude /plugin install github:a-ng-d/claude-ui-color-palette
```

On first enable, the plugin prompts for optional credentials — Penpot token, Framer MCP URL, GitLab instance URL. These can be skipped and configured later via `/plugin config`.

## Quick start

```
# Get a full walkthrough
/ui-color-palette:help

# Generate source colors from a mood description
/ui-color-palette:generate-source-colors a warm forest at dusk

# Build a Tailwind palette from source colors
/ui-color-palette:scale-palette tailwind-v4

# Export to CSS with OKLCH
/ui-color-palette:generate-code css oklch

# Audit contrast compliance
/ui-color-palette:audit-palette

# Push to Figma
/ui-color-palette:figma variables

# Browse community palettes
/ui-color-palette:manage-palettes
```

## Prerequisites

Some platform integrations require external setup:

| Platform      | Requirement                                                                                   |
| ------------- | --------------------------------------------------------------------------------------------- |
| Figma Desktop | Run Figma desktop with MCP enabled                                                            |
| Penpot        | Provide your user token via `/plugin config`                                                  |
| Framer        | Install the [MCP plugin](https://www.framer.com/marketplace/plugins/mcp/) and provide the URL |
| Sketch        | Enable MCP in Sketch preferences                                                              |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ui-color-palette.com/claude/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
