Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

fonts.ts

7 lines293 Bytes

1export const loadFonts = () => {
2 const link = document.createElement('link')
3 link.href =
4 'https://fonts.googleapis.com/css2?family=Fira+Code&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Roboto&display=swap'
5 link.rel = 'stylesheet'
6 document.head.appendChild(link)
7}