Skip to content

Commit

Permalink
fix: partially address slnt in CSS (#106)
Browse files Browse the repository at this point in the history
Co-authored-by: Lotus <DecliningLotus@users.noreply.github.com>
  • Loading branch information
ayuhito and Lotus committed Dec 9, 2020
1 parent 777b404 commit 54c98c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/google/variable.js
Expand Up @@ -99,7 +99,7 @@ module.exports = function (id) {
type,
wdth: `${fontVariable.axes.wdth.min}% ${fontVariable.axes.wdth.max}%`,
weight: `${fontVariable.axes.wght.min} ${fontVariable.axes.wght.max}`,
woff2Path: makeFontFilePath(subset, type, style),
woff2Path: makeFontFilePath(subset, type, origStyle),
unicodeRange: font.unicodeRange[subset],
})
cssStyle.push(cssWght)
Expand Down Expand Up @@ -130,7 +130,7 @@ module.exports = function (id) {
subset,
type,
weight: `${fontVariable.axes.wght.min} ${fontVariable.axes.wght.max}`,
woff2Path: makeFontFilePath(subset, type, style),
woff2Path: makeFontFilePath(subset, type, origStyle),
unicodeRange: font.unicodeRange[subset],
})
cssStyle.push(cssWght)
Expand Down

0 comments on commit 54c98c9

Please sign in to comment.