docx
    Preparing search index...

    Type Alias IDocumentBackgroundOptions

    Options for creating a document background.

    type IDocumentBackgroundOptions = {
        color?: string | ThemeColor;
        themeColor?: string;
        themeShade?: string;
        themeTint?: string;
    }
    Index
    color?: string | ThemeColor

    Background color: a hex color such as "FF0000", or a color of the document's theme such as { theme: "accent1", lighter: 80 }

    themeColor?: string

    Theme color name (e.g., "accent1", "dark1")

    Give color a theme color instead, such as { theme: "accent1" }

    themeShade?: string

    Theme shade value (darkens the theme color)

    Give color a theme color instead, such as { theme: "accent1", darker: 25 }

    themeTint?: string

    Theme tint value (lightens the theme color)

    Give color a theme color instead, such as { theme: "accent1", lighter: 40 }