Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 4c7783c

Browse files
committed
refactor(index): updated font addition
updated for upcoming font-weights
1 parent 8a427ff commit 4c7783c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/index.js

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ module.exports = (api, opts, rootOpts) => {
116116
const lines = content.split(/\r?\n/g).reverse()
117117

118118
const lastLink = lines.findIndex(line => line.match(/^\s*<link/))
119-
lines[lastLink] += '\n<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" rel="stylesheet">'
119+
lines[lastLink] += '\n\t\t<link href="https://fonts.googleapis.com/css?family=Roboto:100:300,400,500,700,900|Material+Icons" rel="stylesheet">'
120120

121121
content = lines.reverse().join('\n')
122122
fs.writeFileSync(indexPath, content, { encoding: 'utf8' })

0 commit comments

Comments
 (0)