跳到内容

Image to Design Tokens

v1.0.1

BreonWilliams · 2026年1月19日 上架

Extract color palettes from images and generate design tokens for light and dark modes. All processing happens in your browser.

正在使用
10 以下
评分
暂无
累计下载
841
最近更新
2026年7月9日
需要 WordPress 6.0+已测试到 7.0.9PHP 7.4+

贡献者

截图

Main interface showing color extraction and token generation
Main interface showing color extraction and token generation

Image to Design Tokens is a privacy-focused tool for designers and developers who need to extract color palettes from images and generate design system tokens.

Key Features

  • Browser-Only Processing – Images are processed locally in the browser using the Canvas API and are never uploaded to a server.
  • Light and Dark Mode Tokens – Generates design tokens for both light and dark modes with contrast ratio indicators.
  • Color Extraction – Uses the median cut algorithm with a bias toward preserving saturated accent colors.
  • Live Preview – Preview how generated tokens appear in a sample user interface before exporting.
  • Contrast Checking – Displays WCAG contrast ratio calculations to help evaluate accessibility.
  • Export – Copy generated CSS custom properties to the clipboard.
  • Save Palettes – Store up to 5 palettes locally using browser localStorage.

How It Works

  1. Upload or drag-and-drop an image (such as a screenshot, logo, or visual reference)
  2. The tool extracts dominant colors using the median cut algorithm
  3. Design tokens are generated for both light and dark modes
  4. Review contrast ratio indicators and preview the tokens
  5. Copy the generated CSS custom properties

Generated Tokens

  • Background (bg)
  • Surface
  • Border
  • Text
  • Heading
  • Muted Text
  • Primary (accent or brand color)
  • On Primary (text displayed on the primary color)

Additional Information

This plugin can be used alongside other tools. For example, Promptless WP can consume exported design tokens as part of a broader page layout workflow.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums