Ravindra BagaleCourses & study guides

24. Reports and Dashboards

24.8 Themes (JSON) – Brief

A theme applies colours, fonts and visual defaults to the whole report (Module 23.4 shows the basics).

  • View › Themes › choose a built-in theme, Customize current theme (colours, text, visuals, page, filter pane), Save current theme (exports JSON) or Browse for themes (imports JSON).
  • A JSON theme can also set defaults for visuals, e.g. all card titles in Segoe UI Semibold, 12 pt:
{
  "name": "Quick Commerce Theme",
  "dataColors": ["#F2C811", "#252423", "#118DFF", "#E66C37", "#6B007B", "#744EC2"],
  "textClasses": { "title": { "fontFace": "Segoe UI Semibold", "fontSize": 12, "color": "#252423" } },
  "visualStyles": { "card": { "*": { "labels": [{ "color": { "solid": { "color": "#252423" } } }] } } }
}

Ravindra Bagale's Tip

Theme madhli ek common chuk mhanje editing a JSON theme file by hand and breaking it with one missing comma. Start from an exported theme or a theme generator, change a few values at a time and re-import. Keep a copy of the last working file. Ekdum simple aahe, fakt savay lavun ghya.