Skip to content
pixi-silk
GitHub repository
Interface

HaloTheme

import type { HaloTheme } from 'pixi-silk/ui/halo';

Colours of a ContextHalo (any Pixi colour).

Properties#

PropertyTypeDescriptionDefined in
accentstring | numberHover ring and the flash on selection.ui/halo.ts:37
fillstring | numberButton fill.ui/halo.ts:27
fillDisabledstring | numberFill of disabled buttons.ui/halo.ts:31
fillHoverstring | numberButton fill under the pointer.ui/halo.ts:29
iconstring | numberIcon tint.ui/halo.ts:33
iconHoverstring | numberIcon tint under the pointer.ui/halo.ts:35
shadowstring | numberDrop shadow under each button, drawn at 30% alpha.ui/halo.ts:39