theme.json

This is the current theme.json file for the wp-pompey theme.

{
  "version": 1,
  "settings": {
    "color": {
      "custom": true,
      "palette": [
          {
            "name": "Black",
            "slug": "black",
            "color": "#000000"
          },
          {
            "name": "White",
            "slug": "white",
            "color": "#ffffff"
          },
        {
          "name": "Vivid red",
          "slug": "vivid-red",
          "color": "#cf2e2e"
        },
        {
          "name": "Pale cyan blue",
          "slug": "pale-cyan-blue",
          "color": "#8ed1fc"
        },
        {
          "name": "Vivid cyan blue",
          "slug": "vivid-cyan-blue",
          "color": "#0693e3"
        },
        {
          "name": "Foreground",
          "slug": "foreground",
          "color": "#333333"
        },
        {
          "name": "Lighter grey",
          "slug": "lighter-grey",
          "color": "#767676"
        },
        {
          "name": "Light grey background",
          "slug": "light-grey-background",
          "color": "#eeeeee"
        }
        ]
      },
    "layout": {
      "contentSize": "700px",
      "wideSize": "1000px"
    },
    "blocks": {
      "core/paragraph": {
        "color": {
          "custom": true
        }
      }
    }
  }
}

Watch this video for the WordPress Portsmouth Online Meetup’s discussion on theme.json

WordPress 5.8 – theme.json