org-media-sass/font-library/_roboto.sass

80 lines
1.8 KiB
Sass
Raw Permalink Normal View History

2024-11-30 23:19:51 +02:00
// File: _roboto.sass
// Base font path
@use '../.config' as config
$font-path: '#{config.$base-path}/roboto/static'
// Add other weights as needed
2024-11-27 02:08:59 +02:00
@font-face
font-family: 'Roboto'
2024-11-30 23:19:51 +02:00
src: url('#{$font-path}/Roboto-Regular.ttf') format('truetype')
2024-11-27 02:08:59 +02:00
font-weight: normal
font-style: normal
@font-face
font-family: 'Roboto'
2024-11-30 23:19:51 +02:00
src: url('#{$font-path}/Roboto-Bold.ttf') format('truetype')
2024-11-27 02:08:59 +02:00
font-weight: bold
font-style: normal
2024-11-30 23:19:51 +02:00
@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