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:
parent
480b520263
commit
d20e80ad7a
|
@ -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}';
|
||||
|
|
Loading…
Reference in New Issue