Skip to content
pixi-silk
GitHub repository
Interface

SegmentedTheme

import type { SegmentedTheme } from 'pixi-silk/ui/modes';

Colours of a SegmentedSwitch (any Pixi colour).

Properties#

PropertyTypeDescriptionDefined in
contentstring | numberLabels and icons of unselected segments.ui/modes.ts:258
contentActivestring | numberLabel or icon of the selected segment.ui/modes.ts:260
shadowstring | numberSoft shadow under the thumb.ui/modes.ts:262
thumbstring | numberThe sliding thumb behind the selected segment.ui/modes.ts:256
trackstring | numberPill background.ui/modes.ts:254