docx
    Preparing search index...

    Type Alias ThemeColor

    A color of the document's theme, lighter or darker if you like, as Word's color menus offer them: "Blue, Accent 1, Lighter 40%" is { theme: "accent1", lighter: 40 }. It changes when the theme's colors change.

    type ThemeColor = {
        darker?: number;
        lighter?: number;
        theme: ThemeColorName;
    }
    Index
    darker?: number

    Makes the color darker, from 0 (unchanged) to 100 (black)

    lighter?: number

    Makes the color lighter, from 0 (unchanged) to 100 (white)

    The theme's color, such as "accent1" or "dark2"