Open Presentation

Search docs

Loading documentation…
    OpenPresentation/opf
    Browse docs
    On this page
    View source

    Organization Logo

    An organization's logo in up to four shapes. Each shape is a path or Asset, or { onLight, onDark } for the two backgrounds. A missing shape falls back to full, and full to the first defined of wordmark, stacked and icon; within a shape a missing onLight or onDark uses the other. Shapes are placed with slide-scoped references such as 'var:organization.logo.icon'.

    Metadata

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

    Field index

    FieldTypeReq.Description
    fullref:LogoSource—The full logo (lockup): mark and name side by side. Drawn on cover and section slides, and placed by 'var:organization.logo'.
    stackedref:LogoSource—The stacked lockup: mark above the name, for portrait or square slots. Placed by 'var:organization.logo.stacked'.
    iconref:LogoSource—The mark or symbol without the name, for tight spaces such as header and footer zones and picture bullets. Placed by 'var:organization.logo.icon'.
    wordmarkref:LogoSource—The name set in the brand's lettering, without the mark. Placed by 'var:organization.logo.wordmark'.

    full

    typeref:LogoSourcerequirednodefault—

    The full logo (lockup): mark and name side by side. Drawn on cover and section slides, and placed by 'var:organization.logo'.

    stacked

    typeref:LogoSourcerequirednodefault—

    The stacked lockup: mark above the name, for portrait or square slots. Placed by 'var:organization.logo.stacked'.

    icon

    typeref:LogoSourcerequirednodefault—

    The mark or symbol without the name, for tight spaces such as header and footer zones and picture bullets. Placed by 'var:organization.logo.icon'.

    wordmark

    typeref:LogoSourcerequirednodefault—

    The name set in the brand's lettering, without the mark. Placed by 'var:organization.logo.wordmark'.

    Complete definition constraints
    Schema constraints
    {
      "type": "object",
      "description": "An organization's logo in up to four shapes. Each shape is a path or Asset, or { onLight, onDark } for the two backgrounds. A missing shape falls back to full, and full to the first defined of wordmark, stacked and icon; within a shape a missing onLight or onDark uses the other. Shapes are placed with slide-scoped references such as 'var:organization.logo.icon'.",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "full": {
          "$ref": "#/$defs/LogoSource",
          "description": "The full logo (lockup): mark and name side by side. Drawn on cover and section slides, and placed by 'var:organization.logo'."
        },
        "stacked": {
          "$ref": "#/$defs/LogoSource",
          "description": "The stacked lockup: mark above the name, for portrait or square slots. Placed by 'var:organization.logo.stacked'."
        },
        "icon": {
          "$ref": "#/$defs/LogoSource",
          "description": "The mark or symbol without the name, for tight spaces such as header and footer zones and picture bullets. Placed by 'var:organization.logo.icon'."
        },
        "wordmark": {
          "$ref": "#/$defs/LogoSource",
          "description": "The name set in the brand's lettering, without the mark. Placed by 'var:organization.logo.wordmark'."
        }
      },
      "examples": [
        {
          "full": "./assets/acme-logo.svg",
          "icon": "./assets/acme-mark.svg"
        },
        {
          "full": {
            "onLight": "./assets/acme-logo.svg",
            "onDark": "./assets/acme-logo-white.svg"
          }
        }
      ]
    }