fix: font settings

This commit is contained in:
Cory Dransfeldt 2023-07-19 10:46:41 -07:00
parent 38d686a31c
commit 431d2270cd
No known key found for this signature in database
4 changed files with 65 additions and 52 deletions

View file

@ -25,7 +25,6 @@
"@commitlint/cli": "^17.6.6", "@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6", "@commitlint/config-conventional": "^17.6.6",
"@extractus/feed-extractor": "6.2.4", "@extractus/feed-extractor": "6.2.4",
"@fontsource/inter": "^5.0.5",
"@netlify/plugin-lighthouse": "^5.0.0", "@netlify/plugin-lighthouse": "^5.0.0",
"@quasibit/eleventy-plugin-schema": "^1.11.0", "@quasibit/eleventy-plugin-schema": "^1.11.0",
"@sherby/eleventy-plugin-files-minifier": "^1.1.1", "@sherby/eleventy-plugin-files-minifier": "^1.1.1",
@ -64,6 +63,8 @@
"tailwindcss": "^3.3.2" "tailwindcss": "^3.3.2"
}, },
"dependencies": { "dependencies": {
"@fontsource/inter": "^5.0.5",
"@fontsource/jetbrains-mono": "^5.0.5",
"@remy/webmention": "^1.4.5" "@remy/webmention": "^1.4.5"
}, },
"lint-staged": { "lint-staged": {

View file

@ -13,7 +13,8 @@ module.exports = {
14: '3.5rem', 14: '3.5rem',
}, },
fontFamily: { fontFamily: {
sans: ['InterVariable', ...defaultTheme.fontFamily.sans], sans: ['Inter', ...defaultTheme.fontFamily.sans],
mono: ['JetBrains Mono', 'ui-monospace', 'SFMono-Regular', ...defaultTheme.fontFamily.mono],
}, },
backgroundImage: { backgroundImage: {
'cover-gradient': 'cover-gradient':

View file

@ -1,3 +1,5 @@
@import '@fontsource/jetbrains-mono';
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@ -99,6 +101,10 @@ pre {
background: theme(colors.purple.500); background: theme(colors.purple.500);
} }
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;
}
[data-tablericon-name] { [data-tablericon-name] {
stroke-width: 1.4; stroke-width: 1.4;
} }

105
yarn.lock
View file

@ -241,13 +241,13 @@
integrity sha512-V+Y0AwZ5SSyvOVAcDl7Ng30xy+m82OKnEJ+9+kcZZ7lRyXuZrAb2GScdq9XR3v+ggt8qiZ/G4TvaC9cJ88AAXA== integrity sha512-V+Y0AwZ5SSyvOVAcDl7Ng30xy+m82OKnEJ+9+kcZZ7lRyXuZrAb2GScdq9XR3v+ggt8qiZ/G4TvaC9cJ88AAXA==
"@commitlint/cli@^17.6.6": "@commitlint/cli@^17.6.6":
version "17.6.6" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.6.6.tgz#416da9c45901323e5bf931aa1eac5995a3aa251c" resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.6.7.tgz#1d352a6cfdb6b6a6ae49a959e6c13dcef1b63782"
integrity sha512-sTKpr2i/Fjs9OmhU+beBxjPavpnLSqZaO6CzwKVq2Tc4UYVTMFgpKOslDhUBVlfAUBfjVO8ParxC/MXkIOevEA== integrity sha512-nzZmfO5KIOupYppn1MsnYX/80I+KDlxiwkks3CJT0XT+t34UgqGi3eSyEuzgcIjPlORk5/GMaAEiys78iLfGMg==
dependencies: dependencies:
"@commitlint/format" "^17.4.4" "@commitlint/format" "^17.4.4"
"@commitlint/lint" "^17.6.6" "@commitlint/lint" "^17.6.7"
"@commitlint/load" "^17.5.0" "@commitlint/load" "^17.6.7"
"@commitlint/read" "^17.5.1" "@commitlint/read" "^17.5.1"
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
execa "^5.0.0" execa "^5.0.0"
@ -257,24 +257,24 @@
yargs "^17.0.0" yargs "^17.0.0"
"@commitlint/config-conventional@^17.6.6": "@commitlint/config-conventional@^17.6.6":
version "17.6.6" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.6.6.tgz#5452aa601d34503b88530ba38432116bcffdd005" resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.6.7.tgz#8469d977def36148615e9516b1a521e38ca27ddd"
integrity sha512-phqPz3BDhfj49FUYuuZIuDiw+7T6gNAEy7Yew1IBHqSohVUCWOK2FXMSAExzS2/9X+ET93g0Uz83KjiHDOOFag== integrity sha512-4oTpEUC0HRM54QRHBPMOJW1pETp7usxXn9RuNYNWHcmu8wi1mpws95hvS20u2n6HtIkTn0jfn7vHioCm4AGUTw==
dependencies: dependencies:
conventional-changelog-conventionalcommits "^5.0.0" conventional-changelog-conventionalcommits "^5.0.0"
"@commitlint/config-validator@^17.4.4": "@commitlint/config-validator@^17.6.7":
version "17.4.4" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-17.4.4.tgz#d0742705719559a101d2ee49c0c514044af6d64d" resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-17.6.7.tgz#c664d42a1ecf5040a3bb0843845150f55734df41"
integrity sha512-bi0+TstqMiqoBAQDvdEP4AFh0GaKyLFlPPEObgI29utoKEYoPQTvF0EYqIwYYLEoJYhj5GfMIhPHJkTJhagfeg== integrity sha512-vJSncmnzwMvpr3lIcm0I8YVVDJTzyjy7NZAeXbTXy+MPUdAr9pKyyg7Tx/ebOQ9kqzE6O9WT6jg2164br5UdsQ==
dependencies: dependencies:
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
ajv "^8.11.0" ajv "^8.11.0"
"@commitlint/ensure@^17.4.4": "@commitlint/ensure@^17.6.7":
version "17.4.4" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-17.4.4.tgz#a36e7719bdb9c2b86c8b8c2e852b463a7bfda5fa" resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-17.6.7.tgz#77a77a0c05e6a1c34589f59e82e6cb937101fc4b"
integrity sha512-AHsFCNh8hbhJiuZ2qHv/m59W/GRE9UeOXbkOqxYMNNg9pJ7qELnFcwj5oYpa6vzTSHtPGKf3C2yUFNy1GGHq6g== integrity sha512-mfDJOd1/O/eIb/h4qwXzUxkmskXDL9vNPnZ4AKYKiZALz4vHzwMxBSYtyL2mUIDeU9DRSpEUins8SeKtFkYHSw==
dependencies: dependencies:
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
lodash.camelcase "^4.3.0" lodash.camelcase "^4.3.0"
@ -296,32 +296,32 @@
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
chalk "^4.1.0" chalk "^4.1.0"
"@commitlint/is-ignored@^17.6.6": "@commitlint/is-ignored@^17.6.7":
version "17.6.6" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-17.6.6.tgz#b1c869757bdea659aa582669ea0066798ed6a17e" resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-17.6.7.tgz#711897f19180f1121ecf302a3c5496f9a920a59e"
integrity sha512-4Fw875faAKO+2nILC04yW/2Vy/wlV3BOYCSQ4CEFzriPEprc1Td2LILmqmft6PDEK5Sr14dT9tEzeaZj0V56Gg== integrity sha512-vqyNRqtbq72P2JadaoWiuoLtXIs9SaAWDqdtef6G2zsoXqKFc7vqj1f+thzVgosXG3X/5K9jNp+iYijmvOfc/g==
dependencies: dependencies:
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
semver "7.5.2" semver "7.5.2"
"@commitlint/lint@^17.6.6": "@commitlint/lint@^17.6.7":
version "17.6.6" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-17.6.6.tgz#d7ff64b6783f2bda56526195a66e6bb587e1fe1a" resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-17.6.7.tgz#fb49c2722749e3ef83e2b41258fc32531068a13b"
integrity sha512-5bN+dnHcRLkTvwCHYMS7Xpbr+9uNi0Kq5NR3v4+oPNx6pYXt8ACuw9luhM/yMgHYwW0ajIR20wkPAFkZLEMGmg== integrity sha512-TW+AozfuOFMrHn+jdwtz0IWu8REKFp0eryOvoBp2r8IXNc4KihKB1spAiUB6SFyHD6hVVeolz12aHnJ3Mb+xVQ==
dependencies: dependencies:
"@commitlint/is-ignored" "^17.6.6" "@commitlint/is-ignored" "^17.6.7"
"@commitlint/parse" "^17.6.5" "@commitlint/parse" "^17.6.7"
"@commitlint/rules" "^17.6.5" "@commitlint/rules" "^17.6.7"
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
"@commitlint/load@^17.5.0": "@commitlint/load@^17.6.7":
version "17.5.0" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-17.5.0.tgz#be45dbbb50aaf5eb7e8e940e1e0d6171d1426bab" resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-17.6.7.tgz#c63b18ca8942a8fc095ec7a7ff7aa52f3854f6ba"
integrity sha512-l+4W8Sx4CD5rYFsrhHH8HP01/8jEP7kKf33Xlx2Uk2out/UKoKPYMOIRcDH5ppT8UXLMV+x6Wm5osdRKKgaD1Q== integrity sha512-QZ2rJTbX55BQdYrCm/p6+hh/pFBgC9nTJxfsrK6xRPe2thiQzHN0AQDBqBwAirn6gIkHrjIbCbtAE6kiDYLjrw==
dependencies: dependencies:
"@commitlint/config-validator" "^17.4.4" "@commitlint/config-validator" "^17.6.7"
"@commitlint/execute-rule" "^17.4.0" "@commitlint/execute-rule" "^17.4.0"
"@commitlint/resolve-extends" "^17.4.4" "@commitlint/resolve-extends" "^17.6.7"
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
"@types/node" "*" "@types/node" "*"
chalk "^4.1.0" chalk "^4.1.0"
@ -339,10 +339,10 @@
resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-17.4.2.tgz#f4753a79701ad6db6db21f69076e34de6580e22c" resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-17.4.2.tgz#f4753a79701ad6db6db21f69076e34de6580e22c"
integrity sha512-3XMNbzB+3bhKA1hSAWPCQA3lNxR4zaeQAQcHj0Hx5sVdO6ryXtgUBGGv+1ZCLMgAPRixuc6en+iNAzZ4NzAa8Q== integrity sha512-3XMNbzB+3bhKA1hSAWPCQA3lNxR4zaeQAQcHj0Hx5sVdO6ryXtgUBGGv+1ZCLMgAPRixuc6en+iNAzZ4NzAa8Q==
"@commitlint/parse@^17.6.5": "@commitlint/parse@^17.6.7":
version "17.6.5" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-17.6.5.tgz#7b84b328a6a94ca08ab7c98c491d9d3dab68f09d" resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-17.6.7.tgz#b87c61213653d670f956faafe7783aef9ef13020"
integrity sha512-0zle3bcn1Hevw5Jqpz/FzEWNo2KIzUbc1XyGg6WrWEoa6GH3A1pbqNF6MvE6rjuy6OY23c8stWnb4ETRZyN+Yw== integrity sha512-ibO03BgEns+JJpohpBZYD49mCdSNMg6fTv7vA5yqzEFWkBQk5NWhEBw2yG+Z1UClStIRkMkAYyI2HzoQG9tCQQ==
dependencies: dependencies:
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
conventional-changelog-angular "^5.0.11" conventional-changelog-angular "^5.0.11"
@ -359,24 +359,24 @@
git-raw-commits "^2.0.11" git-raw-commits "^2.0.11"
minimist "^1.2.6" minimist "^1.2.6"
"@commitlint/resolve-extends@^17.4.4": "@commitlint/resolve-extends@^17.6.7":
version "17.4.4" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-17.4.4.tgz#8f931467dea8c43b9fe38373e303f7c220de6fdc" resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-17.6.7.tgz#9c53a4601c96ab2dd20b90fb35c988639307735d"
integrity sha512-znXr1S0Rr8adInptHw0JeLgumS11lWbk5xAWFVno+HUFVN45875kUtqjrI6AppmD3JI+4s0uZlqqlkepjJd99A== integrity sha512-PfeoAwLHtbOaC9bGn/FADN156CqkFz6ZKiVDMjuC2N5N0740Ke56rKU7Wxdwya8R8xzLK9vZzHgNbuGhaOVKIg==
dependencies: dependencies:
"@commitlint/config-validator" "^17.4.4" "@commitlint/config-validator" "^17.6.7"
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
import-fresh "^3.0.0" import-fresh "^3.0.0"
lodash.mergewith "^4.6.2" lodash.mergewith "^4.6.2"
resolve-from "^5.0.0" resolve-from "^5.0.0"
resolve-global "^1.0.0" resolve-global "^1.0.0"
"@commitlint/rules@^17.6.5": "@commitlint/rules@^17.6.7":
version "17.6.5" version "17.6.7"
resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-17.6.5.tgz#fabcacdde923e26ac5ef90d4b3f8fc05526bbaa1" resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-17.6.7.tgz#2dbf52e82b5bcb1c74445637c6a9974571ab54b6"
integrity sha512-uTB3zSmnPyW2qQQH+Dbq2rekjlWRtyrjDo4aLFe63uteandgkI+cc0NhhbBAzcXShzVk0qqp8SlkQMu0mgHg/A== integrity sha512-x/SDwDTN3w3Gr5xkhrIORu96rlKCc8ZLYEMXRqi9+MB33st2mKcGvKa5uJuigHlbl3xm75bAAubATrodVrjguQ==
dependencies: dependencies:
"@commitlint/ensure" "^17.4.4" "@commitlint/ensure" "^17.6.7"
"@commitlint/message" "^17.4.2" "@commitlint/message" "^17.4.2"
"@commitlint/to-lines" "^17.4.0" "@commitlint/to-lines" "^17.4.0"
"@commitlint/types" "^17.4.4" "@commitlint/types" "^17.4.4"
@ -455,6 +455,11 @@
resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-5.0.5.tgz#bd3e923660cc4632d09b1882d104b0cb9430dec6" resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-5.0.5.tgz#bd3e923660cc4632d09b1882d104b0cb9430dec6"
integrity sha512-RE1JmWRB6Kxo+1nXUnORSSH5uKgUZ2QEQE+h/nsNt758C+17G9y26E9QiAsIqsG13NpKhwn22EeECfyC+da5ew== 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": "@humanwhocodes/config-array@^0.11.10":
version "0.11.10" version "0.11.10"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2"
@ -1496,9 +1501,9 @@ camelcase@^5.3.1:
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001503: caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001503:
version "1.0.30001516" version "1.0.30001517"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001516.tgz#621b1be7d85a8843ee7d210fd9d87b52e3daab3a" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz#90fabae294215c3495807eb24fc809e11dc2f0a8"
integrity sha512-Wmec9pCBY8CWbmI4HsjBeQLqDTqV91nFVR83DnZpYyRnPI1wePDsTg0bGLPC5VU/3OIZV1fmxEea1b+tFKe86g== integrity sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==
chalk@4.1.2, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0: chalk@4.1.2, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0:
version "4.1.2" version "4.1.2"