modifying-theme-json
Installation
SKILL.md
Power BI report themes
Use this skill for theme design and compliance decisions. Use the pbir-cli skill for command details.
Non-negotiable tooling rule
Use pbir for every report and theme mutation. Never edit theme.json, visual.json, serialized .Theme fragments, or other report JSON directly. Never fall back to jq, shell replacement, or a JSON-editing skill. If pbir lacks the required operation, stop and report the missing capability.
Read JSON only through pbir cat, pbir get, or read-only examples. Prefer structured CLI inspection commands because they explain the formatting cascade and usage.
Why themes matter
A theme centralizes formatting that would otherwise drift across visuals. It should own repeated choices such as:
- Data-series palette and semantic good/neutral/bad colors
- Background, foreground, structural, gradient, hyperlink, and null colors
- Font family, size, weight, and hierarchy
- Wildcard container defaults such as titles, borders, padding, and shadows
- Visual-type defaults for cards, slicers, charts, tables, textboxes, and images