Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / TextStyle

Interface: TextStyle โ€‹

Defined in: core/frontend/nodes/tellraw_part.ts:8

Text component style fields. Keys match vanilla's, so codegen spreads them into the JSON.

Properties โ€‹

bold? โ€‹

optional bold?: boolean

Defined in: core/frontend/nodes/tellraw_part.ts:9


color? โ€‹

optional color?: string & object | Color

Defined in: core/frontend/nodes/tellraw_part.ts:15

A named colour or #rrggbb hex.


font? โ€‹

optional font?: string

Defined in: core/frontend/nodes/tellraw_part.ts:16


italic? โ€‹

optional italic?: boolean

Defined in: core/frontend/nodes/tellraw_part.ts:10


obfuscated? โ€‹

optional obfuscated?: boolean

Defined in: core/frontend/nodes/tellraw_part.ts:13


shadow_color? โ€‹

optional shadow_color?: number

Defined in: core/frontend/nodes/tellraw_part.ts:18

Shadow colour as packed ARGB; 0 hides the shadow.


strikethrough? โ€‹

optional strikethrough?: boolean

Defined in: core/frontend/nodes/tellraw_part.ts:12


underlined? โ€‹

optional underlined?: boolean

Defined in: core/frontend/nodes/tellraw_part.ts:11

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.