Themes.json [ RELIABLE ● ]
The two most common uses for this file are in development and Power BI reporting. 1. WordPress theme.json Guide
A standard theme.json file is placed in your theme's root directory and typically includes these sections: : Specifies the API version (currently 2 or 3). themes.json
{ "version": 3, "settings": { "appearanceTools": true, "color": { "palette": [ { "slug": "primary", "color": "#007cba", "name": "Primary Blue" } ] } }, "styles": { "typography": { "lineHeight": "1.5" } } } Use code with caution. Copied to clipboard The two most common uses for this file
: Check the WordPress Developer Handbook for a full reference. 2. Power BI theme.json Guide Power BI theme
: Enables/disables UI tools and defines presets like your color palette and typography.
: Assigns specific styles (like font size or background color) to elements or blocks. templateParts : Registers parts like headers or footers. Quick Template
Depending on whether you are building a modern website or a data report, a theme.json file serves as the "brain" for your design, controlling everything from colors and fonts to layout spacing.