diff --git a/package.json b/package.json index 8813f644..e7e6f117 100644 --- a/package.json +++ b/package.json @@ -63,8 +63,6 @@ "tailwindcss": "^3.3.2" }, "dependencies": { - "@fontsource/inter": "^5.0.5", - "@fontsource/jetbrains-mono": "^5.0.5", "@remy/webmention": "^1.4.5" }, "lint-staged": { diff --git a/tailwind.config.js b/tailwind.config.js index d7593333..88bc47fd 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -13,8 +13,7 @@ module.exports = { 14: '3.5rem', }, fontFamily: { - sans: ['Inter', ...defaultTheme.fontFamily.sans], - mono: ['JetBrains Mono', 'ui-monospace', 'SFMono-Regular', ...defaultTheme.fontFamily.mono], + mono: ['ui-monospace', 'SFMono-Regular', ...defaultTheme.fontFamily.mono], }, backgroundImage: { 'cover-gradient': diff --git a/tailwind.css b/tailwind.css index 0f79e74b..8c2617fd 100644 --- a/tailwind.css +++ b/tailwind.css @@ -102,7 +102,7 @@ pre { } code[class*=language-], pre[class*=language-] { - font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !important; + font-family: ui-monospace, SFMono-Regular, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !important; font-weight: 400 !important; } diff --git a/yarn.lock b/yarn.lock index 675ebd6a..4af37c9b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -440,16 +440,6 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.44.0.tgz#961a5903c74139390478bdc808bcde3fc45ab7af" integrity sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw== -"@fontsource/inter@^5.0.5": - version "5.0.5" - resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-5.0.5.tgz#bd3e923660cc4632d09b1882d104b0cb9430dec6" - integrity sha512-RE1JmWRB6Kxo+1nXUnORSSH5uKgUZ2QEQE+h/nsNt758C+17G9y26E9QiAsIqsG13NpKhwn22EeECfyC+da5ew== - -"@fontsource/jetbrains-mono@^5.0.5": - version "5.0.5" - resolved "https://registry.yarnpkg.com/@fontsource/jetbrains-mono/-/jetbrains-mono-5.0.5.tgz#415c46ba68b40a2f4200117430c99bc04a0ab460" - integrity sha512-Smuppiu7QzNCatnccTXdUYbxUmEVywklM/hntWKhig0Q+hm7SYzQpNpxCR1Gm8npE8jpaKslhIsBPGuTBGZgdA== - "@humanwhocodes/config-array@^0.11.10": version "0.11.10" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2"