Download a Map Style
Click the three vertical dots to the right of your style, then select Download Style
from the pop-up menu to save it to your disk.
Save the new map style as myCustom.style
.
Once downloaded, you can now use your style in your code!