postCSS-HexRGBA

What I Wanted to Do

background-color: rgba( $mainBlue, 0.5 ); /* Note space after opening parenthesis.

What Happened Instead

result: background-color: rgba( #2f5572, 0.5 );

Reproduction Steps

By removing the space after the opening parenthesis the result was as expected
background-color: rgba(47,85,114, 0.5 );

Details

Platform Info

$ npm --versions
<!-- { Traveler: '1.0.0',
  npm: '5.3.0',
  ares: '1.15.0',
  cldr: '33.1',
  http_parser: '2.8.0',
  icu: '62.1',
  modules: '64',
  napi: '3',
  nghttp2: '1.34.0',
  node: '10.15.3',
  openssl: '1.1.0j',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.23.2',
  v8: '6.8.275.32-node.51',
  zlib: '1.2.11' }
 -->
$ node -p process.platform
<!-- win32 -->

(You might get an answer here, but because this forum is focused on npm, you might want to ask your question somewhere that targets experts with your package. I have moved your topic to #community:javascript)