import type { TextEditorTheme } from 'pixi-silk/ui/textedit';
Colours of a TextEditor.
Properties#
| Property | Type | Description | Defined in |
|---|
caret | ColorSource | Caret colour. | ui/textedit.ts:32 |
composition | ColorSource | Underline of text an input method is still composing. | ui/textedit.ts:38 |
placeholderAlpha | number | Opacity of the placeholder text, 0 to 1. | ui/textedit.ts:40 |
selection | ColorSource | Selection highlight while the editor has focus. | ui/textedit.ts:34 |
selectionAlpha | number | Opacity of the highlight, 0 to 1. | ui/textedit.ts:36 |