Skip to main content

Interface: TypeStyle

Defined in: src/diagram/customization.ts:32

Common style for a type or set of types to display in various parts of the UI.

See​

TypeStyleResolver

Properties​

PropertyModifierTypeDescription

color?

readonly

string

CSS color string.

icon?

readonly

string

Icon image URL.

iconMonochrome?

readonly

boolean

Whether the icon is assumed to be monochrome, so it can be inverted for the dark theme.

Default

false