You can set options using the set method
var element = document.getElementById('element-to-print');
var opt = {...};
html2pdf().set(opt).from(element).save();
this options object takes a lot of configs. You can set the styles from here. Refer to the docs to see what options you can provide.