Palette

Sets page-level CSS custom properties (accent colours, block gap) for consistent theming across all atoms. Use as the first block in any payload.

Surfaces
webgoogle-apps-script-webgoogle-apps-script-side-panelmcp-apps
Live preview
Fields
FieldType
accenthex colour string. Sets --a2ui-accent CSS var used by all atoms as default accent.required
accent2hex colour string. Secondary accent.optional
block_gapCSS length (default 1.25rem). Vertical gap between atom blocks.required
text_colorhex. Overrides --text CSS var.optional
bg_colorhex. Overrides --bg CSS var.optional
Example payload
{
  "type": "palette"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:palette",
  "displayName": "Palette",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/palette",
  "capabilities": [
    "web",
    "google-apps-script-web",
    "google-apps-script-side-panel",
    "mcp-apps"
  ],
  "description": "Sets page-level CSS custom properties (accent colours, block gap) for consistent theming across all atoms. Use as the first block in any payload.",
  "representativeQueries": [
    "show a page-level accent colour and spacing theme variables",
    "sets page-level css custom properties (accent colours, block gap) for consistent theming across all",
    "render a palette"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →