Enter your Style Object on the left, hit the button, and see the Custom Properties on the right.
More info:
https://www.bram.us/2021/07/07/automatically-convert-a-javascript-style-object-to-css-custom-properties-with-this-little-helper-tool/