The 2D layer · interface

Theme

Named colours, packed as 0xRRGGBBAA, and sizes, flattened when the theme is derived.

Explained in Sprites and tilemaps.

interface Theme
import type { Theme } from '@driftengine/ui2d';

Properties

NameTypeDescription
valuesreadonlyReadonly<Record<string, number>>