Sets page-level CSS custom properties (accent colours, block gap) for consistent theming across all atoms. Use as the first block in any payload.
| Field | Type | |
|---|---|---|
| accent | hex colour string. Sets --a2ui-accent CSS var used by all atoms as default accent. | required |
| accent2 | hex colour string. Secondary accent. | optional |
| block_gap | CSS length (default 1.25rem). Vertical gap between atom blocks. | required |
| text_color | hex. Overrides --text CSS var. | optional |
| bg_color | hex. Overrides --bg CSS var. | optional |
{
"type": "palette"
}
{
"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"
]
}
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 →