Closed bishless closed 11 years ago
Sorry... got it fixed by escaping out the values.
font-family: "@{amp-fontface-name}";
src: @amp-fontface-source;
unicode-range: ~"U+0026;"
}
// Ampersand fallback font for unicode range
@font-face {
font-family: "@{amp-fontface-name}";
src: @amp-fontface-fallback;
unicode-range: ~"U+270C;"
}
Error when trying to build... Cannot apply operator + to the left hand side: U on line 119 in file '_typeplate.less': [118]: src: @amp-fontface-source; [119]: unicode-range: U+0026; ------------------^
[Done - Failed] [Finished in 0.5s with exit code -5]
Here's the offending LESS code: (from Typeplate) // $U N I C O D E - R A N G E A m p e r s a n d // --------------------------------------------------------------------------
@font-face { font-family: "@{amp-fontface-name}"; src: @amp-fontface-source; unicode-range: U+0026; }
// Ampersand fallback font for unicode range @font-face { font-family: "@{amp-fontface-name}"; src: @amp-fontface-fallback; unicode-range: U+270C; }