AboutSupportDeveloper GuideVersion 44.144.100.58

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;
}

Properties

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).