From 9b117122c4e0610df9e95cb98eb70f9461878300 Mon Sep 17 00:00:00 2001 From: Volker E Date: Mon, 15 Apr 2019 18:05:29 -0700 Subject: [PATCH] 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 --- minerva.less/minerva.variables.less | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/minerva.less/minerva.variables.less b/minerva.less/minerva.variables.less index faa4206..4800a3c 100644 --- a/minerva.less/minerva.variables.less +++ b/minerva.less/minerva.variables.less @@ -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;