mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-27 03:54:13 +03:00
88c6f9c1b9
The path for fonts were hard-coded into the roboto.less file. I imported the required _variable and _colors files into roboto.less, so that the variable containing the fonts path could be reached. fixes #697
51 lines
2.6 KiB
Plaintext
51 lines
2.6 KiB
Plaintext
@import "_variables.less";
|
|
@import "_colors.less";
|
|
|
|
@font-face {
|
|
font-family: 'RobotoDraft';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
//src: local('RobotoDraft'), local('RobotoDraft-Regular'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/robotodraft/v1/0xES5Sl_v6oyT7dAKuoni4gp9Q8gbYrhqGlRav_IXfk.woff2) format('woff2'), url(https://fonts.gstatic.com/s/robotodraft/v1/0xES5Sl_v6oyT7dAKuoni7rIa-7acMAeDBVuclsi6Gc.woff) format('woff');
|
|
src: local('RobotoDraft'),
|
|
local('RobotoDraft-Regular'),
|
|
local('Roboto-Regular'),
|
|
url('@{material-font-path}/RobotoDraftRegular.woff2') format('woff2'),
|
|
url('@{material-font-path}/RobotoDraftRegular.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'RobotoDraft';
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
//src: local('RobotoDraft Medium'), local('RobotoDraft-Medium'), local('Roboto-Medium'), url(https://fonts.gstatic.com/s/robotodraft/v1/u0_CMoUf3y3-4Ss4ci-VwXJuJo8UJJfpGKt7pXjBv4s.woff2) format('woff2'), url(https://fonts.gstatic.com/s/robotodraft/v1/u0_CMoUf3y3-4Ss4ci-VwaTA90I55Xt7owhZwpPnMsc.woff) format('woff');
|
|
src: local('RobotoDraft Medium'),
|
|
local('RobotoDraft-Medium'),
|
|
local('Roboto-Medium'),
|
|
url('@{material-font-path}/RobotoDraftMedium.woff2') format('woff2'),
|
|
url('@{material-font-path}/RobotoDraftMedium.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'RobotoDraft';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
//src: local('RobotoDraft Bold'), local('RobotoDraft-Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/robotodraft/v1/u0_CMoUf3y3-4Ss4ci-Vwf79_ZuUxCigM2DespTnFaw.woff2) format('woff2'), url(https://fonts.gstatic.com/s/robotodraft/v1/u0_CMoUf3y3-4Ss4ci-VwRbnBKKEOwRKgsHDreGcocg.woff) format('woff');
|
|
src: local('RobotoDraft Bold'),
|
|
local('RobotoDraft-Bold'),
|
|
local('Roboto-Bold'),
|
|
url('@{material-font-path}/RobotoDraftBold.woff2') format('woff2'),
|
|
url('@{material-font-path}/RobotoDraftBold.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'RobotoDraft';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
//src: local('RobotoDraft Italic'), local('RobotoDraft-Italic'), local('Roboto-Italic'), url(https://fonts.gstatic.com/s/robotodraft/v1/er-TIW55l9KWsTS1x9bTfgeOulFbQKHxPa89BaxZzA0.woff2) format('woff2'), url(https://fonts.gstatic.com/s/robotodraft/v1/er-TIW55l9KWsTS1x9bTfoo3ZslTYfJv0R05CazkwN8.woff) format('woff');
|
|
src: local('RobotoDraft Italic'),
|
|
local('RobotoDraft-Italic'),
|
|
local('Roboto-Italic'),
|
|
url('@{material-font-path}/RobotoDraftItalic.woff2') format('woff2'),
|
|
url('@{material-font-path}/RobotoDraftItalic.woff') format('woff');
|
|
}
|