import type { ButtonTheme } from 'pixi-silk/ui/button';
Colours of a SilkButton (any Pixi colour).
Properties#
| Property | Type | Description | Defined in |
|---|
accent | string | number | Hover outline and long-press progress ring. | ui/SilkButton.ts:27 |
content | string | number | Tint of the label and icon. | ui/SilkButton.ts:23 |
contentDisabled | string | number | Tint of the label and icon when disabled. | ui/SilkButton.ts:25 |
fill | string | number | Body colour at rest. | ui/SilkButton.ts:15 |
fillDisabled | string | number | Body colour when state.enabled is false. | ui/SilkButton.ts:21 |
fillHover | string | number | Body colour under a hovering mouse or pen. Touch never hovers. | ui/SilkButton.ts:17 |
fillPress | string | number | Body colour while pressed. | ui/SilkButton.ts:19 |
shadow | string | number | Soft drop shadow under the body. | ui/SilkButton.ts:29 |