Railly/tinte

Compile your design system into an Agent Plugin. Extract an identity from any reference, emit SKILL.md + tokens.css, lint what bypasses your tokens.

What it solves

Tinte solves the problem of ensuring AI coding agents produce UI that is consistent with a specific brand's design system. It prevents agents from guessing styles or bypassing design tokens by providing them with a structured, installable "Agent Plugin" containing the brand's identity, composition rules, and CSS tokens.

How it works

Tinte compiles a design identity configuration into a set of artifacts that an AI agent can consume as an API. It uses a workflow of extraction, compilation, and enforcement:

  1. Extraction: It can extract design identities from live pages or images (via Ray).
  2. Compilation: It converts an identity config into an Agent Plugin consisting of a SKILL.md file (containing type scales, voice, and composition laws) and a tokens.css file (which serves as the style API for the agent).
  3. Enforcement: A linting tool ensures that no colors are used in the code that bypass the defined design tokens.

Additionally, Tinte can compile semantic OKLCH tokens into over 19 different formats, including shadcn/ui presets, VS Code themes, and terminal configurations.

Who it’s for

Developers and designers who want to automate the application of their design systems to AI-generated code and ensure brand consistency across different tools and environments.

Highlights

  • Agent Plugin Compiler: Transforms design systems into a format specifically designed for AI agents to read and follow.
  • Multi-format Export: Supports 19+ formats including VS Code, Zed, Cursor, and shadcn/ui.
  • Design Extraction: Ability to extract styles from live pages or images.
  • Token Linting: A CLI tool to detect when styles bypass the established design tokens.

Related

  • Project
  • Project
  • Project
  • Project
  • Project