Skip to main content

joystickBaseSvg

@zylem/game-lib


@zylem/game-lib / input-ui / joystickBaseSvg

Function: joystickBaseSvg()

joystickBaseSvg(theme?): string

Defined in: packages/game-lib/src/lib/input-ui/svg-assets.ts:17

Stylized joystick base SVG: outer ring, subtle inner ring, and four directional tabs. Designed to scale to any size; consumes only theme color tokens so a single theme argument re-skins the whole control.

Parameters​

theme?​

TouchThemeInput

Returns​

string