Set dashboard colours
set_dashboard_themeSet the colour theme of a dashboard: page and surface backgrounds, text colours, brand colours and the chart series palette. All colours are hex values. Pass every field, since the theme is stored as one object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboardId | Yes | Dashboard id. | |
| surfaceColor | Yes | Background of each widget card. | |
| backgroundColor | Yes | Page background. | |
| primaryTextColor | Yes | Main text. | |
| chartSeriesColors | No | Explicit chart series palette. Leave empty to derive one from the brand colours. | |
| primaryBrandColor | Yes | Main accent, used as the first chart series colour. | |
| secondaryTextColor | Yes | Muted and secondary text. | |
| secondaryBrandColor | No | Secondary accent, used for the second chart series. |