AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface ThemePalette

    Defines a set of color overrides for Chromium UI surfaces based on a theme provider (e.g., light or dark mode).

    interface ThemePalette {
        colorProviderKey: { colorMode: "light" | "dark" };
        colorsMap: ThemeColorsMap;
    }
    Index
    colorProviderKey: { colorMode: "light" | "dark" }

    Identifies the color provider mode that the palette applies to.

    Type Declaration

    • colorMode: "light" | "dark"

      The UI color mode that this palette is intended to style.

    colorsMap: ThemeColorsMap

    A mapping of known Chromium color IDs to ARGB values (0xAARRGGBB).