UNPKG

@vertigis/viewer-spec

Version:

VertiGIS Viewer Specification

36 lines (35 loc) 974 B
import type Color from "@arcgis/core/Color"; import type { ColorJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js"; import type { BrandingColors } from "./BrandingColors.js"; /** * The App Designer template that was used to generate a branding theme, if it * was generated. */ export type BrandingThemeTemplate = "light" | "dark"; /** * A branding theme specifies the look and feel of the viewer. */ export interface BrandingThemeProperties { /** * A unique ID for this theme. */ id: string; /** * The accent color used to generate this theme, if it was automatically * generated. */ accentColor?: Color | ColorJson; /** * The color keys and values. */ colors: BrandingColors; /** * The display title for this theme. */ title: string; /** * The template used to generate this theme, if it was automatically * generated. */ template?: BrandingThemeTemplate; }