79 lines
1.8 KiB
Sass
79 lines
1.8 KiB
Sass
// File: _roboto.sass
|
|
|
|
// Base font path
|
|
@use '../.config' as config
|
|
$font-path: '#{config.$base-path}/roboto/static'
|
|
|
|
// Add other weights as needed
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-Regular.ttf') format('truetype')
|
|
font-weight: normal
|
|
font-style: normal
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-Bold.ttf') format('truetype')
|
|
font-weight: bold
|
|
font-style: normal
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-BoldItalic.ttf') format('truetype')
|
|
font-weight: bold
|
|
font-style: italic
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-Italic.ttf') format('truetype')
|
|
font-weight: normal
|
|
font-style: italic
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-Light.ttf') format('truetype')
|
|
font-weight: 300
|
|
font-style: normal
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-LightItalic.ttf') format('truetype')
|
|
font-weight: 300
|
|
font-style: italic
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-Medium.ttf') format('truetype')
|
|
font-weight: 500
|
|
font-style: normal
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-MediumItalic.ttf') format('truetype')
|
|
font-weight: 500
|
|
font-style: italic
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-Black.ttf') format('truetype')
|
|
font-weight: 900
|
|
font-style: normal
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-BlackItalic.ttf') format('truetype')
|
|
font-weight: 900
|
|
font-style: italic
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-Thin.ttf') format('truetype')
|
|
font-weight: 100
|
|
font-style: normal
|
|
|
|
@font-face
|
|
font-family: 'Roboto'
|
|
src: url('#{$font-path}/Roboto-ThinItalic.ttf') format('truetype')
|
|
font-weight: 100
|
|
font-style: italic
|