diff --git a/index.css b/index.css index 5efe3d9..5ec93a6 100644 --- a/index.css +++ b/index.css @@ -2,8 +2,7 @@ font-family: "Cal Sans"; font-style: normal; font-display: swap; - font-weight: 600; - src: url("./fonts/webfonts/CalSans-SemiBold.woff2") format("woff2"), - url("./fonts/webfonts/CalSans-SemiBold.woff") format("woff"), - url("./fonts/webfonts/CalSans-SemiBold.ttf") format("truetype"); + font-weight: 400 700; + src: url("./fonts/calsans-var-full/CalSans-VariableFont.woff2") format("woff2"), + url("./fonts/calsans-var-full/CalSans-VariableFont.ttf") format("truetype"); } diff --git a/package.json b/package.json index 4e36e34..f3fc842 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,8 @@ "repository": "https://github.com/calendso/font.git", "bugs": "https://github.com/calendso/font/issues", "files": [ - "fonts/webfonts/*.ttf", - "fonts/webfonts/*.woff2", - "fonts/webfonts/*.woff", + "fonts/calsans-var-full/*.ttf", + "fonts/calsans-var-full/*.woff2", "index.css" ], "main": "index.css",