1
0
Fork 0

Added Inclusive Sans font
Some checks failed
hugo-deploy / deploy (push) Failing after 36s

This commit is contained in:
Mia Rose Winter 2024-06-03 00:24:54 +02:00
parent 34d3a6b277
commit c2a588d464
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
4 changed files with 11 additions and 0 deletions

6
package-lock.json generated
View file

@ -9,6 +9,7 @@
"dependencies": { "dependencies": {
"@astrojs/check": "^0.7.0", "@astrojs/check": "^0.7.0",
"@astrojs/tailwind": "^5.1.0", "@astrojs/tailwind": "^5.1.0",
"@fontsource/inclusive-sans": "^5.0.3",
"astro": "^4.9.2", "astro": "^4.9.2",
"tailwindcss": "^3.4.3", "tailwindcss": "^3.4.3",
"typescript": "^5.4.5" "typescript": "^5.4.5"
@ -906,6 +907,11 @@
"node": ">=12" "node": ">=12"
} }
}, },
"node_modules/@fontsource/inclusive-sans": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/@fontsource/inclusive-sans/-/inclusive-sans-5.0.3.tgz",
"integrity": "sha512-nerw5CdgGNGiZlaHbAY/tZdsfQ1sioZAf9bE/T0D3lc48iEKr3Azu0vcTsauXrQZRyGp35YtckBjfME6Aueo4w=="
},
"node_modules/@img/sharp-darwin-arm64": { "node_modules/@img/sharp-darwin-arm64": {
"version": "0.33.4", "version": "0.33.4",
"resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.4.tgz", "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.4.tgz",

View file

@ -12,6 +12,7 @@
"dependencies": { "dependencies": {
"@astrojs/check": "^0.7.0", "@astrojs/check": "^0.7.0",
"@astrojs/tailwind": "^5.1.0", "@astrojs/tailwind": "^5.1.0",
"@fontsource/inclusive-sans": "^5.0.3",
"astro": "^4.9.2", "astro": "^4.9.2",
"tailwindcss": "^3.4.3", "tailwindcss": "^3.4.3",
"typescript": "^5.4.5" "typescript": "^5.4.5"

View file

@ -1,4 +1,5 @@
--- ---
import "@fontsource/inclusive-sans";
import '../styles/style.css'; import '../styles/style.css';
import ThemeToggle from "../components/ThemeToggle.astro"; import ThemeToggle from "../components/ThemeToggle.astro";
import {Image} from "astro:assets" import {Image} from "astro:assets"

View file

@ -32,6 +32,9 @@ export default {
'5xl': '4.210rem' '5xl': '4.210rem'
}, },
}, },
fontFamily: {
sans: ["Inclusive Sans", ...defaultTheme.fontFamily.sans]
}
}, },
plugins: [], plugins: [],
} }