Skip to content
This repository was archived by the owner on Jul 23, 2026. It is now read-only.
This repository was archived by the owner on Jul 23, 2026. It is now read-only.

Custom color palettes aren't exported #457

Description

@ghanbak

Describe the bug
On the Material Theme Builder website, when I add a custom color, it generates a tonal palette and scheme examples, but when I export it as DART and JSON, neither include the tonal palette.

The JSON file only includes the source color I input.

"extendedColors": [
    {
        "name": "Green",
        "color": "#86AF6B",
        "description": "",
        "harmonized": true
    }
],

The DART package includes the scheme data, but no color palettes (which is expected, since none of the other palettes are included).

To Reproduce
Steps to reproduce the behavior:

  1. Go to Extended Colors
  2. Add a custom color
  3. Open the theme sidebar
  4. Click the Export button
  5. Select Material Theme (JSON)
  6. Open the JSON file
  7. Scroll to the palettes object

Expected behavior
I expect any custom colors to export the color palette and the scheme colors that are generated to be included in the JSON export.

Screenshots
The custom colors showing on the MTB site.
Image
Image
Image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: 146.0.7680.165 (Official Build) (arm64)

Additional context
I'm using the web version to create and export to JSON so I can import the themes into Figma because the plugin is super bad. But I can't get the color palettes I need since the export doesn't include everything that's needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions