From a2b6303f782d8800adbd9e219a6b9f120ce0a4d1 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 15 Sep 2023 10:24:01 -0700 Subject: [PATCH] chore: font updates --- tailwind.config.js | 1 + tailwind.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index 914fad6a..7f83d8a7 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -13,6 +13,7 @@ module.exports = { 14: '3.5rem', }, fontFamily: { + sans: ['Inter', ...defaultTheme.fontFamily.sans], mono: ['ui-monospace', 'SFMono-Regular', ...defaultTheme.fontFamily.mono], }, backgroundImage: { diff --git a/tailwind.css b/tailwind.css index 6ca43746..424a4a8f 100644 --- a/tailwind.css +++ b/tailwind.css @@ -16,6 +16,7 @@ body { } body, html { + @apply font-sans; color: theme(colors.gray.900) } @@ -132,7 +133,7 @@ pre { } code[class*=language-], pre[class*=language-] { - font-family: ui-monospace, SFMono-Regular, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !important; + @apply font-mono; font-weight: 400 !important; }