lion/packages/combobox/docs/md-combobox/style/load-roboto.js
Thijs Louisse 01a798e59e feat(combobox): new package combobox
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
2020-09-30 19:33:34 +02:00

6 lines
304 B
JavaScript

// We don't have access to our main index html, so let's add Roboto font like this
const linkNode = document.createElement('link');
linkNode.href = 'https://fonts.googleapis.com/css?family=Roboto:300,400,500';
linkNode.rel = 'stylesheet';
linkNode.type = 'text/css';
document.head.appendChild(linkNode);