Use operating system font stack for monospace fonts

Using Design Style Guide defined operating system font stack for
monospace fonts, to align to similar sans serif choices.

Bug: T221043
Change-Id: Ic5e2fd4d4803a830c61678aafd8411ac607dd08d
This commit is contained in:
Volker E 2019-04-15 18:05:29 -07:00
parent 3250ac6401
commit 9b117122c4

View file

@ -84,7 +84,15 @@
// typography
@fontFamilyHeading: 'Linux Libertine', 'Georgia', 'Times', serif;
@fontFamilyMonospace: monospace, monospace;
/**
* System font stack for monospace fonts, see T221043.
*
* `Menlo` macOS 10.6+
* `Consolas` Windows Vista & newer
* `Liberation Mono` Fedora, Ubuntu, … OFL licensed
* `Courier New` (Generic) web font fallback
*/
@fontFamilyMonospace: 'Menlo', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
@fontScalingFactor: 1;
@contentLineHeight: 1.65;