# Brand Colours & Reference Design to Website Tokens

> Standardize site-wide visual identity by converting brand assets and references into accessible CSS token systems.

Brand Colours & Reference Design to Website Tokens is a free AI agent skill on Agensi by Siyakha Digital by Thebe Ramathebane, in UX & UI Design. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Siyakha Digital by Thebe Ramathebane](https://www.agensi.io/creators/thebe-ramathebane)
- Category: [UX & UI Design](https://www.agensi.io/skills/ux-ui-design)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/brand-colours-reference-design-to-website-tokens
- Tags: ui-ux, css-variables, design-systems, accessibility, web-design

## About this skill

Generic website layouts and inconsistent styling alienate users. This skill transforms vague brand inputs or reference designs into a rigorous, accessible design system. It moves beyond superficial "re-skinning" by extracting existing CSS variables, mapping reference components to actual content, and codifying everything into a unified token system.

### What it does
- **Brand Extraction**: Scrapes live stylesheets for CSS variables and inline overrides to identify the true brand palette.
- **Component Mapping**: Deconstructs reference designs into functional parts like hero sections, donation bands, and cards.
- **Token Generation**: Defines global roles for colors, typography, and shapes to ensure site-wide consistency.
- **Accessibility Auditing**: Enforces contrast ratios (4.5:1 for small text) and selects high-legibility typefaces.
- **Documentation**: Records the entire palette, type system, and signature design moves into a `DESIGN.md` file for future maintainability.

### How it works
1. **Input Phase**: The agent reads existing theme variables and analyzes any provided reference designs or brand assets.
2. **Logic Mapping**: It replaces placeholder elements from references with real content facts and features.
3. **Tokenization**: A global stylesheet is generated covering color roles, typography scales, and geometric shapes.
4. **Implementation**: The system is applied to every element including buttons, focus rings, and selection states.
5. **Validation**: The final output includes a contrast report and layout verification for mobile and desktop.

### Frameworks & tools
Works with any web stack utilizing CSS variables or theme-based builders. It targets accessibility standards like WCAG for contrast and utilizes self-hosted typography solutions.

### Why this beats prompting it yourself
Generic prompts result in "hallucinated" brand colors and inconsistent component logic. This skill forces a systematic approach that pulls data from your actual codebase, ensures accessibility compliance by default, and maintains a persistent design log.

### Use cases
- Converting a "look and feel" reference site into a functional theme.
- Fixing accessibility debt in existing brand colors.
- Migrating a legacy design to a modern, token-based system.
- Standardizing disparate inner pages to match a newly designed homepage.

### Known limitations
Does not generate logos or raw image assets. Requires access to existing stylesheets or CSS variables for automated brand extraction.

## Requires

Nothing beyond your AI agent.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Brand Colours & Reference Design to Website Tokens skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Which AI agents or development environments are compatible with Visual Direction?

This skill is compatible with any AI agent capable of file reading and code generation that supports web-based environments using CSS variables, Tailwind, or standard design tokens.

### How does this skill differ from simply asking an LLM to 'make my site look better'?

While generic prompts often guess at hex codes, this skill actively extracts variables from your codebase and enforces WCAG contrast standards to ensure a technically sound design system.

### Can this skill generate a new logo or brand identity from scratch?

No, this skill is designed to work with your existing brand assets; it extracts and codifies your current identity rather than generating new logos or creative imagery.

### How does the skill handle accessibility and color contrast requirements?

The skill performs an automated accessibility audit during the validation phase, specifically checking contrast ratios and type legibility to ensure compliance with WCAG standards.

### What do I need to provide to the agent to get started?

Setup is straightforward: simply provide your current stylesheet URL or CSS variable file, and the agent will begin the extraction and tokenization process automatically.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
