Fixes wrong path for Roboto in the filesystem

Fonts are available under fonts/roboto/Roboto-*, whereas
SCSS references to them always as Roboto. Filesystem is
case-sensitive, therefore this patch makes SCSS use the
correct path to the file by lowercasing the variable used.

Change-Id: Ic90e608938f80199c54a8d8ba0d40345d3a1f731
Closes-bug: #1671004
This commit is contained in:
Mateusz Kowalski 2017-03-08 10:26:35 +01:00
parent 480b520263
commit d20e80ad7a
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ $roboto-font-path: '../../../fonts' !default;
@mixin roboto-font($variant, $type, $weight, $style) {
$font-full-path: '#{$roboto-font-path}/#{$variant}/#{$variant}';
$font-full-path: '#{$roboto-font-path}/#{to-lower-case($variant)}/#{$variant}';
@font-face {
font-family: '#{$variant}';