You need to wrap calculated values in [].
[]
py-[3-2]
When using template literal, you also need to wrap it in [] and ${} syntax:
${}
py-[${topMenuBarHalfHeightPx}]