Themes.json 📥

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.

{ "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 themes.json

: 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

In WordPress, theme.json is the configuration file for block-based themes. It allows you to define global settings and styles that apply to both the front end and the editor. templateParts : Registers parts like headers or footers

The two most common uses for this file are in development and Power BI reporting. 1. WordPress theme.json Guide

In Power BI, a JSON theme file dictates the default appearance of all visuals in a report, such as chart colors and border styles. Use report themes in Power BI - Microsoft Learn

: Check the WordPress Developer Handbook for a full reference. 2. Power BI theme.json Guide