tachyons
tachyons copied to clipboard
Courier font isn't courier?
Simple enough — the Courier font family provides Consolas, not Courier. This is the "courier" example as in the online documentation:
This is real Courier, as set using dev tools in Chrome:
In the documentation (http://tachyons.io/docs/typography/font-family/) both courier
and Consolas, monaco
have the same definition:
class="code lh-copy measure"
I don't know if something is missing for one of these or if one should be removed, because now they look the same:
Yeah, that's my point. Consolas ≠ Courier. The Courier font setting doesn't provide Courier. It gives the same result as the Consolas setting, which does provide Consolas.
It's just an error in the documentation. For Courier the class is courier
, for Consolas it's code
. So in the documentation the class should be class="courier lh-copy measure"