it should be more like set-margin() instead of get-margin()
I would also recommend to look on how to set default parameters in mixins.

Also it would be great to create a similar function for setting padding since I saw some padding CSS rules in default.scss file