OPF
SpecDefinition referenceView source

Theme Background

Theme-controlled PowerPoint slide background. The slot is resolved through the active color scheme and remains theme-aware.

Metadata

Definition
#/$defs/ThemeBackground
Form
object
Source
spec/schemas/opf.schema.json

Field index

FieldTypeReq.Description
typeconstyesTheme-controlled background fill.
type · Allowed values
"theme"
slotref:ThemeBackgroundSlotyes
slot · Allowed values
"light1""light2""dark1""dark2"

type

typeconstrequiredyesdefault—

Theme-controlled background fill.

type · Allowed values
"theme"
type.json
{
  "type": "theme"
}

slot

typeref:ThemeBackgroundSlotrequiredyesdefault—

slot · Allowed values
"light1""light2""dark1""dark2"
slot.json
{
  "slot": "light1"
}
Complete definition constraints
Schema constraints
{
  "type": "object",
  "description": "Theme-controlled PowerPoint slide background. The slot is resolved through the active color scheme and remains theme-aware.",
  "required": [
    "type",
    "slot"
  ],
  "properties": {
    "type": {
      "type": "string",
      "const": "theme",
      "description": "Theme-controlled background fill."
    },
    "slot": {
      "$ref": "#/$defs/ThemeBackgroundSlot"
    }
  }
}