Ezeespace / Atelier

Set up color swatches

View as Markdown
ChatGPT Claude (web) Claude Desktop Perplexity Cursor VS Code
Report an issue

Spotted a typo, broken link, or something out of date? Let the docs team know.

What's wrong? Your email (optional)

We may reply if you provide an email.

Install in Windsurf

Windsurf connects to this knowledge base via MCP. Add the snippet below to your config file.

Config file path

~/.codeium/windsurf/mcp_config.json
{
    "mcpServers": {
        "atelier-docs": {
            "url": "https://ezeespace.kbkit.com/atelier/_mcp"
        }
    }
}

Restart Windsurf after saving the config file.

Install in Zed

Zed connects to this knowledge base via MCP. Add the snippet below to your config file.

Config file path

~/.config/zed/settings.json
{
    "context_servers": {
        "atelier-docs": {
            "url": "https://ezeespace.kbkit.com/atelier/_mcp"
        }
    }
}

Restart Zed after saving the config file.

Install in Claude Desktop

Claude Desktop connects to this knowledge base via MCP. Add the snippet below to your config file.

Config file path

  • ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
  • %APPDATA%\Claude\claude_desktop_config.json (Windows)
  • ~/.config/Claude/claude_desktop_config.json (Linux)
{
    "mcpServers": {
        "atelier-docs": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://ezeespace.kbkit.com/atelier/_mcp"
            ]
        }
    }
}

Restart Claude Desktop after saving the config file.

Published 19 minutes ago

Atelier shows color swatches — small circles filled with the actual color or a pattern image — instead of plain text buttons. They appear on the product page, on product cards and in collection filters. Atelier doesn't need any swatch settings of its own: it uses the colors you set up in Shopify admin with Shopify's standard Color metafield.

How it works

Each color, such as "Olive" or "Navy stripe", is saved once in Shopify as a Color entry with a color value (a hex code) and, optionally, an image for patterns. You link a product's Color option to these entries. Every product that uses "Olive" then shows the same swatch, and you only have to set it up once.

Step 1: Give the product a category

The Color metafield comes from Shopify's product categories, so the product needs one.

  1. In Shopify admin, go to Products and open a product.
  2. In Category, choose the product's category, for example Apparel & Accessories > Clothing > Shirts & Tops.
  3. Save. A Category metafields area appears, including Color.

Step 2: Link the Color option to the metafield

For a new option:

  1. In the Variants card, click Add options like size or color.
  2. Start typing "Color" in Option name and choose the Color suggestion marked as linked to the category metafield.
  3. In Option values, choose existing colors from the list, or type a new name to create a new color entry.
  4. Click Done and save.

For a product that already has a Color option:

  1. In the Variants card, click the Color option to edit it.
  2. Choose to connect it to the Color metafield (Shopify shows a link option next to the option name).
  3. Match each of your existing values to a color entry, creating new entries where needed, and save.

Variants card in Shopify admin where the Color option shows Ivory and Sand with color dots and a linked-metafield icon

Category metafields card for a shirt, where Color lists the Ivory and Sand swatches

Step 3: Set each color's swatch

  1. In Shopify admin, go to Content > Metaobjects and open Color (Shopify's color pattern definition).
  2. Open a color entry, for example "Olive".
  3. Set the Color value (pick it or enter a hex code such as #4A5233). For prints and textures, add an Image — the image is used instead of the flat color.
  4. Save.

You can also edit an entry straight from the product's option values.

Where swatches appear

Place How to turn it on
Product page Variant picker block > Show swatches for options that have them (on by default).
Product cards Show color swatches in the Collection, Featured collection and Product recommendations sections. Clicking a swatch on a card shows that color's image. Theme settings > Product cards > Swatch style chooses between the swatch color and a small product image.
Collection filters In the Search & Discovery app, add a filter based on the Color category metafield. See Show color filters as swatches.

If an option has no swatch data, Atelier shows it as buttons (or a dropdown, depending on the Variant picker's Style).

Tips

  • Assign an image to each color variant in the product's media. With Show only the selected color’s media on in the product section, choosing a swatch shows that color's photos.
  • Keep color names consistent across products ("Olive", not "olive green" on one and "Olive" on another), so you reuse one swatch and your filters stay tidy.
  • Choose swatch colors that match the real product under neutral light. Shoppers notice when a swatch is a different shade from the photo.

Related

Built using KBKit