31 lines
673 B
Sass
31 lines
673 B
Sass
|
|
// File: _hack.sass
|
||
|
|
|
||
|
|
// Base font path
|
||
|
|
@use '../.config' as config
|
||
|
|
$font-path: '#{config.$base-path}hack/static'
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Hack'
|
||
|
|
src: url('#{$font-path}/Hack-Regular.ttf') format('truetype')
|
||
|
|
font-weight: normal
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Hack'
|
||
|
|
src: url('#{$font-path}/Hack-Bold.ttf') format('truetype')
|
||
|
|
font-weight: bold
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Hack'
|
||
|
|
src: url('#{$font-path}/Hack-Italic.ttf') format('truetype')
|
||
|
|
font-weight: normal
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Hack'
|
||
|
|
src: url('#{$font-path}/Hack-BoldItalic.ttf') format('truetype')
|
||
|
|
font-weight: bold
|
||
|
|
font-style: italic
|
||
|
|
|