From 9650016358d66a93e5078d73984f846fd1ed72b0 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 30 Jun 2021 08:00:00 +0100 Subject: [PATCH] Change mono font and code text size --- assets/css/base.pcss | 4 ++++ tailwind.config.js | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/assets/css/base.pcss b/assets/css/base.pcss index 0ef2aeae..b027a2cd 100644 --- a/assets/css/base.pcss +++ b/assets/css/base.pcss @@ -2,4 +2,8 @@ h2 { @apply font-bold } + + code { + @apply text-base + } } diff --git a/tailwind.config.js b/tailwind.config.js index 314f045c..ac2f193b 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -36,8 +36,11 @@ module.exports = { 'sans-serif', ], mono: [ - 'Operator Mono', - 'Roboto Mono', + 'ui-monospace', + 'SFMono-Regular', + 'SF Mono', + 'Consolas', + 'Liberation Mono', ...fontFamily.mono ] },