Skip to content
pixi-silk
GitHub repository
Interface

ThemeGlow

import type { ThemeGlow } from 'pixi-silk/i18n';

A soft halo around the glyphs.

Properties#

PropertyTypeDescriptionDefined in
colorstringCSS hex colour.packages/pixi-silk/src/i18n/theme.ts:21
strength?numberOpacity at the glyph edge, 0 to 1. Default 0.5.packages/pixi-silk/src/i18n/theme.ts:23
width?numberHow far it reaches, in pixels at scale 1. Default 4.packages/pixi-silk/src/i18n/theme.ts:25