How to transfer styles between computers

Thanks to mms for this one. If you use text styles a lot, you will probably want to transfer them between machines along with your project at some point if you use more than one machine.

mms had this problem recently and was kind enough to e-mail me a solution, which I paste below for anybody else who has the same problem: