UNPKG

1.46 kBSCSSView Raw
1// Roboto Font
2// Google
3// Apache License, version 2.0
4// http://www.apache.org/licenses/LICENSE-2.0.html
5
6$roboto-font-path: $font-path !default;
7
8@font-face {
9 font-family: "Roboto";
10 font-style: normal;
11 font-weight: 300;
12 src: local("Roboto Light"), local("Roboto-Light"), url("#{$roboto-font-path}/roboto-light.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-light.woff") format("woff"), url("#{$roboto-font-path}/roboto-light.ttf") format("truetype");
13}
14
15@font-face {
16 font-family: "Roboto";
17 font-style: normal;
18 font-weight: 400;
19 src: local("Roboto"), local("Roboto-Regular"), url("#{$roboto-font-path}/roboto-regular.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-regular.woff") format("woff"), url("#{$roboto-font-path}/roboto-regular.ttf") format("truetype");
20}
21
22@font-face {
23 font-family: "Roboto";
24 font-style: normal;
25 font-weight: 500;
26 src: local("Roboto Medium"), local("Roboto-Medium"), url("#{$roboto-font-path}/roboto-medium.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-medium.woff") format("woff"), url("#{$roboto-font-path}/roboto-medium.ttf") format("truetype");
27}
28
29@font-face {
30 font-family: "Roboto";
31 font-style: normal;
32 font-weight: 700;
33 src: local("Roboto Bold"), local("Roboto-Bold"), url("#{$roboto-font-path}/roboto-bold.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-bold.woff") format("woff"), url("#{$roboto-font-path}/roboto-bold.ttf") format("truetype");
34}