[Launched] ๐ŸŽจ As-code color palettes: Manage color palettes through AML for better reusability

Hi there :wave:

Weโ€™re thrilled to introduce our new Color Palette as-code โ€” bringing color palette management directly into your AML workspace. Define palettes once in code and reference them anywhere, with full version control and workspace-level defaults.


:star2: Whatโ€™s New:

  • :memo: Code-First palette definition: Create color palettes directly in AML files alongside your data models โ€” no more jumping to Admin Settings.
  • :arrows_counterclockwise: Workspace defaults: Set a default color palette at the workspace level, ensuring all newly created dashboards automatically use your brand colors.
  • :dart: Multi-Level referencing: Reference palettes at any level โ€” project-wide, per theme, or per individual chart. Lower levels always override higher ones for precise control.
  • :link: True reusability: Changes to a palette automatically propagate everywhere itโ€™s referenced. Update once, apply everywhere.

[Launched] Color palettes is now as code! :art:

Hey everyone! :wave:
Starting today, you can define your entire color palette as code using AML! Manage your dataโ€™s look and feel directly from your development workflow, ensuring perfect consistency across your workspace.

:gear: How it works

  • Define color palettes in palette.aml: Create palettes in AML and reference them, so that every change will automatically propagate to all referencing elements.
  • Set a workspace-level default: Mark a palette in settings.aml so charts automatically use it by default, unless overridden at the theme or visualization level.

:warning: Legacy palettes

You can view, use, and delete them, but they can no longer be edited. To replace a legacy palette, weโ€™ve provided a way to generate the as-code palette from the legacy by:

  • Go to Development > Settings > Default color palette
  • Click Generate color palette as-code

:books: Documentation

Give it a try and drop a comment if you have questions!

1 Like

Hi everyone - following up on this thread! Weโ€™ve just shipped a related improvement: you can now assign a color palette directly at the theme level, so every chart on a dashboard automatically picks it up without needing per-chart overrides.

Check out the full announcement here: Theme-level color palette: Consistent chart color in dashboard :art: