Themes
You can customize the appearance of your dashboards by defining custom theme YAML files in your Rill project. You can then apply these themes either directly in your dashboard's YAML file, or dynamically when generating an embed iframe. The example below shows how to apply themes dynamically by passing a theme name in the request when generating an iframe.
Select theme
Source: embedding/rill-project/themes
Iframe request
POST https://api.rilldata.com/v1/orgs/demo/projects/rill-embedding/iframe
Authorization: Bearer <RILL_SERVICE_TOKEN>
Content-Type: application/json
{
"type": "explore",
"resource": "auctions_explore",
"theme": "forest"
}Loading...