From ef5aaadf9855bf3f9657311b226739f911132263 Mon Sep 17 00:00:00 2001 From: Andre Rabello Date: Tue, 27 Apr 2021 10:39:28 +0100 Subject: [PATCH] feat(core): improve font monospace list --- packages/core/src/helpers/font/font.scss | 2 +- packages/core/src/helpers/font/font.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/helpers/font/font.scss b/packages/core/src/helpers/font/font.scss index 1d1033a86..7d9be6ceb 100644 --- a/packages/core/src/helpers/font/font.scss +++ b/packages/core/src/helpers/font/font.scss @@ -81,7 +81,7 @@ $_types: ( text-transform: uppercase, ), 'mono': ( - font-family: string.unquote('"Roboto Mono", monospace'), + font-family: string.unquote('"Roboto Mono", Consolas, Menlo, monospace'), ), ); diff --git a/packages/core/src/helpers/font/font.ts b/packages/core/src/helpers/font/font.ts index ebe9296b8..ad4c19e26 100644 --- a/packages/core/src/helpers/font/font.ts +++ b/packages/core/src/helpers/font/font.ts @@ -71,5 +71,5 @@ const types = { regular: { fontWeight: 400 }, light: { fontWeight: 300 }, allcaps: { textTransform: 'uppercase' }, - mono: { fontFamily: '"Roboto Mono", monospace' }, + mono: { fontFamily: '"Roboto Mono", Consolas, Menlo, monospace' }, };