Fix font path to (hopefully) work in release builds

#build
This commit is contained in:
Jonatan Heyman 2023-01-15 20:06:57 +01:00
parent f837d547d4
commit 895bd4eccc
2 changed files with 5 additions and 5 deletions

View File

@ -1,2 +1,2 @@
$OpenSansPath: "/font/open-sans/fonts" !default;
$OpenSansPath: "font/open-sans/fonts" !default;
$OpenSansVersion: "1.1.0" !default;

View File

@ -1,25 +1,25 @@
@font-face
font-family: 'Hack'
src: url('/font/hack/hack-regular.woff2') format('woff2'), url('/font/hack/hack-regular.woff') format('woff')
src: url('font/hack/hack-regular.woff2') format('woff2'), url('font/hack/hack-regular.woff') format('woff')
font-weight: 400
font-style: normal
@font-face
font-family: 'Hack'
src: url('/font/hack/hack-bold.woff2') format('woff2'), url('/font/hack/hack-bold.woff') format('woff')
src: url('font/hack/hack-bold.woff2') format('woff2'), url('font/hack/hack-bold.woff') format('woff')
font-weight: 700
font-style: normal
@font-face
font-family: 'Hack'
src: url('/font/hack/hack-italic.woff2') format('woff2'), url('/font/hack/hack-italic.woff') format('woff')
src: url('font/hack/hack-italic.woff2') format('woff2'), url('font/hack/hack-italic.woff') format('woff')
font-weight: 400
font-style: italic
@font-face
font-family: 'Hack'
src: url('/font/hack/hack-bolditalic.woff2') format('woff2'), url('/font/hack/hack-bolditalic.woff') format('woff')
src: url('font/hack/hack-bolditalic.woff2') format('woff2'), url('font/hack/hack-bolditalic.woff') format('woff')
font-weight: 700
font-style: italic