Open Presentation

Search docs

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

    Scheme Color Name

    A color of the effective color scheme, by slot or role, resolved as ColorRef resolves the same names (the hyperlink slots are left out). No hex and no variable: what names it follows the deck's colors.

    Metadata

    Definition
    #/$defs/SchemeColorName
    Form
    18 declared values
    Source
    spec/schemas/opf.schema.json

    Field index

    This definition uses the forms or value constraints below.

    Complete definition constraints
    Schema constraints
    {
      "type": "string",
      "enum": [
        "accent1",
        "accent2",
        "accent3",
        "accent4",
        "accent5",
        "accent6",
        "dark1",
        "dark2",
        "light1",
        "light2",
        "primary",
        "secondary",
        "accent",
        "background",
        "surface",
        "surfaceAlt",
        "text",
        "textSecondary"
      ],
      "description": "A color of the effective color scheme, by slot or role, resolved as ColorRef resolves the same names (the hyperlink slots are left out). No hex and no variable: what names it follows the deck's colors."
    }
    value · Allowed values
    "accent1""accent2""accent3""accent4""accent5""accent6""dark1""dark2""light1""light2""primary""secondary""accent""background""surface""surfaceAlt""text""textSecondary"